1 |
commit: 7dfc49da5138eeaa151452e56e456df5ac5819a0 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 21 12:19:00 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 21 12:19:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dfc49da |
7 |
|
8 |
dev-python/bsddb3: Add python3_7 to PYTHON_COMPAT |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-python/bsddb3/bsddb3-6.2.4.ebuild | 11 +++++------ |
14 |
1 file changed, 5 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/bsddb3/bsddb3-6.2.4.ebuild b/dev-python/bsddb3/bsddb3-6.2.4.ebuild |
17 |
index decd0a31417..484748d7ecd 100644 |
18 |
--- a/dev-python/bsddb3/bsddb3-6.2.4.ebuild |
19 |
+++ b/dev-python/bsddb3/bsddb3-6.2.4.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=6 |
23 |
|
24 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
25 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
26 |
PYTHON_REQ_USE="threads(+)" |
27 |
|
28 |
inherit db-use distutils-r1 |
29 |
@@ -25,8 +25,7 @@ RDEPEND=" |
30 |
sys-libs/db:5.1 |
31 |
sys-libs/db:4.8 |
32 |
sys-libs/db:4.7 |
33 |
- ) |
34 |
-" |
35 |
+ )" |
36 |
DEPEND="${RDEPEND} |
37 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
38 |
|
39 |
@@ -52,7 +51,7 @@ python_prepare_all() { |
40 |
distutils-r1_python_prepare_all |
41 |
} |
42 |
|
43 |
-src_configure() { |
44 |
+python_configure_all() { |
45 |
# These are needed for both build and install. |
46 |
export BERKELEYDB_DIR="${EPREFIX}/usr" |
47 |
export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})" |
48 |
@@ -69,8 +68,8 @@ python_compile() { |
49 |
|
50 |
python_test() { |
51 |
if python_is_python3; then |
52 |
- PYTHONPATH=Lib3 "${PYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}" |
53 |
+ PYTHONPATH=Lib3 "${EPYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}" |
54 |
else |
55 |
- PYTHONPATH=Lib "${PYTHON}" test.py -v || die "Testing failed with ${EPYTHON}" |
56 |
+ PYTHONPATH=Lib "${EPYTHON}" test.py -v || die "Testing failed with ${EPYTHON}" |
57 |
fi |
58 |
} |