summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZamarin Arthur <arthurzam@gmail.com>2021-05-31 12:42:02 +0300
committerMichał Górny <mgorny@gentoo.org>2021-05-31 14:09:09 +0200
commit920dd267b3c58f0a0abf2af8d66622372287d090 (patch)
treecfc2674207333f2286f79fdbdeeaf27b205afa3c /dev-python/zope-component
parentdev-python/manuel: bump to python 3.10 (diff)
downloadgentoo-920dd267b3c58f0a0abf2af8d66622372287d090.tar.gz
gentoo-920dd267b3c58f0a0abf2af8d66622372287d090.tar.bz2
gentoo-920dd267b3c58f0a0abf2af8d66622372287d090.zip
dev-python/zope-component: bump to python 3.10
tested manually, by installing additional packages using pip Signed-off-by: Zamarin Arthur <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-component')
-rw-r--r--dev-python/zope-component/zope-component-4.4.1.ebuild15
1 files 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 fd1ac77de368..c13ead1de3b6 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