summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-08 08:13:03 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-08 09:30:04 +0200
commit3d00954acdaac140bf78f71a8d00a59185d515a7 (patch)
treeeef0be1f1ae3b6fd76274e2f64d486f27ee2627b /dev-python/importlib-metadata
parentdev-python/importlib-resources: Bump to 6.0.0 (diff)
downloadgentoo-3d00954acdaac140bf78f71a8d00a59185d515a7.tar.gz
gentoo-3d00954acdaac140bf78f71a8d00a59185d515a7.tar.bz2
gentoo-3d00954acdaac140bf78f71a8d00a59185d515a7.zip
dev-python/importlib-metadata: Bump to 6.8.0
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-6.8.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/importlib-metadata/Manifest b/dev-python/importlib-metadata/Manifest
index dc41d20a77b4..5e5ffe08b6c5 100644
--- a/dev-python/importlib-metadata/Manifest
+++ b/dev-python/importlib-metadata/Manifest
@@ -1,2 +1,3 @@
DIST importlib_metadata-6.6.0.tar.gz 53379 BLAKE2B 1de02ce55dc4996d5c7cb221c77ce0b7203ab38e37d0700b5044fc44727737332e02d9da052210b687da817b467eb40708621e85ee5b2501fb2228a9890f259e SHA512 19a24ff5cd7a81caca09b6d273f509880f5c84d5f1683422bb2ec201eb15866ee0f155b7885eec97ac5e53342bb860767b1125c62bc44b7d5c1984f62068c6b2
DIST importlib_metadata-6.7.0.tar.gz 53569 BLAKE2B 099c375f383bc795beca1cdb77464b906db5600be300f39409adb0a332bdbe24fe2d294ec3e64bf8d02512a9856334aa4fe76b50870b944eb137daa417adb66d SHA512 b69b0c6bf5e0da23e59c2c873d41762811be55fb59ead18e9afa68e195026ba5c4cc58b329440dad04bfe8b8f74e1167332087dbc7dda7bd7dade9e392a7f5ef
+DIST importlib_metadata-6.8.0.tar.gz 53494 BLAKE2B b4bb1b423cb470f5aa26d763e459f40a49b3163fc74d2d0e1883e1308c775393ebcbd369bbc4233398e38190ba683ffd7e14c0b355a289daa81eaeddbb7d1414 SHA512 04746aac8278f2fb0064df36a558890a0c9de7c8e61c31d7548ff8ad27091e3dcbda79903eb01053f7ad85b91274d92ded40b730c095ad56672427ab17e3f921
diff --git a/dev-python/importlib-metadata/importlib-metadata-6.8.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-6.8.0.ebuild
new file mode 100644
index 000000000000..f720c9a802f0
--- /dev/null
+++ b/dev-python/importlib-metadata/importlib-metadata-6.8.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+# 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_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Read metadata from Python packages"
+HOMEPAGE="
+ https://github.com/python/importlib_metadata/
+ https://pypi.org/project/importlib-metadata/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+ dev-python/zipp[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/pyfakefs[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+
+src_configure() {
+ grep -q 'build-backend = "setuptools' pyproject.toml ||
+ die "Upstream changed build-backend, recheck"
+ # write a custom pyproject.toml to ease setuptools bootstrap
+ cat > pyproject.toml <<-EOF || die
+ [build-system]
+ requires = ["flit_core >=3.2,<4"]
+ build-backend = "flit_core.buildapi"
+
+ [project]
+ name = "importlib_metadata"
+ version = "${PV}"
+ description = "Read metadata from Python packages"
+ EOF
+}