1 |
commit: 89d70a2cd8b7d103af0ac4d04584e653de36a0ab |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 06:13:18 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 06:14:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d70a2c |
7 |
|
8 |
dev-python/bottle: Remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/849398 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/bottle/Manifest | 2 -- |
14 |
dev-python/bottle/bottle-0.12.19-r1.ebuild | 55 ------------------------------ |
15 |
dev-python/bottle/bottle-0.12.19.ebuild | 47 ------------------------- |
16 |
dev-python/bottle/bottle-0.12.20.ebuild | 55 ------------------------------ |
17 |
4 files changed, 159 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/bottle/Manifest b/dev-python/bottle/Manifest |
20 |
index a9ff0bfdc61a..ab37c16b4288 100644 |
21 |
--- a/dev-python/bottle/Manifest |
22 |
+++ b/dev-python/bottle/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST bottle-0.12.19.tar.gz 73142 BLAKE2B e59d7a507d3401869ba4953a48274062fc56226afa2f7aad596b4ef4352e4a79cea2d224dfe32d7ce014e4f4a3ba088d0e7a0886f64a84bb6b78571e953fa3c3 SHA512 e5d2f6a32d1b89ae3cc9607456c0614db2b58882c6d36273d695c51d3d77b1858cac4d914dbf19bca3b74be68c197aa6473f162e40d9b7ae2af3a084a28c2637 |
25 |
-DIST bottle-0.12.20.tar.gz 74235 BLAKE2B 8d6c03ac9a0330fa13e474fcb6bb985d663d3c4c1c2cd6ca24a1224efd3072d4897efafc095af13f8231b99d705ae252fbed29ebe8e18dc5c9db7318a9c749c7 SHA512 149355d39ac1370a3b6c1999756ac2c7eb98ef04cf99df7099a6c84112e1ff06a0cac4612843750499633a136ea2ddfb1a5d594ba03d7ee63cf7cae9aceba823 |
26 |
DIST bottle-0.12.21.tar.gz 74229 BLAKE2B 88674389d2c087a7416443d031995ee923a98b790eb85d81b625f11b2fb0baee35d90a3ee2dba5b9d4744a343a34396a50edef0f85a2d6f4f0f4da95bae31b5b SHA512 3d621f6684f439a4a5718ad25e8b45eb0d1100cd565ec5b797adf67141e01d835cde671e687f5515cb6eab69bb465e9c7d004131634609266c2e1b69b0adbf43 |
27 |
|
28 |
diff --git a/dev-python/bottle/bottle-0.12.19-r1.ebuild b/dev-python/bottle/bottle-0.12.19-r1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 43d9e006d134..000000000000 |
31 |
--- a/dev-python/bottle/bottle-0.12.19-r1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,55 +0,0 @@ |
34 |
-# Copyright 1999-2022 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=8 |
38 |
- |
39 |
-DISTUTILS_USE_PEP517=setuptools |
40 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
41 |
- |
42 |
-inherit distutils-r1 optfeature |
43 |
- |
44 |
-DESCRIPTION="A fast and simple micro-framework for small web-applications" |
45 |
-HOMEPAGE=" |
46 |
- https://bottlepy.org/ |
47 |
- https://github.com/bottlepy/bottle/ |
48 |
- https://pypi.org/project/bottle/ |
49 |
-" |
50 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
51 |
- |
52 |
-LICENSE="MIT" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
55 |
-IUSE="test" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-BDEPEND=" |
59 |
- test? ( |
60 |
- dev-python/mako[${PYTHON_USEDEP}] |
61 |
- ) |
62 |
-" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch |
66 |
- "${FILESDIR}"/${P}-py311.patch |
67 |
-) |
68 |
- |
69 |
-python_prepare_all() { |
70 |
- sed -i -e '/scripts/d' setup.py || die |
71 |
- |
72 |
- # Remove test file requring connection to network |
73 |
- rm test/test_server.py || die |
74 |
- distutils-r1_python_prepare_all |
75 |
-} |
76 |
- |
77 |
-python_test() { |
78 |
- "${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" |
79 |
-} |
80 |
- |
81 |
-pkg_postinst() { |
82 |
- optfeature "Templating support" dev-python/mako |
83 |
- elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" |
84 |
- elog "we do as most other distros and do not install the script anymore." |
85 |
- elog "If you do want/have to call it directly rather than through your app," |
86 |
- elog "please use the following instead:" |
87 |
- elog ' `python -m bottle`' |
88 |
-} |
89 |
|
90 |
diff --git a/dev-python/bottle/bottle-0.12.19.ebuild b/dev-python/bottle/bottle-0.12.19.ebuild |
91 |
deleted file mode 100644 |
92 |
index 4a7ace2670ef..000000000000 |
93 |
--- a/dev-python/bottle/bottle-0.12.19.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,47 +0,0 @@ |
96 |
-# Copyright 1999-2021 Gentoo Authors |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
- |
99 |
-EAPI=7 |
100 |
- |
101 |
-PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
102 |
- |
103 |
-inherit distutils-r1 optfeature |
104 |
- |
105 |
-DESCRIPTION="A fast and simple micro-framework for small web-applications" |
106 |
-HOMEPAGE="https://pypi.org/project/bottle/ https://bottlepy.org/" |
107 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
108 |
- |
109 |
-LICENSE="MIT" |
110 |
-SLOT="0" |
111 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
112 |
-IUSE="test" |
113 |
-RESTRICT="!test? ( test )" |
114 |
- |
115 |
-BDEPEND="test? ( dev-python/mako[${PYTHON_USEDEP}] )" |
116 |
- |
117 |
-PATCHES=( |
118 |
- "${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch |
119 |
-) |
120 |
- |
121 |
-python_prepare_all() { |
122 |
- sed -i -e '/scripts/d' setup.py || die |
123 |
- |
124 |
- # Remove test file requring connection to network |
125 |
- rm test/test_server.py || die |
126 |
- distutils-r1_python_prepare_all |
127 |
-} |
128 |
- |
129 |
-python_test() { |
130 |
- # A few odd fails in the suite under pypy |
131 |
- # https://github.com/bottlepy/bottle/issues/714 |
132 |
- "${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" |
133 |
-} |
134 |
- |
135 |
-pkg_postinst() { |
136 |
- optfeature "Templating support" dev-python/mako |
137 |
- elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" |
138 |
- elog "we do as most other distros and do not install the script anymore." |
139 |
- elog "If you do want/have to call it directly rather than through your app," |
140 |
- elog "please use the following instead:" |
141 |
- elog ' `python -m bottle`' |
142 |
-} |
143 |
|
144 |
diff --git a/dev-python/bottle/bottle-0.12.20.ebuild b/dev-python/bottle/bottle-0.12.20.ebuild |
145 |
deleted file mode 100644 |
146 |
index a1d390cb6eff..000000000000 |
147 |
--- a/dev-python/bottle/bottle-0.12.20.ebuild |
148 |
+++ /dev/null |
149 |
@@ -1,55 +0,0 @@ |
150 |
-# Copyright 1999-2022 Gentoo Authors |
151 |
-# Distributed under the terms of the GNU General Public License v2 |
152 |
- |
153 |
-EAPI=8 |
154 |
- |
155 |
-DISTUTILS_USE_PEP517=setuptools |
156 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
157 |
- |
158 |
-inherit distutils-r1 optfeature |
159 |
- |
160 |
-DESCRIPTION="A fast and simple micro-framework for small web-applications" |
161 |
-HOMEPAGE=" |
162 |
- https://bottlepy.org/ |
163 |
- https://github.com/bottlepy/bottle/ |
164 |
- https://pypi.org/project/bottle/ |
165 |
-" |
166 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
167 |
- |
168 |
-LICENSE="MIT" |
169 |
-SLOT="0" |
170 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
171 |
-IUSE="test" |
172 |
-RESTRICT="!test? ( test )" |
173 |
- |
174 |
-BDEPEND=" |
175 |
- test? ( |
176 |
- dev-python/mako[${PYTHON_USEDEP}] |
177 |
- ) |
178 |
-" |
179 |
- |
180 |
-PATCHES=( |
181 |
- "${FILESDIR}"/bottle-0.12.8-py3.5-backport.patch |
182 |
- "${FILESDIR}"/bottle-0.12.19-py311.patch |
183 |
-) |
184 |
- |
185 |
-python_prepare_all() { |
186 |
- sed -i -e '/scripts/d' setup.py || die |
187 |
- |
188 |
- # Remove test file requring connection to network |
189 |
- rm test/test_server.py || die |
190 |
- distutils-r1_python_prepare_all |
191 |
-} |
192 |
- |
193 |
-python_test() { |
194 |
- "${EPYTHON}" test/testall.py || die "tests failed under ${EPYTHON}" |
195 |
-} |
196 |
- |
197 |
-pkg_postinst() { |
198 |
- optfeature "Templating support" dev-python/mako |
199 |
- elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)" |
200 |
- elog "we do as most other distros and do not install the script anymore." |
201 |
- elog "If you do want/have to call it directly rather than through your app," |
202 |
- elog "please use the following instead:" |
203 |
- elog ' `python -m bottle`' |
204 |
-} |