dev-python/zope-schema: Bump to 8.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-13 08:11:52 +02:00
parent ef6242fbaf
commit 63a97ceef6
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST zope_schema-7.1.tar.gz 109864 BLAKE2B 26dccb457128df88700354f0b10895fb898e082010730c714ae8d116d5f85d66cefb5274a6202357a3316b8ae40ecf930fde1a2cd5a01d158926cef6732de822 SHA512 4a462e3e5897377a07f75f2f07a8fc116e7ccf94c4660207d2d0be0c5883f1eb339ec93489958da3019fe150459762a4d62062ac876b1dadbf7449e7899a18ca
DIST zope_schema-8.0.tar.gz 109823 BLAKE2B d3f4b73037c8667ac494f1baa777797ad0f39e6c58367f3b222eaced9acc9156305503e2362df1ebca3dda5777d5bc6d05203da868482cb40cc3bafcc7ad4c81 SHA512 bc1dc2cfbbb5cf91627003d1cfd67c355d7a501935ab87cb73a745c3743be55a67369090d4286018a5e027774dd893532fd57636b62b331069bbee5d6ae7ec23

View File

@@ -0,0 +1,44 @@
# 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}]
"
BDEPEND="
test? (
dev-python/zope-i18nmessageid[${PYTHON_USEDEP}]
dev-python/zope-testing[${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() {
eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope"
}