1 |
commit: 9a7eb10d34d46677417174a00d7f879d986817f3 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 4 23:44:50 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 4 23:46:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7eb10d |
7 |
|
8 |
net-p2p/torrentinfo: add Python 3.9 support |
9 |
|
10 |
Package-Manager: Portage-3.0.3, Repoman-2.3.23 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild | 8 ++++---- |
14 |
1 file changed, 4 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild |
17 |
index 56e97bef6ea..7c4fc84190c 100644 |
18 |
--- a/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild |
19 |
+++ b/net-p2p/torrentinfo/torrentinfo-1.8.6-r2.ebuild |
20 |
@@ -2,7 +2,7 @@ |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
EAPI=7 |
24 |
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
25 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) |
26 |
# The package uses distutils |
27 |
DISTUTILS_USE_SETUPTOOLS=no |
28 |
|
29 |
@@ -18,12 +18,12 @@ KEYWORDS="amd64 x86" |
30 |
IUSE="test" |
31 |
RESTRICT="!test? ( test )" |
32 |
|
33 |
-BDEPEND=" |
34 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
35 |
-" |
36 |
+BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
37 |
|
38 |
PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" ) |
39 |
|
40 |
+# distutils_enable_tests nose doesn't work here, |
41 |
+# probably because the test file has a non-standard name |
42 |
python_test() { |
43 |
nosetests test/tests.py || die "tests failed with ${EPYTHON}" |
44 |
} |