summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-18 06:25:02 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-18 08:02:52 +0100
commit3261c6dd43ef3865b75d65552b696921a05b445d (patch)
treebde68c62b5ffe2b7c1d4de65ea4eae6cfc4faaec /dev-python/zipp
parentapp-admin/awscli: Bump to 1.27.74 (diff)
downloadgentoo-3261c6dd43ef3865b75d65552b696921a05b445d.tar.gz
gentoo-3261c6dd43ef3865b75d65552b696921a05b445d.tar.bz2
gentoo-3261c6dd43ef3865b75d65552b696921a05b445d.zip
dev-python/zipp: Bump to 3.14.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zipp')
-rw-r--r--dev-python/zipp/Manifest1
-rw-r--r--dev-python/zipp/zipp-3.14.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
index 29331282f086..d069ec41afda 100644
--- a/dev-python/zipp/Manifest
+++ b/dev-python/zipp/Manifest
@@ -2,3 +2,4 @@ DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0
DIST zipp-3.12.0.tar.gz 17705 BLAKE2B 7159d45deb7e22625a270c7f6a5610f64c511ebde11b42769730245befc679750390928c89cfe2ef979df081b07f87e35eea9d82d7063513ac420afc8e60cf79 SHA512 922d293dbfdc1871d339a6ebc0176cb5147518f281daf685318d08f6bb4057eb4c49380e49a220c6fa17d749eb8a32b9fa90070acb953f17595d1e509bc6cdf4
DIST zipp-3.12.1.tar.gz 17987 BLAKE2B c3c9f9d3243a2863c4b310e825d9862f379386fc05d0053a10b25fc6706f1bedd5fbb65e44fa9d4ba595b87de89c7f1aa98a4e2911dfde3ce9cad71a8571a1e9 SHA512 3a7aae6f377736711bfdb7667b40dc03b32cbb765aee2a36fb5848458469c175fd7fea5811d962b97a0779d63d39d0d42a59d7174db318fc6c32ff6bb58416c1
DIST zipp-3.13.0.tar.gz 18725 BLAKE2B bc4ff7a3338af70380249b009858b6ee7a6407daa02650b3a59972a74bdcdb80ebb0d01cfe9551ccbcde6b46d6e191c82b5aba91a382ab361e344861e6284f38 SHA512 7fdcf4dcd4013a09a2ef77b203211919d6aa132f41dafe244ccd41dbb89b6268149a7eb8f8f2bc5ca08ed6e435cd1372361f267b49e3447dc90dc8d7340cd5ec
+DIST zipp-3.14.0.tar.gz 18405 BLAKE2B 8aa43fd074e7a7caced0c561edad3769c6e17258ede526cb6097645f343368d80a94e749cea5be9f4bb8c5e61383dc066ec217ccd9c0ee7f0a9d68ce3bc6ffa0 SHA512 191f3f0b81404a5cabce08e6d1fa731d3e4d822b6afb439eb4cf2da0d1f693963a716569fb011249c6e374fc8b87fafbfbe567e55efcfef5d020631b7839663c
diff --git a/dev-python/zipp/zipp-3.14.0.ebuild b/dev-python/zipp/zipp-3.14.0.ebuild
new file mode 100644
index 000000000000..be10426d8ea4
--- /dev/null
+++ b/dev-python/zipp/zipp-3.14.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+
+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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+BDEPEND="
+ test? (
+ dev-python/jaraco-functools[${PYTHON_USEDEP}]
+ dev-python/jaraco-itertools[${PYTHON_USEDEP}]
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # speed tests are flaky by design
+ tests/test_zipp.py::TestPath::test_implied_dirs_performance
+)
+
+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
+}