commit: 570dc28e6e5bbdc4d2e562e61eb070a2581fae96
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 3 21:25:54 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 23:21:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570dc28e
sys-libs/libblockdev: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sys-libs/libblockdev/libblockdev-2.23-r1.ebuild | 13 ++-----------
sys-libs/libblockdev/libblockdev-2.24.ebuild | 13 ++-----------
sys-libs/libblockdev/libblockdev-9999.ebuild | 13 ++-----------
3 files changed, 6 insertions(+), 33 deletions(-)
diff --git a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
index 105df4812ba..6007c32f473 100644
--- a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
@@ -98,18 +98,9 @@ src_configure() {
$(use_with lvm lvm-dbus)
$(use_with tools)
$(use_with vdo)
+ --without-python2
+ --with-python3
)
- if python_is_python3 ; then
- myeconfargs+=(
- --without-python2
- --with-python3
- )
- else
- myeconfargs+=(
- --with-python2
- --without-python3
- )
- fi
econf "${myeconfargs[@]}"
}
diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index c252b7d2104..2d41db82758 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -96,18 +96,9 @@ src_configure() {
$(use_with lvm lvm-dbus)
$(use_with tools)
$(use_with vdo)
+ --without-python2
+ --with-python3
)
- if python_is_python3 ; then
- myeconfargs+=(
- --without-python2
- --with-python3
- )
- else
- myeconfargs+=(
- --with-python2
- --without-python3
- )
- fi
econf "${myeconfargs[@]}"
}
diff --git a/sys-libs/libblockdev/libblockdev-9999.ebuild
b/sys-libs/libblockdev/libblockdev-9999.ebuild
index 1ea252a8b26..214de07c57c 100644
--- a/sys-libs/libblockdev/libblockdev-9999.ebuild
+++ b/sys-libs/libblockdev/libblockdev-9999.ebuild
@@ -96,18 +96,9 @@ src_configure() {
$(use_with lvm lvm-dbus)
$(use_with tools)
$(use_with vdo)
+ --without-python2
+ --with-python3
)
- if python_is_python3 ; then
- myeconfargs+=(
- --without-python2
- --with-python3
- )
- else
- myeconfargs+=(
- --with-python2
- --without-python3
- )
- fi
econf "${myeconfargs[@]}"
}