diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-28 08:51:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-28 08:51:03 +0000 |
commit | 21dbcce41990b13f301240313be05c8d013a9258 (patch) | |
tree | 933b3c51d46dc15fefe62b03a4f41c85b7e9bb44 /dev-python/zipp | |
parent | e53aa6b4fbe5a0c6db75d893829f7a6a37a14180 (diff) |
gentoo auto-resync : 28:01:2023 - 08:51:03
Diffstat (limited to 'dev-python/zipp')
-rw-r--r-- | dev-python/zipp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zipp/zipp-3.12.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index cc0219682df5..4d5604d8248d 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1,5 @@ DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0857bfea87583341e7d08c9f0879f8455131f81e21ffb75bb362fb312c5575a8ccb2e2996313fe3f95ffe36 SHA512 10e1eca131063d9e34db18320152ea5e2445585802e7814fcb0a0aeddd8eb5481c60c2eaca1f7f2729826aafd4004fc4a0b8ee26896c833f789752a501f77e86 +DIST zipp-3.12.0.tar.gz 17705 BLAKE2B 7159d45deb7e22625a270c7f6a5610f64c511ebde11b42769730245befc679750390928c89cfe2ef979df081b07f87e35eea9d82d7063513ac420afc8e60cf79 SHA512 922d293dbfdc1871d339a6ebc0176cb5147518f281daf685318d08f6bb4057eb4c49380e49a220c6fa17d749eb8a32b9fa90070acb953f17595d1e509bc6cdf4 EBUILD zipp-3.11.0.ebuild 1579 BLAKE2B b311be46ee40b899db7afecee2667e4f340a1c6ca18dcf53a5858d59fb4439318ef10a264f8c6efcb686c01da719224ef7765f76072366356986b9451e75cb9e SHA512 da98d810c8e52d48f40c46d9f03692d5f35a8201d641702db6f0345ceeb957927bc4cbd1810a7e1c3313ef5abfe4310b88fcdd68efa416f9ebcbdee93036b990 +EBUILD zipp-3.12.0.ebuild 1587 BLAKE2B 3da2bb496f27e559a3362526ced24737942e185efa685755d1a5409d65b56b2c46932c59535e9cb80a30998bbe6123dced260287ef23a0160bdfd82acdaf9210 SHA512 af6988be2d73be904668f8e67587efc31f7600314e2a4f9da8ed176c395a31c1ebb949d0f69d32ca9e7a80365b3eeab4365cb198fbb0fffda96a858b43d1f77a MISC metadata.xml 548 BLAKE2B 0bcd7b95c50e9e14ada6f3f02145bec64ee365beacf3447659276c1a5454355714f83fd2dc81a035a56d11ba1eb989f32bc0209a540b28fb72c3126d4d45a5fa SHA512 f214f6711b3197a44ec5c03b418aab3c9b907e0b3a297cb1c4e2ac3a499acefeb4de411443495db9678cbfd75460f89c9c40a57fc1bc404acbab844223a129d2 diff --git a/dev-python/zipp/zipp-3.12.0.ebuild b/dev-python/zipp/zipp-3.12.0.ebuild new file mode 100644 index 000000000000..ea6301a426b0 --- /dev/null +++ b/dev-python/zipp/zipp-3.12.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 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_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE=" + https://github.com/jaraco/zipp/ + https://pypi.org/project/zipp/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +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_DESELECT=( + # speed tests are flaky by design + tests/test_zipp.py::TestPath::test_implied_dirs_performance +) + +src_prepare() { + # dep of disabled test + sed -i -e '/func_timeout/d' tests/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 +} |