Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bsddb3/
Date: Fri, 14 Aug 2020 23:22:25
Message-Id: 1597447287.c1ed105b1eeb213edbbd7405bfa13a0d89e48711.asturm@gentoo
1 commit: c1ed105b1eeb213edbbd7405bfa13a0d89e48711
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 21:23:49 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 14 23:21:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ed105b
7
8 dev-python/bsddb3: Drop superfluous calls to python_is_python3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-python/bsddb3/bsddb3-6.2.7.ebuild | 13 +------------
13 1 file changed, 1 insertion(+), 12 deletions(-)
14
15 diff --git a/dev-python/bsddb3/bsddb3-6.2.7.ebuild b/dev-python/bsddb3/bsddb3-6.2.7.ebuild
16 index b925dd3cd69..47c88f81dcd 100644
17 --- a/dev-python/bsddb3/bsddb3-6.2.7.ebuild
18 +++ b/dev-python/bsddb3/bsddb3-6.2.7.ebuild
19 @@ -63,17 +63,6 @@ python_configure_all() {
20 export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
21 }
22
23 -python_compile() {
24 - if ! python_is_python3; then
25 - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
26 - fi
27 - distutils-r1_python_compile
28 -}
29 -
30 python_test() {
31 - if python_is_python3; then
32 - PYTHONPATH=Lib3 "${EPYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}"
33 - else
34 - PYTHONPATH=Lib "${EPYTHON}" test.py -v || die "Testing failed with ${EPYTHON}"
35 - fi
36 + PYTHONPATH=Lib3 "${EPYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}"
37 }