commit: 77a0540ec7da6204800e2c72f335be6d400ccd02
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 18:43:45 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 19:08:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a0540e
dev-python/zope-schema: Bump to 7.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/zope-schema/Manifest | 1 +
dev-python/zope-schema/zope-schema-7.1.ebuild | 51 +++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/zope-schema/Manifest b/dev-python/zope-schema/Manifest
index 825f6d1b4cf8..a6b340706759 100644
--- a/dev-python/zope-schema/Manifest
+++ b/dev-python/zope-schema/Manifest
@@ -1 +1,2 @@
DIST zope.schema-7.0.1.tar.gz 108737 BLAKE2B
ca0d280186ebdaf53abc28bdb1684e31f97e4f4f9d235604702c2652bd4fa0a027d947f375ecee7aba598f072ce140908aaab3b107d6c743d6ee929db5de2fb5
SHA512
a8da9ac2e7239d15ed6cef83b4f500bca989c9ef2b7f1cd06ce532c260a8b8488b6fa42a6b2cfaeee505db87d3235f81815dc7eb80401c9e482141f8bf717e62
+DIST zope_schema-7.1.tar.gz 109864 BLAKE2B
26dccb457128df88700354f0b10895fb898e082010730c714ae8d116d5f85d66cefb5274a6202357a3316b8ae40ecf930fde1a2cd5a01d158926cef6732de822
SHA512
4a462e3e5897377a07f75f2f07a8fc116e7ccf94c4660207d2d0be0c5883f1eb339ec93489958da3019fe150459762a4d62062ac876b1dadbf7449e7899a18ca
diff --git a/dev-python/zope-schema/zope-schema-7.1.ebuild
b/dev-python/zope-schema/zope-schema-7.1.ebuild
new file mode 100644
index 000000000000..e63e3d2a2745
--- /dev/null
+++ b/dev-python/zope-schema/zope-schema-7.1.ebuild
@@ -0,0 +1,51 @@
+# 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="Zope schema Architecture"
+HOMEPAGE="
+ https://pypi.org/project/zope.schema/
+ https://github.com/zopefoundation/zope.schema/
+"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/zope-event[${PYTHON_USEDEP}]
+ >=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}]
+ !dev-python/namespace-zope
+"
+BDEPEND="
+ test? (
+ dev-python/zope-i18nmessageid[${PYTHON_USEDEP}]
+ 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() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+ distutils_write_namespace zope
+ eunittest
+}