dev-python/importlib-metadata: Bump to 8.6.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-21 05:04:44 +01:00
parent 08fe474d64
commit deb3d29ed8
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST importlib_metadata-8.5.0.tar.gz 55304 BLAKE2B 801d7edaed5a42ef5c871830286e698620cd06cde43178c1ab65a5d35f6055fdd2a02b0f14bada94704a13a6708ea3091e634548e534df2df92d942c83192c3b SHA512 86ceb3ff408705565628b71a740a9e9123eee4b49e2ad029b9ee204548a78257dfefe9756194ce660939806f75983dd4b858dacd642b40fddc4188e699ef4e19
DIST importlib_metadata-8.6.1.tar.gz 55767 BLAKE2B 206263c5d6c9e0d02bb7acd063f8ef3392ae183a39808949ba6780816fd01cd7787797c378bceb377b85384739184a01cee6ee5c8a3f241b63d0be760455be32 SHA512 4e7ecb05c6c6102f24fe896772942137edfc57257f2f12e3add3ee771ff4146e0ee6a23fd6e3e9ab7e4547d2ab573ad8d21bdd0746b7039d2421f3ba6968eede

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2025 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..13} )
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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
RDEPEND="
>=dev-python/zipp-3.20[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}]
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
}