diff options
| author | Sam James <sam@gentoo.org> | 2020-08-02 04:56:55 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2020-08-02 22:04:32 +0000 |
| commit | 82980b1ec7fe79bb2dd2f900fad2a42a3ee41106 (patch) | |
| tree | 5b6c2fa7a683014b0229cc85e278cdd8032afd74 /dev-python/python-stdnum/python-stdnum-1.13.ebuild | |
| parent | 5031fe5614e722dceb6bddca19a542a5200a13d3 (diff) | |
| download | gentoo-82980b1ec7fe79bb2dd2f900fad2a42a3ee41106.tar.gz gentoo-82980b1ec7fe79bb2dd2f900fad2a42a3ee41106.tar.bz2 gentoo-82980b1ec7fe79bb2dd2f900fad2a42a3ee41106.zip | |
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>
Diffstat (limited to 'dev-python/python-stdnum/python-stdnum-1.13.ebuild')
| -rw-r--r-- | dev-python/python-stdnum/python-stdnum-1.13.ebuild | 12 |
1 files 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 0d8700d77754..6d65e2186d23 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 |
