diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-19 05:07:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-19 05:07:58 +0100 |
commit | ca517256fa4afe5b579e64e267ebbc7beb8a888f (patch) | |
tree | b2e8529e997fc6e3e936f205f8b6b5ad4873b594 /dev-python/zipp | |
parent | 4eeee822487f780361d7d47b4c1b999f93e15b27 (diff) |
gentoo auto-resync : 19:09:2023 - 05:07:58
Diffstat (limited to 'dev-python/zipp')
-rw-r--r-- | dev-python/zipp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.17.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index d04902574341..09b7ba36fc20 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1,5 @@ DIST zipp-3.16.2.tar.gz 20002 BLAKE2B abc9b9b2c801f50856e6ad761ff2be81729a475e221716b63c8e017ae87b5f712e43547ba1a42911533f9ad88d02e805768e5bcba397b3f7355d0a8cdcbaab0a SHA512 cb7f19638b2bc2bb1c38241078836c4e484b8f1fae8232073da25967f01e449eb8a6c870d2afde285ea9ae319785a9e4b7cb0e5edc2d0f4690f3ce27c359be93 +DIST zipp-3.17.0.tar.gz 20367 BLAKE2B d1b21b7692e77a019769cd0ab93c850a409bc1eea22e2e6eb0ecaf0c14b5c42a11110b272ee73afb111675f15dfab32aceae6515c05fd4e0c4749352e4be3c90 SHA512 efd100add7e8face19a6163d07b5efbef6f896d1f3ed2dbdd443ed7e523428bd779d1f05dfe806d4d2bbe10c17c21136f2a0b6f0cbe6000dd8a6abb86dede725 EBUILD zipp-3.16.2.ebuild 1389 BLAKE2B cd33b7b9d3e9a8ff31f8f83498ebb6867e8f8738e445ea1e5807fbaa08a889d0d0d6d943d082f62072797a608413d1e5e3934f49764735e1c3b158956406638c SHA512 9cf8b753d26660a4b93463a1b39624474ec97a790f736f514118e09cd185e14206ad1a809ae4e625e8ae19e90e35a410d5fc4839c0f82f0cc77ec4a59971dde8 +EBUILD zipp-3.17.0.ebuild 1397 BLAKE2B a59e6f0e7ee978c9990259aa086ffb806a41bde96c5445b940b5079f36cf052208720c3f28fe10cf21c933b4884d14e088e246a9047fe33357442d396555a362 SHA512 b3acf9938fc046295ff78307595726a2fe1c6adea1725585b5cc5820c696612d247686a24ddca996a323aabc7169eb9d60ec7e74c310eb5d6a8814a1635a57fa MISC metadata.xml 442 BLAKE2B f16ae43bab98bfc1f62cb9d4f117ed5c01874bd856781e80a273ff200c2d4de285181d99205d82b714fbc06cdb31625d0e70c0ff8333aa985099fcf8e2e7b795 SHA512 a75626c96d34c020b591e0207d2407f76d766c85b1d2f7e76477c21f309d2c9557ed5156d40940b41d073b3f80a71d25270e08f3baadba3cd6b159806af0ab32 diff --git a/dev-python/zipp/zipp-3.17.0.ebuild b/dev-python/zipp/zipp-3.17.0.ebuild new file mode 100644 index 000000000000..98a174be2fef --- /dev/null +++ b/dev-python/zipp/zipp-3.17.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 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 +} |