summaryrefslogtreecommitdiff
path: root/dev-python/zipp/zipp-4.1.2.ebuild
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-22 03:06:05 -0500
committerCrucible <crucible@localhost>2026-10-22 03:06:05 -0500
commit8745052a18eff33c0cf88b44cb2873be00384fd2 (patch)
tree077c2ec585f0fed99440175984def046ea1ba287 /dev-python/zipp/zipp-4.1.2.ebuild
parentbd550809cdcc8002624ac8e88cfca8703c81d32e (diff)
downloadsrcux-8745052a18eff33c0cf88b44cb2873be00384fd2.tar.gz
srcux-8745052a18eff33c0cf88b44cb2873be00384fd2.tar.xz
srcux-8745052a18eff33c0cf88b44cb2873be00384fd2.zip
Publish srcux candidate 0000000788-20261022-030227HEADdevelop
Diffstat (limited to 'dev-python/zipp/zipp-4.1.2.ebuild')
-rw-r--r--dev-python/zipp/zipp-4.1.2.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/zipp/zipp-4.1.2.ebuild b/dev-python/zipp/zipp-4.1.2.ebuild
new file mode 100644
index 000000000000..de79dbca9cea
--- /dev/null
+++ b/dev-python/zipp/zipp-4.1.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2026 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-core
+PYTHON_COMPAT=( python3_{13..14} )
+
+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 ~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}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+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
+}