commit:     78c5ec19c16b4ea65ab362ed55d1fe7aacb6caab
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  9 02:18:34 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 03:26:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c5ec19

dev-python/zipp: Bump to 3.16.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zipp/Manifest           |  1 +
 dev-python/zipp/zipp-3.16.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
index d13a7166da2f..97ac779616c7 100644
--- a/dev-python/zipp/Manifest
+++ b/dev-python/zipp/Manifest
@@ -1 +1,2 @@
 DIST zipp-3.15.0.tar.gz 18454 BLAKE2B 
759c9be6cdf6297874ed8d7cc98e8fc7c360bb765b72b345b264034f43a63831b92daa31a4d40736cc83a12b5f853d17da7fae290cb62a87ac6552edfcaca913
 SHA512 
74a512428fa29e284c515a7e6c45030e4d840727e12e376bca480a90b7fd1e111462deafa372ca9aebd9f53c24bc37111570e7a4a6a873c0b7dee9a0277c100d
+DIST zipp-3.16.0.tar.gz 18432 BLAKE2B 
b9f9f016f6f6bc87610fa4338dcbd237b09623cb5da20761e5a6f4e06bc694b6e5fd219681e12468b76b2ebf590f3ea1adfa066dfdf49caf4aecee30f73a4c19
 SHA512 
f83eb32a28a1f3acf49ade075e8390f89912d1a058cf514432c06efc1963d2a40d78051a6f7963fcdaee3dcf38e327a48a4eef15e5f3ac0db4a9590d6061ccdf

diff --git a/dev-python/zipp/zipp-3.16.0.ebuild 
b/dev-python/zipp/zipp-3.16.0.ebuild
new file mode 100644
index 000000000000..b9d1c493d482
--- /dev/null
+++ b/dev-python/zipp/zipp-3.16.0.ebuild
@@ -0,0 +1,52 @@
+# 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_{10..12} )
+
+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 
~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/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
+}

Reply via email to