mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-libs/libpreludedb: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -52,6 +52,7 @@ src_configure() {
|
||||
local myconf=(
|
||||
--enable-easy-bindings
|
||||
--with-swig
|
||||
--without-python2
|
||||
$(use_with mysql)
|
||||
$(use_with postgres postgresql)
|
||||
$(use_with sqlite sqlite3)
|
||||
@@ -59,13 +60,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[@]}"
|
||||
|
||||
@@ -52,6 +52,7 @@ src_configure() {
|
||||
local myconf=(
|
||||
--enable-easy-bindings
|
||||
--with-swig
|
||||
--without-python2
|
||||
$(use_with mysql)
|
||||
$(use_with postgres postgresql)
|
||||
$(use_with sqlite sqlite3)
|
||||
@@ -59,13 +60,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[@]}"
|
||||
|
||||
@@ -58,6 +58,7 @@ src_configure() {
|
||||
local myconf=(
|
||||
--enable-easy-bindings
|
||||
--with-swig
|
||||
--without-python2
|
||||
$(use_with mysql)
|
||||
$(use_with postgres postgresql)
|
||||
$(use_with sqlite sqlite3)
|
||||
@@ -65,13 +66,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[@]}"
|
||||
|
||||
Reference in New Issue
Block a user