commit: f03b13b892b870946132392af900c0c7e28f78dc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 9 04:09:57 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 9 04:28:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03b13b8
dev-python/zipp: Bump to 3.23.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/zipp/Manifest | 1 +
dev-python/zipp/zipp-3.23.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
index aff50c4409cf..d2b34976ba0a 100644
--- a/dev-python/zipp/Manifest
+++ b/dev-python/zipp/Manifest
@@ -1,2 +1,3 @@
DIST zipp-3.21.0.tar.gz 24545 BLAKE2B
3a21098768c54efb1bcb049f25a7b04a16d5f02eacc6e2107dfbc358ec3e595478b407e78fa0d831f5a8f2dadd92287812bc1259db925859aeedc1174378ab2d
SHA512
f57489283d979dbeb3234f66f5b6b298876209ba79cf0d7a2562f0ce4747a87fd1494d26a35734c6729620d1edfa3bf8f56769de2ae9576ac9cff074caa39331
DIST zipp-3.22.0.tar.gz 25257 BLAKE2B
b4a6b67b428b696724354b3fcca57b6ecd7a4e65543016e3fbfe7def09fc6125245492edcd37d909c33869118017ec7875f18ef9befe459ead809629c17dae5a
SHA512
fcdf53f5058a1036b5a637343d40528373147e480694f85b94d2ca030545169e8bc2271bbd2ad5779eb14841d5dd2630a829192b3ffcefddff956e81d44622a9
+DIST zipp-3.23.0.tar.gz 25547 BLAKE2B
834a046e1a618691c51149d9d70041221c4b9ef7bc4507e558fdd54a29b1c9b483e2c2a8ad4490617109741d139c61a20d8c062997883ac5da334c416e2d6641
SHA512
c2c8515fef329ba111399d394ba0039c63d825c1b264c1c26e0b44a98197a327280c577ae926529a261a352e579f8e5348ea1ee71757eab03817a97580b5491a
diff --git a/dev-python/zipp/zipp-3.23.0.ebuild
b/dev-python/zipp/zipp-3.23.0.ebuild
new file mode 100644
index 000000000000..857331cb9340
--- /dev/null
+++ b/dev-python/zipp/zipp-3.23.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files"
+HOMEPAGE="
+ https://github.com/jaraco/zipp/
+ https://pypi.org/project/zipp/
+"
+
+LICENSE="MIT"
+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"
+
+# big_o is only used in test_complexity, that we ignore
+BDEPEND="
+ test? (
+ dev-python/jaraco-functools[${PYTHON_USEDEP}]
+ dev-python/jaraco-itertools[${PYTHON_USEDEP}]
+ dev-python/jaraco-test[${PYTHON_USEDEP}]
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # performance tests are flaky by design
+ tests/test_complexity.py
+)
+
+src_configure() {
+ grep -q 'build-backend = "setuptools' pyproject.toml ||
+ die "Upstream changed build-backend, recheck"
+ # write a custom pyproject.toml to ease setuptools bootstrap
+ cat > pyproject.toml <<-EOF || die
+ [build-system]
+ requires = ["flit_core >=3.2,<4"]
+ build-backend = "flit_core.buildapi"
+
+ [project]
+ name = "zipp"
+ version = "${PV}"
+ description = "Backport of pathlib-compatible object wrapper
for zip files"
+ EOF
+}