1 |
commit: fc4b41806845522db7ca547d902359f5e8232f24 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 19 20:48:46 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 19 20:49:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc4b4180 |
7 |
|
8 |
dev-python/bottleneck: Enable py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/bottleneck/bottleneck-1.3.2.ebuild | 14 ++++++-------- |
13 |
1 file changed, 6 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/bottleneck/bottleneck-1.3.2.ebuild b/dev-python/bottleneck/bottleneck-1.3.2.ebuild |
16 |
index b45dcc831d4..ed1fd761efa 100644 |
17 |
--- a/dev-python/bottleneck/bottleneck-1.3.2.ebuild |
18 |
+++ b/dev-python/bottleneck/bottleneck-1.3.2.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
-PYTHON_COMPAT=( python3_{7..9} ) |
26 |
+PYTHON_COMPAT=( python3_{8..10} ) |
27 |
|
28 |
inherit distutils-r1 |
29 |
|
30 |
@@ -13,17 +13,15 @@ SRC_URI="https://github.com/kwgoodman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
31 |
SLOT="0" |
32 |
LICENSE="BSD" |
33 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
34 |
-IUSE="test" |
35 |
-RESTRICT="!test? ( test )" |
36 |
|
37 |
RDEPEND=" |
38 |
>=dev-python/numpy-1.9.1[${PYTHON_USEDEP}] |
39 |
dev-python/scipy[${PYTHON_USEDEP}] |
40 |
" |
41 |
-DEPEND="${RDEPEND} |
42 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
- test? ( dev-python/nose )" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+ |
46 |
+distutils_enable_tests pytest |
47 |
|
48 |
python_test() { |
49 |
- ${EPYTHON} ./tools/test-installed-bottleneck.py |
50 |
+ "${EPYTHON}" ./tools/test-installed-bottleneck.py -vv -m full || die |
51 |
} |