From db063b515939ab15261136b24e4bc44386335c0c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 23:02:44 +0100 Subject: gentoo resync : 24.09.2020 --- dev-python/zipp/Manifest | 2 ++ dev-python/zipp/zipp-3.2.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/zipp/zipp-3.2.0.ebuild (limited to 'dev-python/zipp') diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 984377f310b9..75f5289012d1 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1,5 @@ DIST zipp-3.1.0.tar.gz 14808 BLAKE2B fb5524c2619e51c5f8c1b85fa819d1001e6296df6c9d5320c6ab3ec88fa5c932c139161e621d51b2827ef40402bb2492b8b08e470b7333e847495ec690024879 SHA512 bb8dea71eccc4f3b18fc816dae700582c3feb72f346e115bb2d1adc336f121304a285e4d5dad48d15b386b9e137c6e1d1793ef50d22b6bd697812a661817684e +DIST zipp-3.2.0.tar.gz 16238 BLAKE2B d74781639c714342863a0532ac8bbfc4d8cdcd554b9ce2b0edf83dc26ac423231ac85323379b4923308f2319c828aca2e0bcd4bd136845e7026b09e1e16e108e SHA512 fc0c8a9f1fbbcdd0f70c536e7498605e0a338dd99abd65f16b360cb16f96c7860d422ce2b55f7b2c1bfd7e5c5b5ca3bf818a48bae19bfbf190d91d4778aed31a EBUILD zipp-3.1.0.ebuild 994 BLAKE2B 893c10ffb899eb435f108a4cab3f575b1ac78b66bbcf039ac8527d7de17a0130593686ba2972870bc4f8329889ab2c29182e01e8c4c757668778da507f1a4333 SHA512 6a803a1a570f7fd5af147bab5190f851a7347385706346ea08153aa143e57c01131f16c6ce330317049e60a80c53380e66bcb08b32af24830945d87f2a46c646 +EBUILD zipp-3.2.0.ebuild 1219 BLAKE2B 377c34387787bae6668ddc9e4422b0eff3686fec1438c475baab68ad201991c9f8763db6a3edee05325d44de9723a414505fddfe5c89655e431b3dbb88b710b9 SHA512 e941baace24a17628066051a6ccda5befae5a90cef3c62ed4a447b0667bb4d0522aa20a69862f1a115e5309d0ada7a69ed0572a976023f84043f72df8f2cecf0 MISC metadata.xml 547 BLAKE2B 18466508bbc1bd39ebac74f8ae583b1f58e7444f96171132ba3521f302d179417cec21f34ea55d95b94a5ce8242ef77cbab5805f844d84de809c58f5a48b5bd4 SHA512 693f379106d242cb63a5bc2e04133d0619f168b964e9e4cfd5dbbacfb06b6d4e732d9304b2029afe28e800020ac771f5b38a0963477976cc5bc049359ef7b6b8 diff --git a/dev-python/zipp/zipp-3.2.0.ebuild b/dev-python/zipp/zipp-3.2.0.ebuild new file mode 100644 index 000000000000..6d3948459056 --- /dev/null +++ b/dev-python/zipp/zipp-3.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6..9} ) + +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" +IUSE="test" + +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 + +python_prepare_all() { + # Skip a potentially flaky performance test + sed -i -e '/^import func_timeout\|^ *@func_timeout\.func_set_timeout/d' \ + -e 's/test_implied_dirs_performance/_&/' test_zipp.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # Ignoring zipp.py from ${S} avoids ImportPathMismatchError with Python < 3.8 + # by ensuring only zipp from ${BUILD_DIR} is loaded + pytest --ignore zipp.py -vv || die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3