summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-24 01:16:49 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-24 01:19:30 +0100
commitfd36a52dc06b8ac3154dad698dddc35a699c1727 (patch)
tree3737029daad70d2448e0a80ad804d4215570d02b /dev-python/importlib_resources
parentdev-python/rebulk: Bump to 3.0.0 (diff)
downloadgentoo-fd36a52dc06b8ac3154dad698dddc35a699c1727.tar.gz
gentoo-fd36a52dc06b8ac3154dad698dddc35a699c1727.tar.bz2
gentoo-fd36a52dc06b8ac3154dad698dddc35a699c1727.zip
dev-python/importlib_resources: Bump to 4.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_resources')
-rw-r--r--dev-python/importlib_resources/Manifest1
-rw-r--r--dev-python/importlib_resources/importlib_resources-4.0.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest
index 7fb3697fc3bf..11343738c642 100644
--- a/dev-python/importlib_resources/Manifest
+++ b/dev-python/importlib_resources/Manifest
@@ -1,3 +1,4 @@
DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed
DIST importlib_resources-3.3.0.tar.gz 29000 BLAKE2B 5fb87c6e15f01733567fef060607da0625d32e415e294cfd5db94fb26e13d257763f2d3795c19ee7d10fc1fdc579fc0c34a484d28aff32c20553d18fafc7b850 SHA512 1fc03c9d141a094ca6ae0acb9ff0668a3f3aa76b47ce2149691b1d85d37a3ba9d329dbafd8b94961c537a4982cea1bd3ee34bac069819c51d725208f45b24172
DIST importlib_resources-3.3.1.tar.gz 29012 BLAKE2B ff4fc6eb6dd1ff89b873076b2709bcd6ed10c51388646560eeb929e8cb8a000329260ff093929163045ba32c0d00b9f797f9e06b9524445b1ef052e8a82a7f87 SHA512 3b484169362b7d7062655668a2035a77440a2e2b81708d41e339b6007e8140162d85cfc14fca464b059a649fcda31ef9718a08cdd2cf7c8e588ba3fafc08bb59
+DIST importlib_resources-4.0.0.tar.gz 27317 BLAKE2B 64cd01b650d82f2d3adf2a734a6da390073b190fbd8f8fd0a5be046931d78c93dcf16873477680fc14daadacdde629fcfd6f5d9cd89c7a5de56ba6c1ff4aad92 SHA512 0d5d175a814462db5bf29645f5d06e4cdff5c40ac1e022282690cba79e8f57885873956659952a086bdf7a1f3f7fbd78c1366030642ac8f6b40fa6df3056d6f1
diff --git a/dev-python/importlib_resources/importlib_resources-4.0.0.ebuild b/dev-python/importlib_resources/importlib_resources-4.0.0.ebuild
new file mode 100644
index 000000000000..b94ce8b4f431
--- /dev/null
+++ b/dev-python/importlib_resources/importlib_resources-4.0.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=( pypy3 python3_{6,7,8} )
+
+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 ~x64-macos"
+
+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