diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-08 08:20:28 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-08 08:25:13 +0100 |
commit | e25025c3bf21192ea13ab98d7b99777e7240575d (patch) | |
tree | af9e7645854e949556a3cddc28c80dac6edb7b20 /dev-python/importlib_metadata | |
parent | dev-python/pytools: Bump to 2021.1.2 (diff) | |
download | gentoo-e25025c3bf21192ea13ab98d7b99777e7240575d.tar.gz gentoo-e25025c3bf21192ea13ab98d7b99777e7240575d.tar.bz2 gentoo-e25025c3bf21192ea13ab98d7b99777e7240575d.zip |
dev-python/importlib_metadata: Bump to 3.7.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_metadata')
-rw-r--r-- | dev-python/importlib_metadata/Manifest | 1 | ||||
-rw-r--r-- | dev-python/importlib_metadata/importlib_metadata-3.7.2.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index c596935b48ad..64b51cac20ea 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,3 +1,4 @@ DIST importlib_metadata-3.4.0.tar.gz 33841 BLAKE2B e2ac38c0f6fc5ecf78d3a4018715282b176f448e0a9f2cb16320812c1f9ca18f797b2ddfa85a96d83f6ff9540b486abcd8b5a38fa7f9261abbde4a88962e765d SHA512 d17aae60ca79ddb3c2e60218144e7a3e055b2807e8ca4e55f0d0c1ae428323ab7d832e4178dd05a60f1de2f157497a6261afa7baa8f91bec85d042303869fb67 DIST importlib_metadata-3.7.0.tar.gz 36517 BLAKE2B b96ac99bbc9ed7c961635a598d46bf409f11b008453123f3236feaf3650f7c6fe262c803dbf6b65bbe42ca4ea9990b559d3f03dde2287b19f0f7ff21668a3a3a SHA512 c11c503412cb5f18a235dbff13eb0d5b24a2a7510f32cb8fc4abec3259987de9e5a01692aef729c5d7c7fe597156b1317abc357d49726ef1026172995b080631 DIST importlib_metadata-3.7.1.tar.gz 36595 BLAKE2B c4eaf3671ec48610ce310a2609625ab77496252953c2d0567cc4824c39a8601ef99fb3ffd5d7968eb7aa358aaedf0ab81d87271afdddac68d7bd3a70971b153a SHA512 b301c6c72b185d893e5e400dbd9417b2ba94122073d6cb163c9e9949fb13762ddc57b34dbba1330b55bef47073fc72a6a4b5689adf9af819a68be603c9d64c9e +DIST importlib_metadata-3.7.2.tar.gz 36644 BLAKE2B 11e8f0c012d405a7059842fbc0aa1edfd8313a01b12b36e40c5a542b17f6ebe5284e945967f080c5934758820354f131df81e84d1fa4d5e6ac1660dac055a914 SHA512 ecf630c83c08895d566fbf3f435d4bfc5c0336dff1c682e6413598749c13720211aad4085dd7b9a88ca4218ef5514cd730a6f13c2c53be6cc349edd142106204 diff --git a/dev-python/importlib_metadata/importlib_metadata-3.7.2.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.7.2.ebuild new file mode 100644 index 000000000000..c7a1cf5de753 --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-3.7.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# NB: this package extends beyond built-in importlib stuff in py3.8+ +# new entry_point API not yet included in cpython release +PYTHON_COMPAT=( pypy3 python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Read metadata from Python packages" +HOMEPAGE="https://github.com/python/importlib_metadata" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' pypy3 python3_{7,8}) + ) +" + +distutils_enable_sphinx docs dev-python/jaraco-packaging dev-python/rst-linker +distutils_enable_tests unittest + +python_prepare_all() { + # Skip a test that requires pep517 which is not in the tree + sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die + + distutils-r1_python_prepare_all +} |