summaryrefslogtreecommitdiff
path: root/dev-python/importlib_resources
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-10-23 12:40:55 +0000
committerLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-10-23 12:40:55 +0000
commiteae24165b2b4a3fe9561d80630753ee9c64045aa (patch)
tree65fa4ec24e1a79ec2339d3e064ef7c31e79c6a10 /dev-python/importlib_resources
parented80378c5938b449906fc8843c74ccc5032dae62 (diff)
downloadbaldeagleos-repo-eae24165b2b4a3fe9561d80630753ee9c64045aa.tar.gz
baldeagleos-repo-eae24165b2b4a3fe9561d80630753ee9c64045aa.tar.xz
baldeagleos-repo-eae24165b2b4a3fe9561d80630753ee9c64045aa.zip
Updating liguros repo
Diffstat (limited to 'dev-python/importlib_resources')
-rw-r--r--dev-python/importlib_resources/Manifest1
-rw-r--r--dev-python/importlib_resources/importlib_resources-3.1.0.ebuild30
-rw-r--r--dev-python/importlib_resources/metadata.xml14
3 files changed, 38 insertions, 7 deletions
diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest
index b15eabb3a070..9dfbc236e496 100644
--- a/dev-python/importlib_resources/Manifest
+++ b/dev-python/importlib_resources/Manifest
@@ -1,2 +1,3 @@
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.1.0.tar.gz 27630 BLAKE2B fbfa4464580c7ec8a880161a3e28c9fc783676ddbc5470e419cdabe7fc7c037a59fb6a29dcc9cc523ad47b2624e0df4738cfe6e7bbf09704f4512c96eb34474f SHA512 0f659afc3f65d7245c137fe447606e138391bddbdcc1cfacafe94bcb557245d8f576d4d489f209047a0cbc2a60e79e37ee9419062c7472f12e0aee0acec7056a
diff --git a/dev-python/importlib_resources/importlib_resources-3.1.0.ebuild b/dev-python/importlib_resources/importlib_resources-3.1.0.ebuild
new file mode 100644
index 000000000000..0b790a02dd70
--- /dev/null
+++ b/dev-python/importlib_resources/importlib_resources-3.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# This is a backport of Python 3.9's importlib.resources
+PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Read resources from Python packages"
+HOMEPAGE="https://github.com/python/importlib_resources"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/zipp[${PYTHON_USEDEP}]
+ ' pypy3 python3_{6,7})
+"
+BDEPEND="
+ dev-python/toml[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging
diff --git a/dev-python/importlib_resources/metadata.xml b/dev-python/importlib_resources/metadata.xml
index a338efdac6af..e17f228d9bbf 100644
--- a/dev-python/importlib_resources/metadata.xml
+++ b/dev-python/importlib_resources/metadata.xml
@@ -10,16 +10,16 @@
<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>
<origin>gentoo-staging</origin>
</pkgmetadata>