1 |
commit: 82980b1ec7fe79bb2dd2f900fad2a42a3ee41106 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 2 04:56:55 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 2 22:04:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82980b1e |
7 |
|
8 |
dev-python/python-stdnum: add Python 3.9 (+ modernise) |
9 |
|
10 |
* Add Python 3.9 |
11 |
* Use distutils_enable_tests |
12 |
* Cleanup dependencies (and in doing so fix typo) |
13 |
|
14 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
dev-python/python-stdnum/python-stdnum-1.13.ebuild | 12 +++--------- |
18 |
1 file changed, 3 insertions(+), 9 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/python-stdnum/python-stdnum-1.13.ebuild b/dev-python/python-stdnum/python-stdnum-1.13.ebuild |
21 |
index 0d8700d7775..6d65e2186d2 100644 |
22 |
--- a/dev-python/python-stdnum/python-stdnum-1.13.ebuild |
23 |
+++ b/dev-python/python-stdnum/python-stdnum-1.13.ebuild |
24 |
@@ -2,7 +2,7 @@ |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
-PYTHON_COMPAT=( python3_{6..8} ) |
29 |
+PYTHON_COMPAT=( python3_{6..9} ) |
30 |
|
31 |
inherit distutils-r1 |
32 |
|
33 |
@@ -13,16 +13,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
LICENSE="LGPL-2.1" |
35 |
SLOT="0" |
36 |
KEYWORDS="amd64 x86" |
37 |
-IUSE="vies test" |
38 |
-RESTRICT="!test? ( test )" |
39 |
+IUSE="vies" |
40 |
|
41 |
RDEPEND="vies? ( || ( dev-python/zeep dev-python/suds ) )" |
42 |
-DEPEND="${DEPEND} |
43 |
- dev-python/setuptools |
44 |
- test? ( dev-python/nose )" |
45 |
|
46 |
DOCS=( ChangeLog NEWS README ) |
47 |
|
48 |
-python_test() { |
49 |
- nosetests -v || die |
50 |
-} |
51 |
+distutils_enable_tests nose |