diff options
Diffstat (limited to 'dev-python/zope-schema/zope-schema-6.1.0.ebuild')
-rw-r--r-- | dev-python/zope-schema/zope-schema-6.1.0.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-python/zope-schema/zope-schema-6.1.0.ebuild b/dev-python/zope-schema/zope-schema-6.1.0.ebuild index f137c80de517..26909a7d20b4 100644 --- a/dev-python/zope-schema/zope-schema-6.1.0.ebuild +++ b/dev-python/zope-schema/zope-schema-6.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 @@ -13,7 +13,7 @@ MY_P=${MY_PN}-${PV} DESCRIPTION="Zope schema Architecture" HOMEPAGE="https://github.com/zopefoundation/zope.schema http://docs.zope.org/zope.schema/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" LICENSE="ZPL" @@ -27,10 +27,13 @@ BDEPEND=" test? ( dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] dev-python/zope-testing[${PYTHON_USEDEP}] - dev-python/zope-testrunner[${PYTHON_USEDEP}] )" -distutils_enable_tests setup.py +distutils_enable_tests unittest + +python_test() { + eunittest src +} python_install_all() { distutils-r1_python_install_all |