From a8b7ddd097c56ba53476a5923bccf5d726b1a7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 19 May 2026 06:47:25 +0200 Subject: [PATCH] dev-python/zipp: Bump to 4.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/zipp/Manifest | 1 + dev-python/zipp/zipp-4.1.0.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-python/zipp/zipp-4.1.0.ebuild diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index b0fd3586970a2..2ca96b007925e 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1 +1,2 @@ DIST zipp-3.23.1.tar.gz 25965 BLAKE2B 85295931762190d0d76247ae4219a730c4415cf13a79a30f3cb7b7025d60b9d59aca251c488baae0b9dffa3e6b56b26ed9439cd3359660085bc96390f2334379 SHA512 7461e5cc8e090e99b32595f05259c61b9a2865c9e5056e81c537020fe550f4d0bcc844df63cac3e096eed2c9754284830cdb104e4e625f9bf3f302b17b7e0fd0 +DIST zipp-4.1.0.tar.gz 26214 BLAKE2B 8ef46c33c39adb1894599278307bfea4c1b9fbede22bff698585185fe3bc814a5460502896f8cdb38beb99d37a83e881cdded0db8686d0a25e4fccdb56bb4bbe SHA512 1648ee2581e958ff11472357784b34111f86fd2c2281bb35ca8122f238c721c5a1e54332ffe1fb03208dfee2706adb39ede5389b2d3612c9134f3662bef54ffa diff --git a/dev-python/zipp/zipp-4.1.0.ebuild b/dev-python/zipp/zipp-4.1.0.ebuild new file mode 100644 index 0000000000000..b94a87082b8e0 --- /dev/null +++ b/dev-python/zipp/zipp-4.1.0.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 +PYTHON_COMPAT=( pypy3_11 python3_{11..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 +}