summaryrefslogtreecommitdiff
path: root/dev-python/zipp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-24 09:51:43 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-24 09:51:43 +0100
commitbb17db5f98333b3c74b4194d1c1136144f693add (patch)
tree65d7446b00fbeb21e2dd8dc4c106526dd4a8fb7d /dev-python/zipp
parent1e9275d80771f014d7754407ca8ab9d7c43247b0 (diff)
gentoo auto-resync : 24:10:2022 - 09:51:42
Diffstat (limited to 'dev-python/zipp')
-rw-r--r--dev-python/zipp/Manifest2
-rw-r--r--dev-python/zipp/zipp-3.10.0.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest
index 4de262f7c76c..0cdc574773c0 100644
--- a/dev-python/zipp/Manifest
+++ b/dev-python/zipp/Manifest
@@ -1,5 +1,7 @@
+DIST zipp-3.10.0.tar.gz 15564 BLAKE2B 145374d6e2e251f588e198a0fd400542b34ff26de4e1240dd30710dc33e884ccde91ca1cc168d5f421aa4e04341c76cfb10fbf176c830ade237be39a886267ab SHA512 2e64b05eb0123eb3c3c87fbfe2da26721eb9e24142a43e794d04e5f86ab5fe4cf3e0e3e3497bfc9631ab61dd64226829772493f26e091a66148ddbdc5dfd8e51
DIST zipp-3.8.1.tar.gz 14189 BLAKE2B 768d25dab70ee1ddbb3adb829b68515631772e2e25a7617d58bf863c01d1900e22cd4001bf31b9eae3829a63cba77df070132e7932b9b4242bb8be3579a1546d SHA512 05639feb20c7e8d3480ce17a52115a85bb2f0706ee0c1b15589b7556bb914ef30a1a34fa743217694b753bb5e72095c90fab7dfee85f2dbf461347322acb4d2e
DIST zipp-3.9.0.tar.gz 15118 BLAKE2B 04cfd994179ea2f09e792c3b95726262ec5f9e4b04bebb2541066bc914c39c93fda74cd597a53456afabdfa7ef90c1477cfc7c392bf59d3b31959c1d299dcaec SHA512 eaff85ab7e0775bc091b4e32281397bd8fa92d1644b368593f18a04c1a408937351606ad9cc2831cd3bce61ca59b05e7622e5d14282bc28299943ef5dd9012f9
+EBUILD zipp-3.10.0.ebuild 1552 BLAKE2B 8f9dadf7c363a39c0cb92a76001f5fd5c5d81e1e9caceed1b815a30935449c1917abac739c6bc8cd7fecebd54552b1e78c03f58e1361570a60851a8fe7da3224 SHA512 76c9a505a55dc2159d2096943e341aa36aabab767f92d91b6f3b87a1b70aa20c9af3381164170fcf4ee25e734fe0eb602ba263f1debaaf1f0dacf3205ecd20ef
EBUILD zipp-3.8.1.ebuild 1438 BLAKE2B d6857903252a23d0d802fc48c13dc5392feaaebf46f754ef1ce8ab608c3ad999feddce0338bc03aacfe9f19598f22062efb2e43ccaf50cb1e6554f59b37998f3 SHA512 a078ba1974f2339ca3e79f879bfd641f4b09a07fb83dea1a10bd24a63d51d9861d03a2d53d4c516dfb421d9dbecd82edfeccd0f900088dabfe6000e29195d8ad
EBUILD zipp-3.9.0.ebuild 1540 BLAKE2B b94fa5841874452b445692c35d18c48248c048f5876d881844ad9d7de3c7a7b08de666898dbfbe9576426e410a75ad4c559ff54282f1f568e0266baacce76e76 SHA512 e3c3fd177350fffc52e2cd89d649834f1a214eca39ffc2890e724ff2a4e8b72f7426bc9f79bcfcab593f217708636ae9e11308d831c3288d68c93617005210e6
MISC metadata.xml 548 BLAKE2B 0bcd7b95c50e9e14ada6f3f02145bec64ee365beacf3447659276c1a5454355714f83fd2dc81a035a56d11ba1eb989f32bc0209a540b28fb72c3126d4d45a5fa SHA512 f214f6711b3197a44ec5c03b418aab3c9b907e0b3a297cb1c4e2ac3a499acefeb4de411443495db9678cbfd75460f89c9c40a57fc1bc404acbab844223a129d2
diff --git a/dev-python/zipp/zipp-3.10.0.ebuild b/dev-python/zipp/zipp-3.10.0.ebuild
new file mode 100644
index 000000000000..652dbc5d71c5
--- /dev/null
+++ b/dev-python/zipp/zipp-3.10.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 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_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files"
+HOMEPAGE="https://github.com/jaraco/zipp/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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_prepare() {
+ # dep of disabled test
+ sed -i -e '/func_timeout/d' tests/test_zipp.py || die
+ distutils-r1_src_prepare
+}
+
+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
+}