diff options
Diffstat (limited to 'dev-python/colour/colour-0.1.5.ebuild')
-rw-r--r-- | dev-python/colour/colour-0.1.5.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/colour/colour-0.1.5.ebuild b/dev-python/colour/colour-0.1.5.ebuild index d2b88e2f4779..058cf76a929b 100644 --- a/dev-python/colour/colour-0.1.5.ebuild +++ b/dev-python/colour/colour-0.1.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -17,8 +17,14 @@ SLOT="0" PATCHES=( "${FILESDIR}"/${PN}-setup.patch ) +distutils_enable_tests pytest + src_prepare() { rm setup.cfg || die distutils-r1_src_prepare } + +python_test() { + epytest --doctest-modules +} |