summaryrefslogtreecommitdiff
path: root/dev-python/zope-exceptions
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-11 16:30:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-11 16:30:06 +0100
commit788bcc2dc1910a097d019f25e3e70dc7b4fdc903 (patch)
tree4c99604559949fa13bc67f0a6127d848136e5b5f /dev-python/zope-exceptions
parentf9a53aec073578673710687755db617717dd87d3 (diff)
gentoo auto-resync : 11:07:2023 - 16:30:06
Diffstat (limited to 'dev-python/zope-exceptions')
-rw-r--r--dev-python/zope-exceptions/Manifest2
-rw-r--r--dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest
index 642111f7f66b..42ddc42eec22 100644
--- a/dev-python/zope-exceptions/Manifest
+++ b/dev-python/zope-exceptions/Manifest
@@ -1,5 +1,7 @@
DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4
+DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a
DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1
EBUILD zope-exceptions-4.6.ebuild 949 BLAKE2B 71640d4e0d292d96979af26d4f45797115d8c32810f8ca3161a97673655a0acd9ce4db591483afa5b87cf59b8e0d22143bf36a617bf8c9dc5290329b1e0bb00b SHA512 bd3b648b01e67be3b12a1e6585fa01fd99d1de607e1ac4e921bf8e9e8e9de6fef5217891a032de100c3e5bf9f24b68a911b1c03a7b64072faa2e3b037461d832
+EBUILD zope-exceptions-5.0.1.ebuild 949 BLAKE2B 71640d4e0d292d96979af26d4f45797115d8c32810f8ca3161a97673655a0acd9ce4db591483afa5b87cf59b8e0d22143bf36a617bf8c9dc5290329b1e0bb00b SHA512 bd3b648b01e67be3b12a1e6585fa01fd99d1de607e1ac4e921bf8e9e8e9de6fef5217891a032de100c3e5bf9f24b68a911b1c03a7b64072faa2e3b037461d832
EBUILD zope-exceptions-5.0.ebuild 949 BLAKE2B 71640d4e0d292d96979af26d4f45797115d8c32810f8ca3161a97673655a0acd9ce4db591483afa5b87cf59b8e0d22143bf36a617bf8c9dc5290329b1e0bb00b SHA512 bd3b648b01e67be3b12a1e6585fa01fd99d1de607e1ac4e921bf8e9e8e9de6fef5217891a032de100c3e5bf9f24b68a911b1c03a7b64072faa2e3b037461d832
MISC metadata.xml 413 BLAKE2B 3bed6e3e8732f8e04efffe7ea279eaedbfef2fa2d011f1881fdfa814406b0ed5e5a926eeb1a0e66858c1f0524d5c1d1948313c50c53d9fce6cc4596ddea9f87f SHA512 ec4b63a6791605b6c66649026a10d0bc445849b801e9e6350c1bb06b7a244c86aa558830ba39dc1a3d35b3dc2d650d1a52cbe7f84c912f5f7711fe6ec6bf55c4
diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild
new file mode 100644
index 000000000000..7ec748a89678
--- /dev/null
+++ b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="General purpose exceptions for Zope packages"
+HOMEPAGE="
+ https://pypi.org/project/zope.exceptions/
+ https://github.com/zopefoundation/zope.exceptions/
+"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ dev-python/zope-interface[${PYTHON_USEDEP}]
+ !dev-python/namespace-zope
+"
+
+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
+}