summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-05-23 21:01:11 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-05-23 21:01:43 +0200
commitb7627f7d9b794b1c42345616f8288d130e0e9727 (patch)
tree396d1142d68cf5cd1eee49c82c48fcf39a6bcecc /dev-ada/gpr/gpr-23.0.0-r4.ebuild
parentRevert "games-puzzle/ltris: Fix a warning" (diff)
downloadgentoo-b7627f7d9b794b1c42345616f8288d130e0e9727.tar.gz
gentoo-b7627f7d9b794b1c42345616f8288d130e0e9727.tar.bz2
gentoo-b7627f7d9b794b1c42345616f8288d130e0e9727.zip
dev-ada/gpr: call python pkg_setup
Closes: https://bugs.gentoo.org/906971 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gpr/gpr-23.0.0-r4.ebuild')
-rw-r--r--dev-ada/gpr/gpr-23.0.0-r4.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ada/gpr/gpr-23.0.0-r4.ebuild b/dev-ada/gpr/gpr-23.0.0-r4.ebuild
index a12a8c9c3b0f..c56678a27149 100644
--- a/dev-ada/gpr/gpr-23.0.0-r4.ebuild
+++ b/dev-ada/gpr/gpr-23.0.0-r4.ebuild
@@ -41,6 +41,11 @@ python_check_deps() {
python_has_version "dev-ada/langkit[${PYTHON_USEDEP}]"
}
+pkg_setup() {
+ ada_pkg_setup
+ python-any-r1_pkg_setup
+}
+
src_configure() {
emake ENABLE_SHARED=$(usex shared) setup
}
@@ -56,7 +61,7 @@ src_compile() {
gprbuild -p -v -P src/kb/collect_kb.gpr -XKB_BUILD_DIR=.build/kb \
--relocate-build-tree -largs ${LDFLAGS} -cargs ${ADAFLAGS} || die
.build/kb/collect_kb -o .build/kb/config.kb /usr/share/gprconfig || die
- emake -C langkit setup DEST="${S}/.build/lkparser"
+ emake -C langkit setup DEST="${S}/.build/lkparser" PYTHONEXE=${PYTHON}
if use shared; then
build relocatable
fi