commit:     82980b1ec7fe79bb2dd2f900fad2a42a3ee41106
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 04:56:55 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 22:04:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82980b1e

dev-python/python-stdnum: add Python 3.9 (+ modernise)

* Add Python 3.9
* Use distutils_enable_tests
* Cleanup dependencies (and in doing so fix typo)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/python-stdnum/python-stdnum-1.13.ebuild | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/dev-python/python-stdnum/python-stdnum-1.13.ebuild 
b/dev-python/python-stdnum/python-stdnum-1.13.ebuild
index 0d8700d7775..6d65e2186d2 100644
--- a/dev-python/python-stdnum/python-stdnum-1.13.ebuild
+++ b/dev-python/python-stdnum/python-stdnum-1.13.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{6..8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 
@@ -13,16 +13,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="vies test"
-RESTRICT="!test? ( test )"
+IUSE="vies"
 
 RDEPEND="vies? ( || ( dev-python/zeep dev-python/suds ) )"
-DEPEND="${DEPEND}
-       dev-python/setuptools
-       test? ( dev-python/nose )"
 
 DOCS=( ChangeLog NEWS README )
 
-python_test() {
-       nosetests -v || die
-}
+distutils_enable_tests nose

Reply via email to