dev-python/zope-interface: Bump to 8.1.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-16 04:39:11 +01:00
parent fc094d02a0
commit 30ae3ddc2b
2 changed files with 52 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST zope_interface-8.0.1.tar.gz 253746 BLAKE2B a09c110457a647abd3bd13d4deb1a63d8ec9ef4b74a20dafdfa6a7abdf84379e24a62c631213b68310673d87b7313c89f33eddb6f0100bd6b7e6a17210455564 SHA512 9a09a2ab938c050846fc7156e4a7788a2fc83003ed82fe926bae7df417cadf30b62f2d1a4a07ea8cac6ce04235944110a5ad603209cab62942301f75ca4c358c
DIST zope_interface-8.1.1.tar.gz 254748 BLAKE2B 380cad109ebb9fb91dbba9f8736552946f4dd240203413424effaf7c816abbd54a9618cd19586c97d0212c72287927b3ae46dddb8d6ea5c5c6b122f19c1f380b SHA512 707579b862992cb2d338a39be509a3ada0bfe26e1317d6487a9dc2e6a0ae389b0211942d449372ed31dc64084ebbe97b10095226adc6f7ba494c390c439c89cf
DIST zope_interface-8.1.tar.gz 253831 BLAKE2B 2f63ace35f6eab24200f42475c069e98c513f7d37f7abc3b28a670cf6f2943706ed7c0fa858bdcb4b7e192adba628f44da476d0b70ca5a6d64d6ef932ef1c120 SHA512 ee9d86ad487eb150754aed7f0136b26603cbafb1dba04bd2296125be52c5d8a3dcef22525c85b37038289960b8f7428a1b6084da07239d8de65798aa31f23b75

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2025 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/-/.}
PYTHON_COMPAT=( python3_{11..14} 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 ~amd64-linux ~x86-linux ~ppc-macos ~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"
}