Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/importlib_resources/
Date: Sun, 31 Oct 2021 07:12:38
Message-Id: 1635664348.e6f9736a905c3e5ce1aa732434e5962f6ea0adfb.mgorny@gentoo
1 commit: e6f9736a905c3e5ce1aa732434e5962f6ea0adfb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 06:50:12 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 07:12:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f9736a
7
8 dev-python/importlib_resources: Bump to 5.4.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/importlib_resources/Manifest | 1 +
13 .../importlib_resources-5.4.0.ebuild | 29 ++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest
17 index 7829363329b..11308cb51c0 100644
18 --- a/dev-python/importlib_resources/Manifest
19 +++ b/dev-python/importlib_resources/Manifest
20 @@ -1,3 +1,4 @@
21 DIST importlib_resources-5.2.2.tar.gz 29651 BLAKE2B dde545a3f104c799432d7a2b6dbea6f071b82d0b6e3660384e2e0ab3c36eee8942b9f248a6139c708020c617bf0e0dce7fbbd5e06cb0bd192a0296fac6350b51 SHA512 7af9aceece4dd25ad827310fde100a4b0b5e0aee03dfeba8789db060e4decafc543784046c2e9eee95d8cab61845c50e4bb0543bb20ae7e1e480aaa80c88fa27
22 DIST importlib_resources-5.2.3.tar.gz 30055 BLAKE2B 72d4ff3d5ac974e68063673af980d70644477e4cf7e1c56b0a8b4a69009abbb112867d6527310c2ec37b1a51e343283f8ee153728a1e94654cea7181d0b4f2df SHA512 97c4f99c184d82d198e75240bd262c18ec0496e07e8eeec2451da8c427500859a1b6677ab044d2e36e87f0c4da439757e13d00f8aa9955db17111487594852b6
23 DIST importlib_resources-5.3.0.tar.gz 30784 BLAKE2B 876d9bdc1360eecc973f53d6d3397db5708dda1b0f30e5a10d372535f0831cc0fcdcc0b361412df8a1f4453f27315e6547096e14ec7bdbcd1d1af41778d5dd39 SHA512 ad5a0d5b72e8e49a158254d7146411a86bacda3d9019867bad92e8209dd924ae0928dfe46b574967975622d0809d4e1693dab4b6bf8d78867b09cac8c424072c
24 +DIST importlib_resources-5.4.0.tar.gz 30554 BLAKE2B f5be47cb63813aea15f65d251115cf398f695041871fdf6e8885fee11d9a9d7a2fbfd07efd494bd7c91077f99ab871e06d45f49de9f7e501a1691601206bfb55 SHA512 9262c185bdf79fad0a11caabc5c5df836702a74e140a9f60ace857e3f6a60fdb091639b2fb7129b17bad5a46968f43dda7d176fe39af495370dd31f04891fb1b
25
26 diff --git a/dev-python/importlib_resources/importlib_resources-5.4.0.ebuild b/dev-python/importlib_resources/importlib_resources-5.4.0.ebuild
27 new file mode 100644
28 index 00000000000..e844671db23
29 --- /dev/null
30 +++ b/dev-python/importlib_resources/importlib_resources-5.4.0.ebuild
31 @@ -0,0 +1,29 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +# This is a backport of Python 3.9's importlib.resources
38 +PYTHON_COMPAT=( pypy3 python3_8 )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Read resources from Python packages"
42 +HOMEPAGE="https://github.com/python/importlib_resources"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
48 +
49 +RDEPEND="
50 + $(python_gen_cond_dep '
51 + >=dev-python/zipp-3.1.0[${PYTHON_USEDEP}]
52 + ' pypy3)
53 +"
54 +BDEPEND="
55 + dev-python/toml[${PYTHON_USEDEP}]
56 + >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
57 +"
58 +
59 +distutils_enable_tests unittest
60 +distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging