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@gentoo.org>
This commit is contained in:
Sam James
2020-08-02 04:56:55 +00:00
parent 5031fe5614
commit 82980b1ec7

View File

@@ -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