mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user