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