dev-python/jdcal: Port to py3.9

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-06-10 12:48:36 +02:00
parent 89e0f7e66e
commit 89bb0fb0fc
+2 -9
View File
@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7} pypy3 )
PYTHON_COMPAT=( python3_{6..9} pypy3 )
inherit distutils-r1
@@ -14,12 +14,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
python_test() {
pytest -vv || die
}
distutils_enable_tests pytest