1 |
commit: 7da97dd42c206c58e699c10d31d8abe82f6d16dc |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Tue May 18 08:52:11 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 13:02:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da97dd4 |
7 |
|
8 |
dev-python/jellyfish: Port to python3.10 |
9 |
|
10 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/jellyfish/jellyfish-0.8.2.ebuild | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/jellyfish/jellyfish-0.8.2.ebuild b/dev-python/jellyfish/jellyfish-0.8.2.ebuild |
17 |
index a7c44116c5b..39fa8d842c5 100644 |
18 |
--- a/dev-python/jellyfish/jellyfish-0.8.2.ebuild |
19 |
+++ b/dev-python/jellyfish/jellyfish-0.8.2.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
25 |
+PYTHON_COMPAT=( python3_{7..10} ) |
26 |
inherit distutils-r1 |
27 |
|
28 |
DESCRIPTION="Python module for doing approximate and phonetic matching of strings" |
29 |
@@ -14,7 +14,7 @@ LICENSE="BSD-2" |
30 |
SLOT="0" |
31 |
KEYWORDS="amd64 x86" |
32 |
|
33 |
-DEPEND=" |
34 |
+BDEPEND=" |
35 |
test? ( |
36 |
dev-python/unicodecsv[${PYTHON_USEDEP}] |
37 |
) |
38 |
@@ -26,5 +26,5 @@ distutils_enable_tests pytest |
39 |
python_test() { |
40 |
cp -r testdata "${BUILD_DIR}" || die |
41 |
cd "${BUILD_DIR}" || die |
42 |
- pytest -vv lib/jellyfish/test.py || die "tests failed with ${EPYTHON}" |
43 |
+ epytest lib/jellyfish/test.py |
44 |
} |