1 |
commit: b42858c059d9d1a052433f9e721374496daf4371 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 17:35:55 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 17:40:46 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42858c0 |
7 |
|
8 |
dev-python/jaraco-text: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jaraco-text/Manifest | 1 - |
13 |
dev-python/jaraco-text/jaraco-text-3.11.0.ebuild | 68 ------------------------ |
14 |
2 files changed, 69 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest |
17 |
index 22567de66748..cf180b32edd8 100644 |
18 |
--- a/dev-python/jaraco-text/Manifest |
19 |
+++ b/dev-python/jaraco-text/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST jaraco.text-3.11.0.tar.gz 15883 BLAKE2B f0f3fe33901a68741cb26270384750f070476ef921bf2822f81dddfc1c66e41016757579e310bd20fc8a7f02b188de96f07bf58db41cca51252e46ebbbddcff9 SHA512 ad3ac412df5e21cef86dc56cdc869a93a660a103a676c1d187e5ea762690b89d61c8f68994e6a891e3d98071b440a052fad60a37f71066e4e11a2cfaf45ae009 |
22 |
DIST jaraco.text-3.11.1.tar.gz 16083 BLAKE2B f7268128209fbdc849a745595339f4dc9a097f3f4f8f0cdcb05ca3106ed5a45460126fbb2b7d9c3b01b63aa3f750175e8cd366034183b7d8804a1650fe493e4b SHA512 b4066589e9d4c9a2a82ae2b0825d34b22b93ee179d29c3666e9b978390121520afcb8fc5ffa6457022d2e8477f4cf2b76485d9896438ee46275326577609f201 |
23 |
|
24 |
diff --git a/dev-python/jaraco-text/jaraco-text-3.11.0.ebuild b/dev-python/jaraco-text/jaraco-text-3.11.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index a8bae52aafb8..000000000000 |
27 |
--- a/dev-python/jaraco-text/jaraco-text-3.11.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,68 +0,0 @@ |
30 |
-# Copyright 1999-2023 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 |
-PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-MY_P=${P/-/.} |
42 |
-DESCRIPTION="Text utilities used by other projects by developer jaraco" |
43 |
-HOMEPAGE=" |
44 |
- https://github.com/jaraco/jaraco.text/ |
45 |
- https://pypi.org/project/jaraco.text/ |
46 |
-" |
47 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" |
48 |
-S=${WORKDIR}/${MY_P} |
49 |
- |
50 |
-LICENSE="MIT" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}] |
56 |
- >=dev-python/jaraco-functools-3.5.0-r1[${PYTHON_USEDEP}] |
57 |
-" |
58 |
-# needed only for CLI tool, make it PDEPEND to reduce pain in setuptools |
59 |
-# bootstrap |
60 |
-PDEPEND=" |
61 |
- dev-python/autocommand[${PYTHON_USEDEP}] |
62 |
- dev-python/inflect[${PYTHON_USEDEP}] |
63 |
- dev-python/more-itertools[${PYTHON_USEDEP}] |
64 |
-" |
65 |
-BDEPEND=" |
66 |
- test? ( |
67 |
- ${PDEPEND} |
68 |
- $(python_gen_cond_dep ' |
69 |
- dev-python/pathlib2[${PYTHON_USEDEP}] |
70 |
- ' 3.9) |
71 |
- ) |
72 |
-" |
73 |
- |
74 |
-distutils_enable_tests pytest |
75 |
- |
76 |
-src_configure() { |
77 |
- grep -q 'build-backend = "setuptools' pyproject.toml || |
78 |
- die "Upstream changed build-backend, recheck" |
79 |
- # write a custom pyproject.toml to ease setuptools bootstrap |
80 |
- cat > pyproject.toml <<-EOF || die |
81 |
- [build-system] |
82 |
- requires = ["flit_core >=3.2,<4"] |
83 |
- build-backend = "flit_core.buildapi" |
84 |
- |
85 |
- [project] |
86 |
- name = "jaraco.text" |
87 |
- version = "${PV}" |
88 |
- description = "Module for text manipulation" |
89 |
- EOF |
90 |
-} |
91 |
- |
92 |
-python_install() { |
93 |
- distutils-r1_python_install |
94 |
- # rename to workaround a bug in pkg_resources |
95 |
- # https://bugs.gentoo.org/834522 |
96 |
- mv "${D}$(python_get_sitedir)"/jaraco{_,.}text-${PV}.dist-info || die |
97 |
-} |