1 |
commit: 93791129b5587c350407cfca23413d376545c75e |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 22 13:18:05 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 22 13:26:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93791129 |
7 |
|
8 |
dev-python/zope-schema: enable py3.10, fix tests discovery |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/zope-schema/zope-schema-6.1.0.ebuild | 11 +++++++---- |
13 |
1 file changed, 7 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/zope-schema/zope-schema-6.1.0.ebuild b/dev-python/zope-schema/zope-schema-6.1.0.ebuild |
16 |
index f137c80de51..26909a7d20b 100644 |
17 |
--- a/dev-python/zope-schema/zope-schema-6.1.0.ebuild |
18 |
+++ b/dev-python/zope-schema/zope-schema-6.1.0.ebuild |
19 |
@@ -4,7 +4,7 @@ |
20 |
EAPI=7 |
21 |
|
22 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
23 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
24 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -13,7 +13,7 @@ MY_P=${MY_PN}-${PV} |
29 |
|
30 |
DESCRIPTION="Zope schema Architecture" |
31 |
HOMEPAGE="https://github.com/zopefoundation/zope.schema http://docs.zope.org/zope.schema/" |
32 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
34 |
S="${WORKDIR}/${MY_P}" |
35 |
|
36 |
LICENSE="ZPL" |
37 |
@@ -27,10 +27,13 @@ BDEPEND=" |
38 |
test? ( |
39 |
dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] |
40 |
dev-python/zope-testing[${PYTHON_USEDEP}] |
41 |
- dev-python/zope-testrunner[${PYTHON_USEDEP}] |
42 |
)" |
43 |
|
44 |
-distutils_enable_tests setup.py |
45 |
+distutils_enable_tests unittest |
46 |
+ |
47 |
+python_test() { |
48 |
+ eunittest src |
49 |
+} |
50 |
|
51 |
python_install_all() { |
52 |
distutils-r1_python_install_all |