summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-18 15:40:59 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-18 15:40:59 +0100
commitee692072efa9dc09e3c48702124437c49e614d5f (patch)
tree74873a936e71b0c2fb125020d2821a73de21d79f /dev-ada/gnatcoll-bindings
parentmedia-libs/harfbuzz: Bump to version 3.2.0 (diff)
downloadgentoo-ee692072efa9dc09e3c48702124437c49e614d5f.tar.gz
gentoo-ee692072efa9dc09e3c48702124437c49e614d5f.tar.bz2
gentoo-ee692072efa9dc09e3c48702124437c49e614d5f.zip
dev-ada/gnatcoll-bindings: fix with USE=-python
Closes: https://bugs.gentoo.org/735730 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gnatcoll-bindings')
-rw-r--r--dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild6
-rw-r--r--dev-ada/gnatcoll-bindings/gnatcoll-bindings-22.0.0-r1.ebuild4
2 files changed, 5 insertions, 5 deletions
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild
index c424fd2ad070..481ab5972fed 100644
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild
@@ -20,20 +20,20 @@ SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="gmp iconv python readline +shared static-libs static-pic syslog"
-RDEPEND="python? ( ${PYTHON_DEPS} )
+RDEPEND="${PYTHON_DEPS}
${ADA_DEPS}
dev-ada/gnatcoll-core[${ADA_USEDEP},shared?,static-libs?,static-pic?]
gmp? ( dev-libs/gmp:* )"
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
${ADA_REQUIRED_USE}"
S="${WORKDIR}"/${MYP}
pkg_setup() {
- use python && python-single-r1_pkg_setup
+ python-single-r1_pkg_setup
ada_pkg_setup
}
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-22.0.0-r1.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-22.0.0-r1.ebuild
index a1e806038082..030d5768aea7 100644
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-22.0.0-r1.ebuild
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-22.0.0-r1.ebuild
@@ -17,7 +17,7 @@ SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="gmp iconv lzma openmp python readline +shared static-libs static-pic syslog"
-RDEPEND="python? ( ${PYTHON_DEPS} )
+RDEPEND="${PYTHON_DEPS}
${ADA_DEPS}
dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared?,static-libs?,static-pic?]
gmp? ( dev-libs/gmp:* )
@@ -27,7 +27,7 @@ RDEPEND="python? ( ${PYTHON_DEPS} )
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
${ADA_REQUIRED_USE}"
pkg_setup() {