dev-python/zope-event: Bump to 5.1.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-07-23 06:36:08 +02:00
parent b97324a33e
commit 0cb7d119c2
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 44 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST zope_event-5.1.1.tar.gz 18811 BLAKE2B 26674b5b04fc4cac345f9d4bc772e0b560aad1a250c78a51c5d94d8ab2f17adf85f460ced9f1c003b7eb7ff78588a4eb34ca1a038d04606513301045ebe86221 SHA512 169e741588ac9e7c36651009a64135f5de501fe273721ee014353f4fba099bdbdabc7b8c3d641ec5cfd505963455bde822b57055a97d59128a47bad4fe00c510
DIST zope_event-5.1.tar.gz 18632 BLAKE2B ba365cfa52e0ff5b10593903cee7cb775a55c6eb325e328fdbdf8b89c25ea08738378ac3dc0d1e5667fd0f5e2417a079e26f3604cd0626d2a76f8afb8205ba8d SHA512 50fc9cc36233d6496a056cc74ddcb92330ecebda881ab5d374068d3b68c25e9bb24c881101b290d995000d9b5d661fd9ad675c7183ca594471ac4c270333f478

View File

@ -0,0 +1,43 @@
# 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} python3_{13..14}t pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture"
HOMEPAGE="
https://pypi.org/project/zope.event/
https://github.com/zopefoundation/zope.event/
"
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"
RDEPEND="
!dev-python/namespace-zope
"
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
}