summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-23 19:42:25 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-23 19:43:33 +0100
commitbd1f824c94106f1e27fc4fca288a6afcf61d850a (patch)
tree5a63e657d91742b50ea96313533c5c1d24c76102
parentdev-python/exdown: Bump to 0.8.5 (diff)
downloadgentoo-bd1f824c94106f1e27fc4fca288a6afcf61d850a.tar.gz
gentoo-bd1f824c94106f1e27fc4fca288a6afcf61d850a.tar.bz2
gentoo-bd1f824c94106f1e27fc4fca288a6afcf61d850a.zip
dev-python/importlib_metadata: Bump to 3.5.0
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.5.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest
index c40bf9f21e0a..ce44a33fba34 100644
--- a/dev-python/importlib_metadata/Manifest
+++ b/dev-python/importlib_metadata/Manifest
@@ -1,2 +1,3 @@
DIST importlib_metadata-3.3.0.tar.gz 33549 BLAKE2B 6646cf7f8dbbeeadd7b4e9e572a59c14e2f17444dcd84aef817e27b299cbc3f0fa868657a59221a42ea8c49c5cc75e9e170a787df3e3014808d19eff1f89debf SHA512 af2215405b0f7e120d2745f3736d021174e611ad226abe64b496192a210e85786e78560349f1188deb3bffbfceb36385e9fbac20f4447aafb025a1d735c333ac
DIST importlib_metadata-3.4.0.tar.gz 33841 BLAKE2B e2ac38c0f6fc5ecf78d3a4018715282b176f448e0a9f2cb16320812c1f9ca18f797b2ddfa85a96d83f6ff9540b486abcd8b5a38fa7f9261abbde4a88962e765d SHA512 d17aae60ca79ddb3c2e60218144e7a3e055b2807e8ca4e55f0d0c1ae428323ab7d832e4178dd05a60f1de2f157497a6261afa7baa8f91bec85d042303869fb67
+DIST importlib_metadata-3.5.0.tar.gz 34528 BLAKE2B 589cd89639626a2fa70dc5e8e68c04b36e87cee59517c31b6cc68b5c7d0248a030a6bfb8641f199b3b59cc452ac2b9e3c05b993577f2b5fbed1f98e9b43abbf8 SHA512 711603d2dce7d9fae275348aa4b53671e0253e5321d97caa891094daeb7330cf40cf70a21586eeb5cc9da2f06171b3f811e5c583164f105e32250484c5e5f4b7
diff --git a/dev-python/importlib_metadata/importlib_metadata-3.5.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.5.0.ebuild
new file mode 100644
index 000000000000..753f44d0b774
--- /dev/null
+++ b/dev-python/importlib_metadata/importlib_metadata-3.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Included in Python >= 3.8
+PYTHON_COMPAT=( pypy3 python3_{7,8} )
+
+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/importlib_resources-1.3.0[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/pyfakefs[${PYTHON_USEDEP}]
+ )
+"
+
+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
+}