summaryrefslogtreecommitdiff
path: root/dev-python/zope-hookable
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-05 17:54:48 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-05 17:54:48 +0100
commit8679463887b182c233b55d8112534d7d7dcde08b (patch)
tree3c45a448a6022fda1b09ac5ef94b5c02ddcc9b30 /dev-python/zope-hookable
parente8c80f80fd116cc679f261d8bc6ee6c9bfc3f0a0 (diff)
gentoo auto-resync : 05:10:2023 - 17:54:48
Diffstat (limited to 'dev-python/zope-hookable')
-rw-r--r--dev-python/zope-hookable/Manifest2
-rw-r--r--dev-python/zope-hookable/zope-hookable-6.0.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest
index 8d2d0978c40d..c0b71e83dc4d 100644
--- a/dev-python/zope-hookable/Manifest
+++ b/dev-python/zope-hookable/Manifest
@@ -1,3 +1,5 @@
DIST zope.hookable-5.4.tar.gz 25390 BLAKE2B 6421e21d03cc4f7ab55c327b2b07d26e8873567d8730382bdc51cff8131e452c72b8a8accbda5698b7b63006c923823f1689800d7145601dab0af66def42c705 SHA512 aaa1c15927b19c6785de31171d7856b3e60755965538f923b26bba7048e6816749587b55a4dbbe555822021fc77d8ffd2705c4bbcf79016f4bbdc5c75c8ffdad
+DIST zope.hookable-6.0.tar.gz 24013 BLAKE2B 808005d0993e22967bc7a73a7b8a26f2263dfc9f3f33d840495a233ea8686a5e700ee46cf0dad8e37aeebb0383ec51b15a4f98323daf4d6bb606fc1ab149f39e SHA512 33d1200a24fc664ed9c7942f71b003704fda21ac42f5acc24611838aa4e8096a27a5da01956ec824105d454a0580480ce8a262c8f5c4f24782ab11416d9fdafd
EBUILD zope-hookable-5.4.ebuild 918 BLAKE2B 306b1c2dc54d4684b026000a78d62c74009f78e00c75dc5fd0a4b99695fc26c1c99e8c9320fa316c74d547922df1f4d839e22f42da1cc1b38b780af07efc25e8 SHA512 c95e7b213d37a4d6893a3f9cdb89a151b3d4ed5695fb08d0d90340169cc50aaebf02d86a5565ad5cd229196f5c1656f811bed631390816464d1f601b4f55f7ee
+EBUILD zope-hookable-6.0.ebuild 921 BLAKE2B 90371e3d7054e0a1654941b2fc5aae74134912d759d8cda1e61d91aca3d28b437be6686a2fb622141785a2dd0af7841d83f58082880e49b0546ff43026554e17 SHA512 19b979997e6174a51496a18508a72810d1ac2e7dbb0aa901841e3c746fd1f7e0f5c1523bdba9f65253616634fce52fc8e1df0ec3e6a4b125b832db709b761125
MISC metadata.xml 363 BLAKE2B 292afad5ddaa2ae9ea128a842934b751d16d84aebd617a9e5f6c2165245137f11089670fc78791ce46ccb260c5acbf0527030889d709725f6f89532f3972c0c2 SHA512 40afd7e868b05d352bc5f268d056f3550e924e22b07b1f0e41afd25429017cb28fd5b6caf565df04bfcecf5cc1c183d12a122a906affd813542ef32cbbc230a3
diff --git a/dev-python/zope-hookable/zope-hookable-6.0.ebuild b/dev-python/zope-hookable/zope-hookable-6.0.ebuild
new file mode 100644
index 000000000000..2301c89ed21a
--- /dev/null
+++ b/dev-python/zope-hookable/zope-hookable-6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Efficient creation of 'hookable' objects"
+HOMEPAGE="
+ https://pypi.org/project/zope.hookable/
+ https://github.com/zopefoundation/zope.hookable/
+"
+
+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"
+}