dev-python/zope-interface: Bump to 8.5

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-27 07:07:32 +02:00
parent e7a46b6e82
commit 7702f9c9e5
2 changed files with 54 additions and 0 deletions

View File

@@ -1 +1,3 @@
DIST zope_interface-8.4.tar.gz 257736 BLAKE2B 6dd39e9d345418602b94dfb6516f82e08d2e542df140582c5849ed791f45bb46b36d57b25ca07fd47db52d7d3dd2d9b10d2f2f7b041761bd2ebe8f5a5a7cedcb SHA512 aa72783ed8abc43a482758ab83abc013b372b94cb940dec809b751d44b3fd9d9c0c3b196d7758a7b7adc696d9bce597d76b5116ee880f894a06a72a1e22abbb5
DIST zope_interface-8.5.tar.gz 257957 BLAKE2B 15f142fe8636def9cab24d91394b7d69e2ef5a420635830b9da35c75846ff323d7b4463cd00d9bd866916322ad1c18a3d4cb1e2f2210955e8772fc3b48906048 SHA512 099f88e47cc29312ff79f3efd904710fc4cfe4c81cacacc1f3cf40471a6b46e9d82646e42c539b14d8f0619beba74b1d0cec90a3a22897949f59dd26750dba7e
DIST zope_interface-8.5.tar.gz.provenance 9454 BLAKE2B 56d347195516e86ff0c56092d92acd8c5c00aa376c9149d14ae5b7e7d2a2b1872975fc85436c37d013e8f16e4ec366f7ee28b76683b9dfd02ef028a16bab699d SHA512 31d39871d4bf74c1aca8c11aad96cab3e0ab4848b7c846022455f5f733877e0902684cb128c0d13a3f3d036d8fffe307c622ec91710c11e9c391f7e176a2594a

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_PN=${PN/-/.}
PYPI_VERIFY_REPO="https://github.com/zopefoundation/zope.interface"
PYTHON_COMPAT=( python3_{11..14} python3_{13..14}t pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Interfaces for Python"
HOMEPAGE="
https://github.com/zopefoundation/zope.interface/
https://pypi.org/project/zope.interface/
"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
IUSE="+native-extensions test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/zope-event[${PYTHON_USEDEP}]
dev-python/zope-testing[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_prepare() {
distutils-r1_src_prepare
# force failure if extension build fails
sed -i -e "/'build_ext':/d" setup.py || die
if ! use native-extensions; then
sed -i -e '/ext_modules=/d' setup.py || die
fi
}
python_test() {
local -x PURE_PYTHON=0
if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then
PURE_PYTHON=1
fi
eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope"
}