1 |
commit: 97973bebc1ca33be91e233bd055343ea82190d89 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 3 11:48:41 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 3 14:41:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97973beb |
7 |
|
8 |
dev-python/mpmath: enable py3.10 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/mpmath/mpmath-1.2.1.ebuild | 10 ++++------ |
13 |
1 file changed, 4 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/mpmath/mpmath-1.2.1.ebuild b/dev-python/mpmath/mpmath-1.2.1.ebuild |
16 |
index 7960b10143a..38db5821fca 100644 |
17 |
--- a/dev-python/mpmath/mpmath-1.2.1.ebuild |
18 |
+++ b/dev-python/mpmath/mpmath-1.2.1.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
+PYTHON_COMPAT=( python3_{8..10} ) |
25 |
|
26 |
inherit distutils-r1 virtualx |
27 |
|
28 |
@@ -14,8 +14,7 @@ SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${P} |
29 |
LICENSE="BSD" |
30 |
SLOT="0" |
31 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
32 |
-IUSE="gmp matplotlib test" |
33 |
-RESTRICT="!test? ( test )" |
34 |
+IUSE="gmp matplotlib" |
35 |
|
36 |
RDEPEND=" |
37 |
gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] ) |
38 |
@@ -27,6 +26,7 @@ distutils_enable_tests pytest |
39 |
|
40 |
src_configure() { |
41 |
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
42 |
+ distutils-r1_src_configure |
43 |
} |
44 |
|
45 |
src_test() { |
46 |
@@ -34,7 +34,5 @@ src_test() { |
47 |
} |
48 |
|
49 |
python_test() { |
50 |
- pushd ${PN}/tests >/dev/null |
51 |
- ${EPYTHON} runtests.py -local || die "Tests failed with ${EPYTHON}" |
52 |
- popd >/dev/null |
53 |
+ "${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}" |
54 |
} |