From d79ab35b7ac170babebe8bc151fe5d037c16285c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 22 Sep 2022 17:28:08 +0100 Subject: gentoo auto-resync : 22:09:2022 - 17:28:08 --- dev-python/zope-hookable/Manifest | 2 + dev-python/zope-hookable/zope-hookable-5.2.ebuild | 47 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-python/zope-hookable/zope-hookable-5.2.ebuild (limited to 'dev-python/zope-hookable') diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest index 758f33710a96..923e7bffb929 100644 --- a/dev-python/zope-hookable/Manifest +++ b/dev-python/zope-hookable/Manifest @@ -1,3 +1,5 @@ DIST zope.hookable-5.1.0.tar.gz 21922 BLAKE2B c8bb0c6fb20718127fc2b3d7a2654035a14f87a52b41331ec3d564fe7dd175a977911e1a5847e544e30eeeb473b1fdb5d75ece7ece4b5a4212fec8f6d85a3d44 SHA512 af63fd7c83bbaf2c6c1faaefc7081a9a739b835fb5f1fe48f8f6b66a82596d52d0559df8de1beceb129578ee2ed9711ee05a9aa2dd0eec98dca6db40b45a4665 +DIST zope.hookable-5.2.tar.gz 24004 BLAKE2B f1b64a906a849442437a3829d509210280066b41bc97fbedcd02b462fa9c7761910a7a71ed00430679f7c3ec9648c8a9ab5e88d4e8143018e44194d56611353a SHA512 b04107acedcc245fa99a59de71ffeaabe270ec15eaac32df1f5433ca16ea568d60c272349c8c8d7e512dfadef4fc8fcebf63a62ee9c8607fc02505a4457e1ed3 EBUILD zope-hookable-5.1.0.ebuild 973 BLAKE2B d1325d1ae489dd9c7c9f757eab994cf01a2bfcde734b841b5cb771d7970eb5086fd3144786ecd8db19a667ce54700acbccd4859369bbd279b08d8287eda2ec1b SHA512 13b12baf36909a19225011ffbea033a4de5fa4176649c41dfcbb57acd9dc38dc7083538e40bbe11def7051c3bd3b983c3287834029d46aea5d7a72c8d60e28dd +EBUILD zope-hookable-5.2.ebuild 975 BLAKE2B 119ef30a9236a0d152758292a750417189c2406dffae280fe362720f5393b4af257c3acbff32be10411bee484d89d4efb0aad807deaf6cb2005420dc0f6844f4 SHA512 c3a43235ec302474b74c1da154b2ec06357c941aa17ea9b712e8a8f98abc27e3f8f3ec783193a19a274b9d584fea7a94e46e2fd2d9d10328abf35e423a89b6b8 MISC metadata.xml 363 BLAKE2B 292afad5ddaa2ae9ea128a842934b751d16d84aebd617a9e5f6c2165245137f11089670fc78791ce46ccb260c5acbf0527030889d709725f6f89532f3972c0c2 SHA512 40afd7e868b05d352bc5f268d056f3550e924e22b07b1f0e41afd25429017cb28fd5b6caf565df04bfcecf5cc1c183d12a122a906affd813542ef32cbbc230a3 diff --git a/dev-python/zope-hookable/zope-hookable-5.2.ebuild b/dev-python/zope-hookable/zope-hookable-5.2.ebuild new file mode 100644 index 000000000000..04174bc95162 --- /dev/null +++ b/dev-python/zope-hookable/zope-hookable-5.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Efficient creation of 'hookable' objects" +HOMEPAGE=" + https://pypi.org/project/zope.hookable/ + https://github.com/zopefoundation/zope.hookable/ +" +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 ~riscv ~x86" + +BDEPEND=" + test? ( + 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() { + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope/hookable/tests" +} -- cgit v1.2.3