commit:     920dd267b3c58f0a0abf2af8d66622372287d090
Author:     Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Mon May 31 09:42:02 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 31 12:09:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=920dd267

dev-python/zope-component: bump to python 3.10

tested manually, by installing additional packages using pip

Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zope-component/zope-component-4.4.1.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/dev-python/zope-component/zope-component-4.4.1.ebuild 
b/dev-python/zope-component/zope-component-4.4.1.ebuild
index fd1ac77de36..c13ead1de3b 100644
--- a/dev-python/zope-component/zope-component-4.4.1.ebuild
+++ b/dev-python/zope-component/zope-component-4.4.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=(python3_{7..9})
+PYTHON_COMPAT=(python3_{7..10})
 
 inherit distutils-r1
 MY_PN=zope.component
@@ -14,25 +14,20 @@ DESCRIPTION="Zope Component Architecture"
 HOMEPAGE="https://github.com/zopefoundation/zope.component
        https://docs.zope.org/zope.component/";
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="ZPL"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-IUSE="test"
 
 RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]
        dev-python/zope-event[${PYTHON_USEDEP}]
        >=dev-python/zope-interface-4.1.0[${PYTHON_USEDEP}]"
-DEPEND="test? ( ${RDEPEND}
-       dev-python/nose[${PYTHON_USEDEP}] )"
-
-S=${WORKDIR}/${MY_P}
 
+# Uses multiple new dependencies, which isn't worth it
 RESTRICT="test"
 
-python_test() {
-       nosetests || die
-}
+distutils_enable_tests nose
 
 python_install_all() {
        distutils-r1_python_install_all

Reply via email to