summaryrefslogtreecommitdiff
path: root/dev-python/importlib_resources
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/importlib_resources
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/importlib_resources')
-rw-r--r--dev-python/importlib_resources/Manifest6
-rw-r--r--dev-python/importlib_resources/importlib_resources-3.3.0.ebuild (renamed from dev-python/importlib_resources/importlib_resources-3.0.0-r2.ebuild)21
-rw-r--r--dev-python/importlib_resources/metadata.xml14
3 files changed, 12 insertions, 29 deletions
diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest
index d920110b90f9..1ee398bcfb55 100644
--- a/dev-python/importlib_resources/Manifest
+++ b/dev-python/importlib_resources/Manifest
@@ -1,5 +1,5 @@
DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed
-DIST importlib_resources-3.0.0.tar.gz 26725 BLAKE2B e2517b0d1e576ce949ac05230892acbad59c09fa4b84401b3c957e83f40b50d12bc02360b135fe949d12c43f8f557006824e4e4a3e9ff2ce879c03362569a00c SHA512 cd29e268cacef3729024af6cae8394ce5aa8c1d8a28397fd8f009c7eaa908ed3775508bde86c26b0d233c25261b8509abb1e16c378c7c8a9bb0906224f3fdd54
+DIST importlib_resources-3.3.0.tar.gz 29000 BLAKE2B 5fb87c6e15f01733567fef060607da0625d32e415e294cfd5db94fb26e13d257763f2d3795c19ee7d10fc1fdc579fc0c34a484d28aff32c20553d18fafc7b850 SHA512 1fc03c9d141a094ca6ae0acb9ff0668a3f3aa76b47ce2149691b1d85d37a3ba9d329dbafd8b94961c537a4982cea1bd3ee34bac069819c51d725208f45b24172
EBUILD importlib_resources-1.5.0-r2.ebuild 1274 BLAKE2B af0f9bd476e6cd42024080fc1ed465e2f546bc0d65fc400d0a3d5518216c503824ee52393b65bb6e50f23d3e6aec2ad0542ccea298e9c90dc7c4fdc6912e8d0e SHA512 91c50f9f545bbbc89faf1e217e8f20904c26ea8de9eb29ad7f5f1c508f32be44f027afda80c03b2b7f730f5c81bd9b1ee283d83995d43dedcf2357142957d455
-EBUILD importlib_resources-3.0.0-r2.ebuild 1243 BLAKE2B e0cf8409055b08ff738d2c0fc783c93c20748522c803d68a363ce9e1c4ea43d88f2bc80010ce1101a3bf97cd3a60fecd4c56415edcc0b59083ab3972244f8868 SHA512 7cab1d304d9ad744546cdbf3a5b8132a7dc4024d2cb5032e4e09448e427577d62219d8b71f4ea73617e2e23ba41e597e4bcb97c0a18917482aa203570b2680e2
-MISC metadata.xml 895 BLAKE2B fadc4adcee6471eb31d5a1b406c9a6a29e366a50abcee105a08456b432e9a42352afdf7d08f37c3ee6100f1f57080bce2a32770b3fda96bedebfa7958957975f SHA512 6802c03cfc8049146dbbef1ff6462cb2eb01f18048a857ff0050af8e15367bff8e40521c989fcdc68c95b2025d2b7af09015f99c279ee504d556165687d7fa36
+EBUILD importlib_resources-3.3.0.ebuild 825 BLAKE2B aa427b7a50a4ebe084d24751d61cf16dd5414800f1f72388ff7a1a9b050c24e967db3bd976bf369c69bbb1cd15915f56f60d69963528cc1303516ed43f0da0b2 SHA512 c47cea106bad1aa6ad2e289bc2de3fddc2fa5d0fb53bb802b4c2799d474baa864bea684c20433719b22044164edca37acaa76a5b5556f7a9d3586eb8ae70384c
+MISC metadata.xml 920 BLAKE2B 4831ad36ad148117665fa2ae6bd3e34ccd86b2a3a7d3ce1c3c7e36d61ffb9abd25c8a8943ed3bf708b69a9d4250a6f565cd1b228832c8b00fb54114e4a1f62e8 SHA512 3ed33c39bc2b8a4dca4e136ff7db6b92181bcc90b1c9979dc2e881855c52f414ef2ad2db6a6333fc377dbabff111ac9baff3ddedbcb6152a2bcffc4983d7cf26
diff --git a/dev-python/importlib_resources/importlib_resources-3.0.0-r2.ebuild b/dev-python/importlib_resources/importlib_resources-3.3.0.ebuild
index 4bd76ce40588..49e25f9954b1 100644
--- a/dev-python/importlib_resources/importlib_resources-3.0.0-r2.ebuild
+++ b/dev-python/importlib_resources/importlib_resources-3.3.0.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Read resources from Python packages"
-HOMEPAGE="https://importlib-resources.readthedocs.io/en/latest/"
+HOMEPAGE="https://github.com/python/importlib_resources"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
@@ -18,14 +18,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~
RDEPEND="
$(python_gen_cond_dep '
- dev-python/contextlib2[${PYTHON_USEDEP}]
- dev-python/pathlib2[${PYTHON_USEDEP}]
- dev-python/singledispatch[${PYTHON_USEDEP}]
- dev-python/typing[${PYTHON_USEDEP}]
- ' -2)
- $(python_gen_cond_dep '
dev-python/zipp[${PYTHON_USEDEP}]
- ' -2 pypy3 python3_{6,7})
+ ' pypy3 python3_{6,7})
"
BDEPEND="
dev-python/toml[${PYTHON_USEDEP}]
@@ -34,14 +28,3 @@ BDEPEND="
distutils_enable_tests unittest
distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging
-
-python_compile() {
- distutils-r1_python_compile
- if ! python_is_python3; then
- rm "${BUILD_DIR}/lib/importlib_resources/_py3.py" || die
- fi
-}
-
-python_install() {
- distutils-r1_python_install --skip-build
-}
diff --git a/dev-python/importlib_resources/metadata.xml b/dev-python/importlib_resources/metadata.xml
index 0ef87864b431..45769af04132 100644
--- a/dev-python/importlib_resources/metadata.xml
+++ b/dev-python/importlib_resources/metadata.xml
@@ -10,15 +10,15 @@
<name>Python</name>
</maintainer>
<longdescription>
- Backport of Python 3.7’s standard library importlib.resources
- module for Python 2.7, and 3.4 through 3.6. Users of Python
- 3.7 and beyond are encouraged to use the standard library
- module, and in fact for these versions, importlib_resources
- just shadows that module.
+ Backport of Python standard library importlib.resources module
+ for Python 2.7, and 3.4 through 3.8. Users of Python 3.9 and beyond
+ should use the standard library module, since for these versions,
+ importlib_resources just delegates to that module.
</longdescription>
<upstream>
- <remote-id type="gitlab">python-devs/importlib_resources</remote-id>
+ <remote-id type="github">python/importlib_resources</remote-id>
<remote-id type="pypi">importlib_resources</remote-id>
- <bugs-to>https://gitlab.com/python-devs/importlib_resources/issues</bugs-to>
+ <bugs-to>https://github.com/python/importlib_resources/issues</bugs-to>
+ <doc>https://importlib-resources.readthedocs.io/</doc>
</upstream>
</pkgmetadata>