commit:     ee692072efa9dc09e3c48702124437c49e614d5f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 18 14:40:59 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Dec 18 14:40:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee692072

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 <AT> gentoo.org>

 dev-ada/gnatcoll-bindings/gnatcoll-bindings-2021.ebuild      | 6 +++---
 dev-ada/gnatcoll-bindings/gnatcoll-bindings-22.0.0-r1.ebuild | 4 ++--
 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() {

Reply via email to