diff options
Diffstat (limited to 'dev-python/zipp')
-rw-r--r-- | dev-python/zipp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.21.0.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 46ffaf810568..ae32d008c8f2 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1,5 @@ DIST zipp-3.20.2.tar.gz 24199 BLAKE2B 4014ad897ce248a1ae29a1ca79fbc9c9c40c1bd261dbfbe86b205f3b43bc2bfa0e3edd3573e85b7940307950a5b73ac99e797897ebdb923b38cf2d6f9b75638f SHA512 a8a625d36d75df879284ac9c61760c8320da927e119b27a1b04e60500233ed698439558d56a792b3da94080e78cc57c15c2e62ec8af466aa3f79de4cf4818c77 +DIST zipp-3.21.0.tar.gz 24545 BLAKE2B 3a21098768c54efb1bcb049f25a7b04a16d5f02eacc6e2107dfbc358ec3e595478b407e78fa0d831f5a8f2dadd92287812bc1259db925859aeedc1174378ab2d SHA512 f57489283d979dbeb3234f66f5b6b298876209ba79cf0d7a2562f0ce4747a87fd1494d26a35734c6729620d1edfa3bf8f56769de2ae9576ac9cff074caa39331 EBUILD zipp-3.20.2.ebuild 1426 BLAKE2B 5174a89266f73da01ef2db80277e9acd53baaa58a8d99e3db2a363e86ab7937aa8fb3d924ed058892608b08b81bfb0b1a61ead66a7fecaac0e6feb3e652c7049 SHA512 0f96fd34263d615019b6c647ab98003ac287d685760ebe91e18d6c8c41c324411c5274324beb3338558ce49975a22e0db5efbeaf35cd36b2aa8fcc92c9deec2c +EBUILD zipp-3.21.0.ebuild 1434 BLAKE2B 64d2cf8017333128f5b18132b5da46a8a1d8346c1ed9907fde43f74d484ada4b392ed56e14c45def6cd7adefb9dcec7a0c208b893de5b6d909ab2b5bd8835d1b SHA512 59451c3b7d37d5785e93c0a222f978a9fe1f7181a6ba5b4905a47fee3fdbfe10da5ad6dc69f81577a0f2ef2572edd0c2dde4699fb9cf1ec485a4b51fb89c4cbb MISC metadata.xml 442 BLAKE2B f16ae43bab98bfc1f62cb9d4f117ed5c01874bd856781e80a273ff200c2d4de285181d99205d82b714fbc06cdb31625d0e70c0ff8333aa985099fcf8e2e7b795 SHA512 a75626c96d34c020b591e0207d2407f76d766c85b1d2f7e76477c21f309d2c9557ed5156d40940b41d073b3f80a71d25270e08f3baadba3cd6b159806af0ab32 diff --git a/dev-python/zipp/zipp-3.21.0.ebuild b/dev-python/zipp/zipp-3.21.0.ebuild new file mode 100644 index 000000000000..985c6d5df2e4 --- /dev/null +++ b/dev-python/zipp/zipp-3.21.0.ebuild @@ -0,0 +1,53 @@ +# 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..13} ) + +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 ~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/jaraco-test[${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 +} |