commit:     bc163fde54df14259fc021067978acf84120d788
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 06:35:21 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 06:52:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc163fde

dev-python/zipp: Bump to 3.13.0

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

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

diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
index 1a4748f7f71e..29331282f086 100644
--- a/dev-python/zipp/Manifest
+++ b/dev-python/zipp/Manifest
@@ -1,3 +1,4 @@
 DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 
96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0857bfea87583341e7d08c9f0879f8455131f81e21ffb75bb362fb312c5575a8ccb2e2996313fe3f95ffe36
 SHA512 
10e1eca131063d9e34db18320152ea5e2445585802e7814fcb0a0aeddd8eb5481c60c2eaca1f7f2729826aafd4004fc4a0b8ee26896c833f789752a501f77e86
 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

diff --git a/dev-python/zipp/zipp-3.13.0.ebuild 
b/dev-python/zipp/zipp-3.13.0.ebuild
new file mode 100644
index 000000000000..be10426d8ea4
--- /dev/null
+++ b/dev-python/zipp/zipp-3.13.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
+}

Reply via email to