diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-python/zipp | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-python/zipp')
-rw-r--r-- | dev-python/zipp/Manifest | 4 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.6.0.ebuild | 43 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.7.0-r1.ebuild | 54 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.7.0.ebuild | 43 |
4 files changed, 55 insertions, 89 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 3f0ffec138e1..4aab72e624a2 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,5 +1,3 @@ -DIST zipp-3.6.0.tar.gz 13047 BLAKE2B 2e3f5fd0acf9f931f5a74957e9ae29f12a42bc824eb36d769720282ec0413d90b0b45f0524f3b319ce614f43c061ae324fb29f7f2a83e7aeb393283827bca5d1 SHA512 8e21b0a757ed9ebddeca43d3e4b64549dc4e59f781704626b0b2b0a117752b84798a0484cceedd4684ee0459643df4d0f479e64a143c8d9337d2b66951a7b227 DIST zipp-3.7.0.tar.gz 12989 BLAKE2B 8a315dfd28c8aa1d5a568699886ea47b34000381981d1f4e578bcc10d7c9dc772bfd99ae9d720836e300dd1aaa5e12f0667bbe40d69668306f90aed23ec0cc8f SHA512 bf0c00382273453286ce597fb5a0059b8b279edd01dc4f2d5accef41cc53d69ddda1a2b00f4c38ed4057eeac69ef225ba4bd3a70a16da025b33947cdd6a69ed8 -EBUILD zipp-3.6.0.ebuild 1157 BLAKE2B facc2f97d68700ab997d1b2655059dac0b18c016f5a4f964cef3c31d4453bfda892867958917d932a2ecde0c2b1b776055ba9a5c7f5a79447059c16f0bc14fe0 SHA512 04e3dc1e66e42c25c6b6bfb6415c57231b81867509381a4ef06b335e26cf9481c23ed51cc2e5d79b6338a9b23aea302f459e7538ac2872bdfe902c6e33a7eef0 -EBUILD zipp-3.7.0.ebuild 1171 BLAKE2B 73fa651aac8beb03383309c6c7b1dae2c34dd7cc6929abb4078b9db16b983a4abf340f56c7e2cc7aef5d0085b6275d8695561d7e0cf88d05da22f565c6085ede SHA512 abf990981d3fe4007dd851c29bd79df658b7c693fdb49e63003b89736c74b2d1e78bdf749f66c9e72c189bfae3f9d3f38a0549dad4b7b88c03630f1559628d00 +EBUILD zipp-3.7.0-r1.ebuild 1436 BLAKE2B c26f81e605ca162225e00c97e2c5caa4cc6564ff0e93c2fc0ba658c3f128cae620e783c6a6566b706f393c08c425f30a5e4186601a458d7d86eb55e4629af28c SHA512 03e68ea9b8195170365a26250783fe778c0537c75f3bd48f25aa98645bcda7d3c139293635b8573e68bb1d6f26c22836c51fe9c4f7ec2b53775d85c6b1482df4 MISC metadata.xml 548 BLAKE2B 0bcd7b95c50e9e14ada6f3f02145bec64ee365beacf3447659276c1a5454355714f83fd2dc81a035a56d11ba1eb989f32bc0209a540b28fb72c3126d4d45a5fa SHA512 f214f6711b3197a44ec5c03b418aab3c9b907e0b3a297cb1c4e2ac3a499acefeb4de411443495db9678cbfd75460f89c9c40a57fc1bc404acbab844223a129d2 diff --git a/dev-python/zipp/zipp-3.6.0.ebuild b/dev-python/zipp/zipp-3.6.0.ebuild deleted file mode 100644 index aa0bec0ed728..000000000000 --- a/dev-python/zipp/zipp-3.6.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( pypy3 python3_{8..10} ) -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 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -BDEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}] - test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) -" - -distutils_enable_sphinx docs \ - ">=dev-python/jaraco-packaging-3.2" \ - ">=dev-python/rst-linker-1.9" -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # speed tests are flaky by design - test_zipp.py::TestPath::test_implied_dirs_performance -) - -EPYTEST_IGNORE=( - # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 - # by ensuring only zipp from ${BUILD_DIR} is loaded - zipp.py -) - -python_prepare_all() { - # dep of disabled test - sed -i -e '/func_timeout/d' test_zipp.py || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/zipp/zipp-3.7.0-r1.ebuild b/dev-python/zipp/zipp-3.7.0-r1.ebuild new file mode 100644 index 000000000000..c14f9e544eeb --- /dev/null +++ b/dev-python/zipp/zipp-3.7.0-r1.ebuild @@ -0,0 +1,54 @@ +# 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..10} ) + +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 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" + +BDEPEND=" + test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs \ + ">=dev-python/jaraco-packaging-3.2" \ + ">=dev-python/rst-linker-1.9" +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # speed tests are flaky by design + test_zipp.py::TestPath::test_implied_dirs_performance +) + +src_prepare() { + # dep of disabled test + sed -i -e '/func_timeout/d' 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 +} diff --git a/dev-python/zipp/zipp-3.7.0.ebuild b/dev-python/zipp/zipp-3.7.0.ebuild deleted file mode 100644 index 5d93b0eb6e26..000000000000 --- a/dev-python/zipp/zipp-3.7.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( pypy3 python3_{8..10} ) -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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -BDEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-3.4.2[${PYTHON_USEDEP}] - test? ( dev-python/jaraco-itertools[${PYTHON_USEDEP}] ) -" - -distutils_enable_sphinx docs \ - ">=dev-python/jaraco-packaging-3.2" \ - ">=dev-python/rst-linker-1.9" -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # speed tests are flaky by design - test_zipp.py::TestPath::test_implied_dirs_performance -) - -EPYTEST_IGNORE=( - # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 - # by ensuring only zipp from ${BUILD_DIR} is loaded - zipp.py -) - -python_prepare_all() { - # dep of disabled test - sed -i -e '/func_timeout/d' test_zipp.py || die - distutils-r1_python_prepare_all -} |