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_metadata/
Date: Tue, 23 Feb 2021 18:43:47
Message-Id: 1614105813.bd1f824c94106f1e27fc4fca288a6afcf61d850a.mgorny@gentoo
1 commit: bd1f824c94106f1e27fc4fca288a6afcf61d850a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 23 18:42:25 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 18:43:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd1f824c
7
8 dev-python/importlib_metadata: Bump to 3.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/importlib_metadata/Manifest | 1 +
13 .../importlib_metadata-3.5.0.ebuild | 40 ++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest
17 index c40bf9f21e0..ce44a33fba3 100644
18 --- a/dev-python/importlib_metadata/Manifest
19 +++ b/dev-python/importlib_metadata/Manifest
20 @@ -1,2 +1,3 @@
21 DIST importlib_metadata-3.3.0.tar.gz 33549 BLAKE2B 6646cf7f8dbbeeadd7b4e9e572a59c14e2f17444dcd84aef817e27b299cbc3f0fa868657a59221a42ea8c49c5cc75e9e170a787df3e3014808d19eff1f89debf SHA512 af2215405b0f7e120d2745f3736d021174e611ad226abe64b496192a210e85786e78560349f1188deb3bffbfceb36385e9fbac20f4447aafb025a1d735c333ac
22 DIST importlib_metadata-3.4.0.tar.gz 33841 BLAKE2B e2ac38c0f6fc5ecf78d3a4018715282b176f448e0a9f2cb16320812c1f9ca18f797b2ddfa85a96d83f6ff9540b486abcd8b5a38fa7f9261abbde4a88962e765d SHA512 d17aae60ca79ddb3c2e60218144e7a3e055b2807e8ca4e55f0d0c1ae428323ab7d832e4178dd05a60f1de2f157497a6261afa7baa8f91bec85d042303869fb67
23 +DIST importlib_metadata-3.5.0.tar.gz 34528 BLAKE2B 589cd89639626a2fa70dc5e8e68c04b36e87cee59517c31b6cc68b5c7d0248a030a6bfb8641f199b3b59cc452ac2b9e3c05b993577f2b5fbed1f98e9b43abbf8 SHA512 711603d2dce7d9fae275348aa4b53671e0253e5321d97caa891094daeb7330cf40cf70a21586eeb5cc9da2f06171b3f811e5c583164f105e32250484c5e5f4b7
24
25 diff --git a/dev-python/importlib_metadata/importlib_metadata-3.5.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.5.0.ebuild
26 new file mode 100644
27 index 00000000000..753f44d0b77
28 --- /dev/null
29 +++ b/dev-python/importlib_metadata/importlib_metadata-3.5.0.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +# Included in Python >= 3.8
37 +PYTHON_COMPAT=( pypy3 python3_{7,8} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Read metadata from Python packages"
42 +HOMEPAGE="https://github.com/python/importlib_metadata"
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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
48 +
49 +RDEPEND="
50 + $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_{6,7})
51 + dev-python/zipp[${PYTHON_USEDEP}]
52 +"
53 +BDEPEND="
54 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
55 + test? (
56 + >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}]
57 + dev-python/packaging[${PYTHON_USEDEP}]
58 + dev-python/pyfakefs[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +distutils_enable_sphinx docs dev-python/jaraco-packaging dev-python/rst-linker
63 +distutils_enable_tests unittest
64 +
65 +python_prepare_all() {
66 + # Skip a test that requires pep517 which is not in the tree
67 + sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die
68 +
69 + distutils-r1_python_prepare_all
70 +}