Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysrt/
Date: Sun, 02 Aug 2020 19:05:40
Message-Id: 1596394737.cfbde63a68d4ba89cfaa23d3a8cf4d6edb69f0eb.sam@gentoo
1 commit: cfbde63a68d4ba89cfaa23d3a8cf4d6edb69f0eb
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 2 18:58:57 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 2 18:58:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfbde63a
7
8 dev-python/pysrt: add Python 3.9
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-python/pysrt/pysrt-1.1.2.ebuild | 14 ++------------
14 dev-python/pysrt/pysrt-9999.ebuild | 14 ++------------
15 2 files changed, 4 insertions(+), 24 deletions(-)
16
17 diff --git a/dev-python/pysrt/pysrt-1.1.2.ebuild b/dev-python/pysrt/pysrt-1.1.2.ebuild
18 index e72f359339d..4dc902e8279 100644
19 --- a/dev-python/pysrt/pysrt-1.1.2.ebuild
20 +++ b/dev-python/pysrt/pysrt-1.1.2.ebuild
21 @@ -3,7 +3,7 @@
22
23 EAPI=7
24
25 -PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
26 +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
27 DISTUTILS_USE_SETUPTOOLS=rdepend
28
29 inherit distutils-r1
30 @@ -20,17 +20,7 @@ fi
31
32 LICENSE="GPL-3+"
33 SLOT="0"
34 -IUSE="test"
35 -RESTRICT="!test? ( test )"
36
37 RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
38 -DEPEND="
39 - test? (
40 - ${RDEPEND}
41 - dev-python/nose[${PYTHON_USEDEP}]
42 - )
43 -"
44
45 -python_test() {
46 - nosetests -v || die "Tests failed under ${EPYTHON}"
47 -}
48 +distutils_enable_tests nose
49
50 diff --git a/dev-python/pysrt/pysrt-9999.ebuild b/dev-python/pysrt/pysrt-9999.ebuild
51 index 98e0450016c..c6b6da91f0d 100644
52 --- a/dev-python/pysrt/pysrt-9999.ebuild
53 +++ b/dev-python/pysrt/pysrt-9999.ebuild
54 @@ -3,7 +3,7 @@
55
56 EAPI=7
57
58 -PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
59 +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
60 DISTUTILS_USE_SETUPTOOLS=rdepend
61
62 inherit distutils-r1
63 @@ -20,17 +20,7 @@ fi
64
65 LICENSE="GPL-3+"
66 SLOT="0"
67 -IUSE="test"
68 -RESTRICT="!test? ( test )"
69
70 RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
71 -DEPEND="
72 - test? (
73 - ${RDEPEND}
74 - dev-python/nose[${PYTHON_USEDEP}]
75 - )
76 -"
77
78 -python_test() {
79 - nosetests -v || die "Tests failed under ${EPYTHON}"
80 -}
81 +distutils_enable_tests nose