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: Wed, 23 Dec 2020 08:29:12
Message-Id: 1608712137.a3a355fd6ee6b563ee6c8c903e2cc5e3f4c2a486.mgorny@gentoo
1 commit: a3a355fd6ee6b563ee6c8c903e2cc5e3f4c2a486
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 08:17:24 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 08:28:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a355fd
7
8 dev-python/importlib_resources: Bump to 3.3.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/importlib_resources/Manifest | 1 +
13 .../importlib_resources-3.3.1.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest
17 index ee4416ed4dc..7fb3697fc3b 100644
18 --- a/dev-python/importlib_resources/Manifest
19 +++ b/dev-python/importlib_resources/Manifest
20 @@ -1,2 +1,3 @@
21 DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed
22 DIST importlib_resources-3.3.0.tar.gz 29000 BLAKE2B 5fb87c6e15f01733567fef060607da0625d32e415e294cfd5db94fb26e13d257763f2d3795c19ee7d10fc1fdc579fc0c34a484d28aff32c20553d18fafc7b850 SHA512 1fc03c9d141a094ca6ae0acb9ff0668a3f3aa76b47ce2149691b1d85d37a3ba9d329dbafd8b94961c537a4982cea1bd3ee34bac069819c51d725208f45b24172
23 +DIST importlib_resources-3.3.1.tar.gz 29012 BLAKE2B ff4fc6eb6dd1ff89b873076b2709bcd6ed10c51388646560eeb929e8cb8a000329260ff093929163045ba32c0d00b9f797f9e06b9524445b1ef052e8a82a7f87 SHA512 3b484169362b7d7062655668a2035a77440a2e2b81708d41e339b6007e8140162d85cfc14fca464b059a649fcda31ef9718a08cdd2cf7c8e588ba3fafc08bb59
24
25 diff --git a/dev-python/importlib_resources/importlib_resources-3.3.1.ebuild b/dev-python/importlib_resources/importlib_resources-3.3.1.ebuild
26 new file mode 100644
27 index 00000000000..b94ce8b4f43
28 --- /dev/null
29 +++ b/dev-python/importlib_resources/importlib_resources-3.3.1.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +# This is a backport of Python 3.9's importlib.resources
37 +PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
38 +
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[${PYTHON_USEDEP}]
52 + ' pypy3 python3_{6,7})
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