mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/zope-component: Bump to 5.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST zope.component-4.4.1.tar.gz 84745 BLAKE2B 3b8a58bdaf1de1bc57e9642bf76100bd8aa0bbccfc8d6682e7f78363f08f13ac98c7ff37d4892c3558e26537294dd184b75810afaf95c6f8d6a529c9938ea8dc SHA512 dc9f6a725cc49ac94a164d11786ef977e94e1c9a7c88de4aaeb0f62621cfe00284007ae44937ec92ae6cffc5b16ab4af1548db2237b0ba4b818e2c8f6355ecbd
|
||||
DIST zope.component-5.0.1.tar.gz 91130 BLAKE2B 4dbd78b003ba3688c0468573f4552c87333fd5fb7e0cd89d4844633f28c19443b3ea884438ff7f7ba8b056790f008c246c1e7ad52403d7b72b146d0d53edd8ad SHA512 fad011816fe5bb869bb2e43e11a66841a6be2abf9002e41207ef1dfe69b1afb5ca486d275daeddf71d2a0e79e1a9c839c4735190dddcd118b675a976bde07a64
|
||||
|
||||
56
dev-python/zope-component/zope-component-5.0.1.ebuild
Normal file
56
dev-python/zope-component/zope-component-5.0.1.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=zope.component
|
||||
MY_P=${MY_PN}-${PV}
|
||||
DESCRIPTION="Zope Component Architecture"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/zope.component/
|
||||
https://github.com/zopefoundation/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"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
>=dev-python/zope-hookable-4.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/zope-interface-5.3.0[${PYTHON_USEDEP}]
|
||||
!dev-python/namespace-zope
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/zope-configuration[${PYTHON_USEDEP}]
|
||||
dev-python/zope-i18nmessageid[${PYTHON_USEDEP}]
|
||||
dev-python/zope-testing[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# strip rdep specific to namespaces
|
||||
sed -i -e "/'setuptools'/d" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
find "${BUILD_DIR}" -name '*.pth' -delete || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
distutils_write_namespace zope
|
||||
eunittest
|
||||
}
|
||||
Reference in New Issue
Block a user