summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-04-22 06:35:38 +0200
committerMichał Górny <mgorny@gentoo.org>2023-04-22 08:17:07 +0200
commit7e911eb77f4cb9845061e33ab3b0e50f917f5b8f (patch)
treefd4568c87dfc6ab73ef6bace884a92eaf6ce8c92 /dev-python/importlib-metadata
parentapp-admin/awscli: Bump to 1.27.118 (diff)
downloadgentoo-7e911eb77f4cb9845061e33ab3b0e50f917f5b8f.tar.gz
gentoo-7e911eb77f4cb9845061e33ab3b0e50f917f5b8f.tar.bz2
gentoo-7e911eb77f4cb9845061e33ab3b0e50f917f5b8f.zip
dev-python/importlib-metadata: Bump to 6.5.1
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.5.1.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/importlib-metadata/Manifest b/dev-python/importlib-metadata/Manifest
index e4d40bde7d54..a13ef2130a74 100644
--- a/dev-python/importlib-metadata/Manifest
+++ b/dev-python/importlib-metadata/Manifest
@@ -1,2 +1,3 @@
DIST importlib_metadata-6.0.1.tar.gz 49963 BLAKE2B 8f915035334965ae373977814d335b66028f85372f96a9815fe3e59ca346b60d64c16e147e8a9d1ce44e26b31851dcfbda84002fc1a0d93c0d154115f5acec4e SHA512 9ee241a8865d181fae103e643ae618f46541ba9aab299df32892739db991d78b4199df436f77d7c28aeb736e4c2cfb38301cb7133d8baff3c149f4421e0431a1
DIST importlib_metadata-6.5.0.tar.gz 53101 BLAKE2B a22b48f3ea927c9588fc15f4731c8ffd2a51fb3544c0c74ab48d44a3949f2d981c63aa3714914e02ac3a8035ca0a0e726f790672fbad9e39e3158e251d90f7c5 SHA512 c581ff46d601a239ba9e83114a18b1fc5c0245c215752b8313624fbef6b441eac7cebd4e021d09f12d26ba30715b99475eeeb66befc49bcd609f1b53b79f9bfd
+DIST importlib_metadata-6.5.1.tar.gz 53080 BLAKE2B 9227d37e6e74e255cb93f3daecc4c1fbb34c4b7af5ab172f454aa514d41bcb061f96dd94757984da979192ec72e8fb7d8e02b688d834004ec077c8e0fdd05dfd SHA512 e7d0db1d16f31be3613aabae74d5fa2d75b122f622d87aa9e20e65662244f108af715f2cb2dcaeb43f9dccb1ad7c8a6f7f7ec1f17fbcd1ddd1b4c4febb9ef8e8
diff --git a/dev-python/importlib-metadata/importlib-metadata-6.5.1.ebuild b/dev-python/importlib-metadata/importlib-metadata-6.5.1.ebuild
new file mode 100644
index 000000000000..9c9a3496dc21
--- /dev/null
+++ b/dev-python/importlib-metadata/importlib-metadata-6.5.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+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_{9..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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+ dev-python/zipp[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/pyfakefs[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/importlib-resources[${PYTHON_USEDEP}]
+ ' 3.8)
+ )
+"
+
+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
+}