summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-16 21:58:21 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-16 22:05:10 +0100
commit62b36eb558496fcb447126539a32ef1a9df4cdeb (patch)
tree536eb117f8fbb19858bd2048908f131d323f92ea /dev-python/importlib_metadata
parentdev-python/python-utils: Bump to 2.6.0 (diff)
downloadgentoo-62b36eb558496fcb447126539a32ef1a9df4cdeb.tar.gz
gentoo-62b36eb558496fcb447126539a32ef1a9df4cdeb.tar.bz2
gentoo-62b36eb558496fcb447126539a32ef1a9df4cdeb.zip
dev-python/importlib_metadata: Bump to 4.8.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_metadata')
-rw-r--r--dev-python/importlib_metadata/Manifest1
-rw-r--r--dev-python/importlib_metadata/importlib_metadata-4.8.3.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest
index 6c7e4747e2df..400c5cc68855 100644
--- a/dev-python/importlib_metadata/Manifest
+++ b/dev-python/importlib_metadata/Manifest
@@ -1 +1,2 @@
DIST importlib_metadata-4.8.2.tar.gz 41791 BLAKE2B a89bbc955ef95fb91f79b49e77d91686ca45774c4c42b2d948a378370b39c96c6f021b29bfcd26ee51cb073ebde350a64b25cbdc4dd7e14ccaa3fb6b46eff4d2 SHA512 bdf90ef1c5a9c24dc139d32e9f9fa0b7a020ce4f840e6f80b8d7bb0204d8ea02ba532bce31213b0e449586418c2606a4d5edd64d6f312d6d6d55db6000e687ba
+DIST importlib_metadata-4.8.3.tar.gz 41979 BLAKE2B 7ead88b879a3c6a9d734d70f96c35e140f0d3d5c535bf2a1f927042d95589500a900e4a792500cb7eee0b36f04559e9686ebe3ef3f68dfa1e3f51e098826a768 SHA512 a2ef41a9024059fd9bb5f4571a59fbe55e16c9a0e14acc5c442c8b2579e53baf39b71e0bcefb80955786279620194f3b559f1207b9ffc0363f120feb798227cc
diff --git a/dev-python/importlib_metadata/importlib_metadata-4.8.3.ebuild b/dev-python/importlib_metadata/importlib_metadata-4.8.3.ebuild
new file mode 100644
index 000000000000..03ff76d7912b
--- /dev/null
+++ b/dev-python/importlib_metadata/importlib_metadata-4.8.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 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_{8..10} )
+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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ 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_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
+}