diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-17 00:01:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-17 00:01:35 +0100 |
commit | 6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (patch) | |
tree | b7183e321a607f857cc5c62cfbd5bae7cbfb3982 /dev-python/zipp | |
parent | 66113e7871aede225d661473925cea4cce9e6d23 (diff) |
gentoo auto-resync : 17:05:2024 - 00:01:35
Diffstat (limited to 'dev-python/zipp')
-rw-r--r-- | dev-python/zipp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.18.2.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 2e6c800ec62f..cfc676b786cf 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1,5 @@ DIST zipp-3.18.1.tar.gz 21220 BLAKE2B cd2afca05cb35b79bfe2b65396cccae3de15b3aaa2566643f1ce989a2747971a54fbf3baab3d273add51c51774b444c773ced951010a24a60e088103cd808d23 SHA512 27f2a5a098c773ea878b751e5c1d4e6bb89a367cd676f0b4508f3c372e78e1522de6eb46a17c8ac22a09cc6b041e393db40d14d918c7abe44cc2158f886a8045 +DIST zipp-3.18.2.tar.gz 21783 BLAKE2B 488c7ebe2a37d5d38f8aac86a578144aaa77d9acb375cb2aa45eb16e5f5d2db30be00827f580ee35b5aa85559001e457054cca1dd34dec7005c0169bd4a4f1b3 SHA512 c8ba020fe210a3c9b54da2f868c324b41d281dc50342f9ce68e493a695d8c8620ab19303fb81bd64cc458667113ef31a890e8e71180a0155a83ed9ead6049bcd EBUILD zipp-3.18.1.ebuild 1389 BLAKE2B f60d89d474713af5f667a38ba8d8684a8a5cb7f9eb3c757f76ca1cdbb92a2fc9e6b93ca8d3c1f4fd4355ff7a0a6172b3491e235a340882bad8b19f093bd83d41 SHA512 044240144acb703b1623013acb728e875058246d8ef1d7505134ee9dd8a640f6bc18f0adb6fe52ba9f86f708cfe52397d479416b400baf885099fd98a53e19e6 +EBUILD zipp-3.18.2.ebuild 1397 BLAKE2B e577ee0c2161bfd2a4d3d739e942fa006a6721cbc0cbc9470fc9eb960fced62e4eeee5263937c23f6c56641c2aa45dc46fa98584a750adc9cb7e9ca3f4ece10a SHA512 bb5a901fd7eabce2d37482549ce95911925181566232c51c82a827ddac878f954cafa228cb004d1f6709a05a8e207caaca38459c5a21b59a12633739576a222e MISC metadata.xml 442 BLAKE2B f16ae43bab98bfc1f62cb9d4f117ed5c01874bd856781e80a273ff200c2d4de285181d99205d82b714fbc06cdb31625d0e70c0ff8333aa985099fcf8e2e7b795 SHA512 a75626c96d34c020b591e0207d2407f76d766c85b1d2f7e76477c21f309d2c9557ed5156d40940b41d073b3f80a71d25270e08f3baadba3cd6b159806af0ab32 diff --git a/dev-python/zipp/zipp-3.18.2.ebuild b/dev-python/zipp/zipp-3.18.2.ebuild new file mode 100644 index 000000000000..f1e7c1550400 --- /dev/null +++ b/dev-python/zipp/zipp-3.18.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 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 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 +} |