From c1ed105b1eeb213edbbd7405bfa13a0d89e48711 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 3 Aug 2020 23:23:49 +0200 Subject: [PATCH] dev-python/bsddb3: Drop superfluous calls to python_is_python3 Signed-off-by: Andreas Sturmlechner --- dev-python/bsddb3/bsddb3-6.2.7.ebuild | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dev-python/bsddb3/bsddb3-6.2.7.ebuild b/dev-python/bsddb3/bsddb3-6.2.7.ebuild index b925dd3cd69de..47c88f81dcd2c 100644 --- a/dev-python/bsddb3/bsddb3-6.2.7.ebuild +++ b/dev-python/bsddb3/bsddb3-6.2.7.ebuild @@ -63,17 +63,6 @@ python_configure_all() { export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1 } -python_compile() { - if ! python_is_python3; then - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - fi - distutils-r1_python_compile -} - python_test() { - if python_is_python3; then - PYTHONPATH=Lib3 "${EPYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}" - else - PYTHONPATH=Lib "${EPYTHON}" test.py -v || die "Testing failed with ${EPYTHON}" - fi + PYTHONPATH=Lib3 "${EPYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}" }