1 |
commit: 920dd267b3c58f0a0abf2af8d66622372287d090 |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 31 09:42:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 12:09:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=920dd267 |
7 |
|
8 |
dev-python/zope-component: bump to python 3.10 |
9 |
|
10 |
tested manually, by installing additional packages using pip |
11 |
|
12 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
dev-python/zope-component/zope-component-4.4.1.ebuild | 15 +++++---------- |
16 |
1 file changed, 5 insertions(+), 10 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/zope-component/zope-component-4.4.1.ebuild b/dev-python/zope-component/zope-component-4.4.1.ebuild |
19 |
index fd1ac77de36..c13ead1de3b 100644 |
20 |
--- a/dev-python/zope-component/zope-component-4.4.1.ebuild |
21 |
+++ b/dev-python/zope-component/zope-component-4.4.1.ebuild |
22 |
@@ -1,10 +1,10 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
30 |
-PYTHON_COMPAT=(python3_{7..9}) |
31 |
+PYTHON_COMPAT=(python3_{7..10}) |
32 |
|
33 |
inherit distutils-r1 |
34 |
MY_PN=zope.component |
35 |
@@ -14,25 +14,20 @@ DESCRIPTION="Zope Component Architecture" |
36 |
HOMEPAGE="https://github.com/zopefoundation/zope.component |
37 |
https://docs.zope.org/zope.component/" |
38 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
39 |
+S=${WORKDIR}/${MY_P} |
40 |
|
41 |
LICENSE="ZPL" |
42 |
SLOT="0" |
43 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" |
44 |
-IUSE="test" |
45 |
|
46 |
RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] |
47 |
dev-python/zope-event[${PYTHON_USEDEP}] |
48 |
>=dev-python/zope-interface-4.1.0[${PYTHON_USEDEP}]" |
49 |
-DEPEND="test? ( ${RDEPEND} |
50 |
- dev-python/nose[${PYTHON_USEDEP}] )" |
51 |
- |
52 |
-S=${WORKDIR}/${MY_P} |
53 |
|
54 |
+# Uses multiple new dependencies, which isn't worth it |
55 |
RESTRICT="test" |
56 |
|
57 |
-python_test() { |
58 |
- nosetests || die |
59 |
-} |
60 |
+distutils_enable_tests nose |
61 |
|
62 |
python_install_all() { |
63 |
distutils-r1_python_install_all |