diff options
Diffstat (limited to 'dev-python/zipp')
-rw-r--r-- | dev-python/zipp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.19.2.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index aa8e824c8137..c59e84f78d70 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,5 +1,7 @@ DIST zipp-3.18.2.tar.gz 21783 BLAKE2B 488c7ebe2a37d5d38f8aac86a578144aaa77d9acb375cb2aa45eb16e5f5d2db30be00827f580ee35b5aa85559001e457054cca1dd34dec7005c0169bd4a4f1b3 SHA512 c8ba020fe210a3c9b54da2f868c324b41d281dc50342f9ce68e493a695d8c8620ab19303fb81bd64cc458667113ef31a890e8e71180a0155a83ed9ead6049bcd DIST zipp-3.19.1.tar.gz 22625 BLAKE2B 283754c1b2280ac7dcce867555bacdccb59f4183e6b722c7916b5825bc16e1922a15c0b1d5684be0a89ce6672be58f0752e21b85ad02afabeeeb26d9d4706b7a SHA512 c0a4b4055f6652852526b7749d738cedda6534ea21945933ec727b5364a5558697fce6757e4045d30df55a1dce57509c92046f25d6914707fcc97e07f3088c3a +DIST zipp-3.19.2.tar.gz 22922 BLAKE2B 8f4a115079b6faa730a3502592983c13b2db27541cdbd91723fd20f320d22678f3740b01f24b46f7049607c49953ea64fa8e4855d26f28f0683d330b625a2d0b SHA512 3f1b663c4befef774e076845a8a2d2fc414cb768af0e3bccc57b6b694e9ef28e8dd8ae59b596b269f610b082e9c7a92ec3dcd465aad4e5ebe250ea96df89b2cf EBUILD zipp-3.18.2.ebuild 1432 BLAKE2B c4d2e793eae3d3169efbff55cf3d9cc26050977f23235a55685ad0c86f09eb121b7a10bc4cb21ff8612f7e68e45c52fd7fbc2ca87d86236118d3ffbf9742327c SHA512 a7127128dc8edb9616cf83f259c2a935db15fd1af64121f39e6f370724807f96c14c3556579bab1420c3c369b31862a6ad488691b8dcb14cba625c12266d73d0 EBUILD zipp-3.19.1.ebuild 1440 BLAKE2B 435cde79cd5ae1b3e48c35ee2af93e402622f25ca7c79939ccb9abab439de25d82a3276561d9820ceb04b0ef48d3cbbcd35abd6031f7daace421b5b71fb1b843 SHA512 9d9747ebda1c88ab6df4aa01de6b56b8c532c34e29ba9142057ec231740dda540b8574909c04491cff89bc1fe5b2847e262cb37a40b9dc3442d8bde6a98947cf +EBUILD zipp-3.19.2.ebuild 1440 BLAKE2B 435cde79cd5ae1b3e48c35ee2af93e402622f25ca7c79939ccb9abab439de25d82a3276561d9820ceb04b0ef48d3cbbcd35abd6031f7daace421b5b71fb1b843 SHA512 9d9747ebda1c88ab6df4aa01de6b56b8c532c34e29ba9142057ec231740dda540b8574909c04491cff89bc1fe5b2847e262cb37a40b9dc3442d8bde6a98947cf MISC metadata.xml 442 BLAKE2B f16ae43bab98bfc1f62cb9d4f117ed5c01874bd856781e80a273ff200c2d4de285181d99205d82b714fbc06cdb31625d0e70c0ff8333aa985099fcf8e2e7b795 SHA512 a75626c96d34c020b591e0207d2407f76d766c85b1d2f7e76477c21f309d2c9557ed5156d40940b41d073b3f80a71d25270e08f3baadba3cd6b159806af0ab32 diff --git a/dev-python/zipp/zipp-3.19.2.ebuild b/dev-python/zipp/zipp-3.19.2.ebuild new file mode 100644 index 000000000000..4c2c0b9b1eb8 --- /dev/null +++ b/dev-python/zipp/zipp-3.19.2.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..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/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 +} |