diff options
author | 2021-09-22 16:18:05 +0300 | |
---|---|---|
committer | 2021-09-22 16:26:06 +0300 | |
commit | 93791129b5587c350407cfca23413d376545c75e (patch) | |
tree | b8da7fd78d17f80fc7f17852a2df96762fd2ee35 /dev-python/zope-schema | |
parent | sys-kernel/gentoo-sources: Linux version bumps and genpatches (diff) | |
download | gentoo-93791129b5587c350407cfca23413d376545c75e.tar.gz gentoo-93791129b5587c350407cfca23413d376545c75e.tar.bz2 gentoo-93791129b5587c350407cfca23413d376545c75e.zip |
dev-python/zope-schema: enable py3.10, fix tests discovery
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/zope-schema')
-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 |