diff options
Diffstat (limited to 'dev-python/importlib_metadata')
-rw-r--r-- | dev-python/importlib_metadata/Manifest | 2 | ||||
-rw-r--r-- | dev-python/importlib_metadata/importlib_metadata-6.4.1.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index 5d331bec4559..21935d0b2c59 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,5 +1,7 @@ DIST importlib_metadata-6.0.1.tar.gz 49963 BLAKE2B 8f915035334965ae373977814d335b66028f85372f96a9815fe3e59ca346b60d64c16e147e8a9d1ce44e26b31851dcfbda84002fc1a0d93c0d154115f5acec4e SHA512 9ee241a8865d181fae103e643ae618f46541ba9aab299df32892739db991d78b4199df436f77d7c28aeb736e4c2cfb38301cb7133d8baff3c149f4421e0431a1 DIST importlib_metadata-6.3.0.tar.gz 52838 BLAKE2B 9d7e247f712de55c079720118d5ab27731b305143b69cd425d3e720e223888740a17818263125c9db9f64f7a715efe2922722c6328474926d05db4753c699185 SHA512 bf6b4961d2e98e873f6842b6ee348dde9445e7aa1faf2c599a9908439312b03a532db5978a5311d60d8d992be0b882b2b496bf721a6af2ef7f14032758055cb4 +DIST importlib_metadata-6.4.1.tar.gz 52684 BLAKE2B 216e0ee6d1775b3734b15919c6c5fc9b557fccf106b83bec6388bc514557dc16f6ef7a9ba15e9cd1686fa85aecffc10829f80c6d42e984b8da3b1dfc982aca07 SHA512 925336d321872a01b8c1b6384fa494c912d69531c5c9c991af43b09690a40aa5aaa2e9c6f47345ed8ee7e0d6b632758c4111a5558b5bf1b659b99cad0bae908c EBUILD importlib_metadata-6.0.1.ebuild 1491 BLAKE2B 716b361e65cc00524853b7b6626eb813abd547594199ef1ee5b49f5af6093897fb5cd262d9a5eebf70fb79d4cbfdcad47ad65885d0790155b05a373659ed10c6 SHA512 9a6d6a0db7b90e3a2c4d329abb875168fbfeedc256d25320cfcf248a09b027a02e3dd439e938a64cbf560be746bb44ea76352584e92778976774f769010cbd11 EBUILD importlib_metadata-6.3.0.ebuild 1499 BLAKE2B 7fa11d410c84a54a456773d3e41cd8bb3738b7ecbe4732d7b42a32aa5c34f929ce48b6b4e79292ab6889366f21020d50581bb23228c511e2075e005130c57b36 SHA512 9eca0ca6e0d6f36e9d11f5e5bae015476949e9e8347ebf76e8b34ca1c599cff206d1be86b5e340a22c0e0dcaacf81dd6566f28a3fd5d40f28987dc15244245a0 +EBUILD importlib_metadata-6.4.1.ebuild 1499 BLAKE2B 7fa11d410c84a54a456773d3e41cd8bb3738b7ecbe4732d7b42a32aa5c34f929ce48b6b4e79292ab6889366f21020d50581bb23228c511e2075e005130c57b36 SHA512 9eca0ca6e0d6f36e9d11f5e5bae015476949e9e8347ebf76e8b34ca1c599cff206d1be86b5e340a22c0e0dcaacf81dd6566f28a3fd5d40f28987dc15244245a0 MISC metadata.xml 540 BLAKE2B aa3ac97002fae5cb12dd2a8bab724322fa7a2ccea0b8b8b7e46a9e27e9566493b12a795e47724b703a74387b3805e925cc0b042a020e2a2e7862f74455b87809 SHA512 bc20e7317e1ea93d3d06666830bf32e00be6d50b1b8fb47d8092b3a80078a575e04c2cdbf9b78a17dbd1af23ae1d75766e62005ebf2942359ddd71867e8d9a12 diff --git a/dev-python/importlib_metadata/importlib_metadata-6.4.1.ebuild b/dev-python/importlib_metadata/importlib_metadata-6.4.1.ebuild new file mode 100644 index 000000000000..94609d071b76 --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-6.4.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 +} |