diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-03 23:22:12 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-15 01:21:23 +0200 |
commit | 4a030ae86aa7b4ce7415b1cd81218f449e5418fc (patch) | |
tree | d4525b9c69d41b73f8c1599c0063cef9bc2a3c24 /dev-libs | |
parent | dev-perl/DBI: Stabilize 1.643.0 x86, #732636 (diff) | |
download | gentoo-4a030ae86aa7b4ce7415b1cd81218f449e5418fc.tar.gz gentoo-4a030ae86aa7b4ce7415b1cd81218f449e5418fc.tar.bz2 gentoo-4a030ae86aa7b4ce7415b1cd81218f449e5418fc.zip |
dev-libs/libprelude: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libprelude/libprelude-4.0.0.ebuild | 9 | ||||
-rw-r--r-- | dev-libs/libprelude/libprelude-4.1.0.ebuild | 9 | ||||
-rw-r--r-- | dev-libs/libprelude/libprelude-5.1.1.ebuild | 9 |
3 files changed, 9 insertions, 18 deletions
diff --git a/dev-libs/libprelude/libprelude-4.0.0.ebuild b/dev-libs/libprelude/libprelude-4.0.0.ebuild index fd2139e4e0fe..f8d9794f1d45 100644 --- a/dev-libs/libprelude/libprelude-4.0.0.ebuild +++ b/dev-libs/libprelude/libprelude-4.0.0.ebuild @@ -54,6 +54,7 @@ src_configure() { local myconf=( --enable-easy-bindings --with-swig + --without-python2 $(use_with lua) $(use_with perl) $(usex perl '--with-perl-installdirs=vendor' '') @@ -62,13 +63,9 @@ src_configure() { if use python; then python_setup - if python_is_python3; then - myconf+=(--without-python2 --with-python3="${EPYTHON}") - else - myconf+=(--without-python3 --with-python2="${EPYTHON}") - fi + myconf+=( --with-python3="${EPYTHON}" ) else - myconf+=(--without-python2 --without-python3) + myconf+=( --without-python3 ) fi econf "${myconf[@]}" diff --git a/dev-libs/libprelude/libprelude-4.1.0.ebuild b/dev-libs/libprelude/libprelude-4.1.0.ebuild index 4bc3cf9bdb99..4c32375c5be5 100644 --- a/dev-libs/libprelude/libprelude-4.1.0.ebuild +++ b/dev-libs/libprelude/libprelude-4.1.0.ebuild @@ -54,6 +54,7 @@ src_configure() { local myconf=( --enable-easy-bindings --with-swig + --without-python2 $(use_with lua) $(use_with perl) $(usex perl '--with-perl-installdirs=vendor' '') @@ -62,13 +63,9 @@ src_configure() { if use python; then python_setup - if python_is_python3; then - myconf+=(--without-python2 --with-python3="${EPYTHON}") - else - myconf+=(--without-python3 --with-python2="${EPYTHON}") - fi + myconf+=( --with-python3="${EPYTHON}" ) else - myconf+=(--without-python2 --without-python3) + myconf+=( --without-python3 ) fi econf "${myconf[@]}" diff --git a/dev-libs/libprelude/libprelude-5.1.1.ebuild b/dev-libs/libprelude/libprelude-5.1.1.ebuild index 72e4580f9527..dbcd337b3b76 100644 --- a/dev-libs/libprelude/libprelude-5.1.1.ebuild +++ b/dev-libs/libprelude/libprelude-5.1.1.ebuild @@ -63,6 +63,7 @@ src_configure() { local myconf=( --enable-easy-bindings --with-swig + --without-python2 $(use_with lua) $(use_with perl) $(usex perl '--with-perl-installdirs=vendor' '') @@ -71,13 +72,9 @@ src_configure() { if use python; then python_setup - if python_is_python3; then - myconf+=(--without-python2 --with-python3="${EPYTHON}") - else - myconf+=(--without-python3 --with-python2="${EPYTHON}") - fi + myconf+=( --with-python3="${EPYTHON}" ) else - myconf+=(--without-python2 --without-python3) + myconf+=( --without-python3 ) fi econf "${myconf[@]}" |