1 |
commit: 823a059a1664f367109ea686c8523025aac09270 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 05:57:21 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 05:57:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823a059a |
7 |
|
8 |
dev-python/importlib_resources: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/importlib_resources/Manifest | 1 - |
13 |
.../importlib_resources-5.8.0.ebuild | 46 ---------------------- |
14 |
2 files changed, 47 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest |
17 |
index 8240bf31791e..7fb8472ae87a 100644 |
18 |
--- a/dev-python/importlib_resources/Manifest |
19 |
+++ b/dev-python/importlib_resources/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST importlib_resources-5.8.0.tar.gz 31461 BLAKE2B ce6668520297cd7e06b944146277065cd1a0f5ae3f9e3bce24005f0f4a1181a41fa7f91f6b9ee9c0ef4caf7ca65c8efff748957c5c1a45c56778b30568970b36 SHA512 5c20a46a1832c7aaddfaa561a3986ea02dae59b94c06861757b6e5912f36624d564c65e184612af6e5930927a3172dc132ceb9846b0585de851d019c68cc8955 |
22 |
DIST importlib_resources-5.9.0.gh.tar.gz 32691 BLAKE2B bc922945d0577222e704ac3a5aa24cd6abb31c9b44f42c342e78f45fb035ee2b3843c437eba31bc8a73f609f6126390f4141c52b9eef15ff8bc7efc44233e81b SHA512 9054b633f3c9b3523ccfa2be93774d0aa4b0c2ab8bfb228f1e0bfbbc076362b416c9714409ff365aa5eae579554feedc8f2aeaa49c766db37ab669414eb22827 |
23 |
|
24 |
diff --git a/dev-python/importlib_resources/importlib_resources-5.8.0.ebuild b/dev-python/importlib_resources/importlib_resources-5.8.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index ee3ae9bcfbc7..000000000000 |
27 |
--- a/dev-python/importlib_resources/importlib_resources-5.8.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,46 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
34 |
-EAPI=7 |
35 |
- |
36 |
-DISTUTILS_USE_PEP517=flit |
37 |
-# This is a backport of Python 3.9's importlib.resources |
38 |
-PYTHON_COMPAT=( pypy3 python3_8 ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Read resources from Python packages" |
43 |
-HOMEPAGE=" |
44 |
- https://github.com/python/importlib_resources/ |
45 |
- https://pypi.org/project/importlib-resources/ |
46 |
-" |
47 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="Apache-2.0" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- $(python_gen_cond_dep ' |
55 |
- >=dev-python/zipp-3.7.0-r1[${PYTHON_USEDEP}] |
56 |
- ' 3.8 3.9) |
57 |
-" |
58 |
- |
59 |
-distutils_enable_tests unittest |
60 |
- |
61 |
-src_configure() { |
62 |
- grep -q 'build-backend = "setuptools' pyproject.toml || |
63 |
- die "Upstream changed build-backend, recheck" |
64 |
- # write a custom pyproject.toml to ease setuptools bootstrap |
65 |
- cat > pyproject.toml <<-EOF || die |
66 |
- [build-system] |
67 |
- requires = ["flit_core >=3.2,<4"] |
68 |
- build-backend = "flit_core.buildapi" |
69 |
- |
70 |
- [project] |
71 |
- name = "importlib_resources" |
72 |
- version = "${PV}" |
73 |
- description = "Read resources from Python packages" |
74 |
- EOF |
75 |
-} |