diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-25 06:40:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-25 06:42:40 +0200 |
commit | 10cf80dc301121c8dac1db4f0ccbb392a29a2fc5 (patch) | |
tree | 6f47ce2b174508bca10e0c62dacd6d75a1dd92e2 /dev-python/importlib-resources | |
parent | dev-util/stripe-mock: Bump to 0.185.0 (diff) | |
download | gentoo-10cf80dc301121c8dac1db4f0ccbb392a29a2fc5.tar.gz gentoo-10cf80dc301121c8dac1db4f0ccbb392a29a2fc5.tar.bz2 gentoo-10cf80dc301121c8dac1db4f0ccbb392a29a2fc5.zip |
dev-python/importlib-resources: Reintroduce at v6.4.0
The backport now carries changes from py3.12, and it is required
by dev-python/pypiserver.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib-resources')
-rw-r--r-- | dev-python/importlib-resources/Manifest | 1 | ||||
-rw-r--r-- | dev-python/importlib-resources/importlib-resources-6.4.0.ebuild | 30 | ||||
-rw-r--r-- | dev-python/importlib-resources/metadata.xml | 15 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/importlib-resources/Manifest b/dev-python/importlib-resources/Manifest new file mode 100644 index 000000000000..27040acd0be1 --- /dev/null +++ b/dev-python/importlib-resources/Manifest @@ -0,0 +1 @@ +DIST importlib_resources-6.4.0.tar.gz 42040 BLAKE2B 55b52a42051c6900af7b5b70783476a48398ae02539871a3f508df08fd5b4ec03bbe40980de8cd49a60cc022905a4ffdfd95b55d70e0cfb5d64497b02cc9b88f SHA512 c600e7ba96431f15a929e5acda89a262ceef33a3f44ae361fad4201dde8033dd8f0f2bcb856619fd5e21209a5d17cf9ae3610e65c3e6ecd0e36545437d0064b9 diff --git a/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild new file mode 100644 index 000000000000..b0112c8bb551 --- /dev/null +++ b/dev-python/importlib-resources/importlib-resources-6.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +# backport from py3.12 +PYTHON_COMPAT=( pypy3 python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Read resources from Python packages" +HOMEPAGE=" + https://github.com/python/importlib_resources/ + https://pypi.org/project/importlib-resources/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}] + >=dev-python/zipp-3.17[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/importlib-resources/metadata.xml b/dev-python/importlib-resources/metadata.xml new file mode 100644 index 000000000000..672c6b745d18 --- /dev/null +++ b/dev-python/importlib-resources/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">importlib-resources</remote-id> + <remote-id type="github">python/importlib_resources</remote-id> + <bugs-to>https://github.com/python/importlib_resources/issues</bugs-to> + <doc>https://importlib-resources.readthedocs.io/</doc> + </upstream> +</pkgmetadata> |