diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-10-31 06:10:54 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-10-31 06:22:03 +0100 |
commit | 7f1397169cd3804ee3f788465da1697302ba7bcb (patch) | |
tree | f78a95497e8d1c3cb66d5d5d4a22627aa6037009 /dev-python/zope-exceptions | |
parent | dev-python/pydantic-core: Bump to 2.25.1 (diff) | |
download | gentoo-7f1397169cd3804ee3f788465da1697302ba7bcb.tar.gz gentoo-7f1397169cd3804ee3f788465da1697302ba7bcb.tar.bz2 gentoo-7f1397169cd3804ee3f788465da1697302ba7bcb.zip |
dev-python/zope-exceptions: Bump to 5.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-exceptions')
-rw-r--r-- | dev-python/zope-exceptions/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-exceptions/zope-exceptions-5.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index a187ef8b60e9..4bb32d514861 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-5.1.tar.gz 31416 BLAKE2B 62e5ddc72f36349a6e4810ee6932dbe9e80fb3c3ac5171cebcb4433832d593bf01edfbd573a5f2dc7546599d018144d28a2968598c3c43e72e3b7639e96f13bf SHA512 08e0b3b895089b35805519002f11302e6529d12257a5582f682257c4b5313c4e183d2b06241729fe542fcd407b1f29fbd6798605930b759daca335ed3df84652 +DIST zope.exceptions-5.2.tar.gz 31520 BLAKE2B 6a3ed767e2fcba1f012963c22f9de25948ba7a14674490f0d315321261faa0aaf15ffa813df764d8d293ef43d6fd24fceb4def2b70280741858ec4ec02e595e2 SHA512 55174507bfc24a2eb78d32feeaf9775f78e085fedda74ef3b3a10a782daefa2539769a18bc6304d489fe77b3b22a4636a3233641cbd64f2007940ecedeabc8d6 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.2.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.2.ebuild new file mode 100644 index 000000000000..ff4a09069de8 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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..13} 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 +} |