1 |
commit: 7c017a63243ebd9085440dd9558babb1bf6ae2d7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 11 16:52:51 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 17:33:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c017a63 |
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-1.0.2-r1.ebuild | 50 ---------------------- |
14 |
2 files changed, 51 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest |
17 |
index 196a4514ec3..cef84d9596a 100644 |
18 |
--- a/dev-python/importlib_resources/Manifest |
19 |
+++ b/dev-python/importlib_resources/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST importlib_resources-1.0.2.tar.gz 23602 BLAKE2B 24c27b45ec56d3838b039baf2ebc1e0c5ec582d5cfdeb5cf26587255bf8b32aa1fcf43802cabca3b82b3ddec8cdf2616d10489c3c1aca77c9fa91af1f25ef9e7 SHA512 50bfc5130a2c9c9354efef1cd7132e805ed0f13467ba67172f83e11d907212bef3957aeef51fd904b73996c8280008d99c918637956a470448dfd67ef4807f82 |
22 |
DIST importlib_resources-1.4.0.tar.gz 23220 BLAKE2B d494615ba39620e772552b09637e280e0b72b16352387592423f824b67af315da1a0749e0dde8e55d3e0e04848a3c43802c12f20c79c5a067de0a3299510a199 SHA512 e482f109f387de79d66e69084fab70750ce472f7d665c3a617819ab604e376860c2832a0cab27867165b7ac60947db554ec686d73f182dcaa6935dc14ca3d935 |
23 |
DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed |
24 |
|
25 |
diff --git a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild b/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 1c9565f5b9d..00000000000 |
28 |
--- a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,50 +0,0 @@ |
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.7's importlib.resources |
37 |
-PYTHON_COMPAT=( pypy3 python{2_7,3_6} ) |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="Read resources from Python packages" |
42 |
-HOMEPAGE="https://importlib-resources.readthedocs.io/en/latest/" |
43 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
-LICENSE="Apache-2.0" |
45 |
- |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" |
48 |
-IUSE="doc test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- $(python_gen_cond_dep ' |
53 |
- dev-python/pathlib2[${PYTHON_USEDEP}] |
54 |
- dev-python/typing[${PYTHON_USEDEP}] |
55 |
- ' -2) |
56 |
-" |
57 |
-BDEPEND=" |
58 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
59 |
- test? ( ${RDEPEND} ) |
60 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
-" |
62 |
- |
63 |
-# https://gitlab.com/python-devs/importlib_resources/issues/71 |
64 |
-PATCHES=( "${FILESDIR}/${P}-skip-wheel.patch" ) |
65 |
- |
66 |
-python_prepare_all() { |
67 |
- sed -i "/'sphinx.ext.intersphinx'/d" ${PN}/docs/conf.py || die |
68 |
- distutils-r1_python_prepare_all |
69 |
-} |
70 |
- |
71 |
-python_compile_all() { |
72 |
- if use doc; then |
73 |
- sphinx-build ${PN}/docs docs/_build/html || die |
74 |
- HTML_DOCS=( docs/_build/html/. ) |
75 |
- fi |
76 |
-} |
77 |
- |
78 |
-python_test() { |
79 |
- "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" |
80 |
-} |