dev-python/zope-exceptions: Bump to 6.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-13 08:28:33 +02:00
parent 944a5ad9b3
commit f7cd426990
2 changed files with 39 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST zope.exceptions-5.2.tar.gz 31520 BLAKE2B 6a3ed767e2fcba1f012963c22f9de25948ba7a14674490f0d315321261faa0aaf15ffa813df764d8d293ef43d6fd24fceb4def2b70280741858ec4ec02e595e2 SHA512 55174507bfc24a2eb78d32feeaf9775f78e085fedda74ef3b3a10a782daefa2539769a18bc6304d489fe77b3b22a4636a3233641cbd64f2007940ecedeabc8d6
DIST zope_exceptions-6.0.tar.gz 32036 BLAKE2B f70c5dba1df9b606c07ab33796fe300f2d5eec87c8b7f6a8d444cfdc29667eb0e1099c811c41150d347756fe350ee14463f953b1e7be905080d9bad7b6d8fb3a SHA512 ea292bad4b07f267e5c1eea0d4e3ae773cb653f6117cc9d3db4acedacac3e51a836a71a1a85f5e7167606d0e8cbb66fd3ef6b613ed624eeaa6dc89f92cd60429

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_PN=${PN/-/.}
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
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}]
"
distutils_enable_tests unittest
src_prepare() {
distutils-r1_src_prepare
# strip rdep specific to namespaces
sed -i -e "/'setuptools'/d" setup.py || die
}
python_test() {
distutils_write_namespace zope
eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)"
}