summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-29 09:44:48 +0200
committerMichał Górny <mgorny@gentoo.org>2021-03-29 09:46:54 +0200
commitc4b8b46c3422f557af5754c170b5a4bf7243c4c4 (patch)
tree41a287d174cfb92290aa04238d352e2b63c95d77
parentdev-python/jaraco-collections: Bump to 3.3.0 (diff)
downloadgentoo-c4b8b46c3422f557af5754c170b5a4bf7243c4c4.tar.gz
gentoo-c4b8b46c3422f557af5754c170b5a4bf7243c4c4.tar.bz2
gentoo-c4b8b46c3422f557af5754c170b5a4bf7243c4c4.zip
dev-python/importlib_metadata: Bump to 3.8.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/importlib_metadata/Manifest1
-rw-r--r--dev-python/importlib_metadata/importlib_metadata-3.8.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest
index 699e3a91dcd7..c6000ad587c0 100644
--- a/dev-python/importlib_metadata/Manifest
+++ b/dev-python/importlib_metadata/Manifest
@@ -5,3 +5,4 @@ DIST importlib_metadata-3.7.2.tar.gz 36644 BLAKE2B 11e8f0c012d405a7059842fbc0aa1
DIST importlib_metadata-3.7.3.tar.gz 37193 BLAKE2B 0de5f4ece99db9ec4f86e9b967c8583d06a5bda939a7bdb137dba3c6a9d7fd034802d9fa0eb5bf209ae5ada89ebd0f3120557d3fa2b300739ebff2ff1bb6edb8 SHA512 1d6ee80edb3e5efb56deb0676ef42ba72fdaf124504023954cb3b1192e5378c3370a35b5e77708f3d9a19c02f0d89a1ba08a919a7aaec5e284f54c2eb3c61fc1
DIST importlib_metadata-3.8.0.tar.gz 38515 BLAKE2B ba5e06f8a43632dedcb1cb10007dbc7978b33c9a264e3ddc743855f44c932a00b05bae810a1d6621742a75161ef828bd9523045a023f657a24dab6d7e36bc1bf SHA512 2c336457accf8b33426e73632c90ea46720230822826b683365e5a32fe89c2fccfd45843613d9631cbbe926c03418ba107609ea85fead88ab2f9b9b18c67ddb5
DIST importlib_metadata-3.8.1.tar.gz 38548 BLAKE2B 7f8f73e13a167bce0b7299b117058e00fd8b7c936af55fa04b5c6202192e6cb46d66d3b1b31621827e68678b3e270c203b452c8441941c5bf6a0eb7e2cad1e28 SHA512 503a30293e8ba67478bd26aaf598da931384ef356b9d046dbceeec4105794368d9689bf3744019caf7419e70d032ee544e860c79bd63b1f4b58341490d7d2f97
+DIST importlib_metadata-3.8.2.tar.gz 38973 BLAKE2B 40b001870608003a9beaa513e5f7dad0217884719a78a64dd74bad3db275ac30bc226d57f61aa644fcd0425bc69e06ce66555aa92132e89d36ecd5519c7d32d9 SHA512 c4ca5055c759b588b42708a9ca903d4cda91614385cc39016c5126e37e1f3bd0faafe7ec0cf6d58553ac71c1a028f0f74d0ba3d66135e97d75b051ea4f71cbeb
diff --git a/dev-python/importlib_metadata/importlib_metadata-3.8.2.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.8.2.ebuild
new file mode 100644
index 000000000000..c7a1cf5de753
--- /dev/null
+++ b/dev-python/importlib_metadata/importlib_metadata-3.8.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
+}