1 |
commit: 6d0858ec7469d1327e9fad71108a9a637469851e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 6 14:13:35 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 6 14:38:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0858ec |
7 |
|
8 |
dev-python/django: Remove vulnerable (drop to ~arch) |
9 |
|
10 |
Bug: https://bugs.gentoo.org/692384 |
11 |
Bug: https://bugs.gentoo.org/701744 |
12 |
Bug: https://bugs.gentoo.org/706204 |
13 |
Bug: https://bugs.gentoo.org/707998 |
14 |
Bug: https://bugs.gentoo.org/711522 |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
|
17 |
dev-python/django/Manifest | 4 -- |
18 |
dev-python/django/django-2.1.8.ebuild | 88 --------------------------------- |
19 |
dev-python/django/django-2.1.9.ebuild | 88 --------------------------------- |
20 |
dev-python/django/django-2.2.1.ebuild | 91 ----------------------------------- |
21 |
dev-python/django/django-2.2.2.ebuild | 91 ----------------------------------- |
22 |
5 files changed, 362 deletions(-) |
23 |
|
24 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
25 |
index 268a20019d7..04789f79fe5 100644 |
26 |
--- a/dev-python/django/Manifest |
27 |
+++ b/dev-python/django/Manifest |
28 |
@@ -1,5 +1 @@ |
29 |
-DIST Django-2.1.8.tar.gz 8613572 BLAKE2B 543e41f1b4031b624f903f075e95af7e010510f4c265aebd35a5f6b3f074703b3a4b54bc7f2a9752e717ac99d20c42d6e34e556ca619a531cf8c66622ce1419a SHA512 f84fcdf919091a9db6289f25da601ce447382f79118a99f8f316b2479a9325d629f725edb4618300f76e23bd68ae45ff4c6b6576988f109d1a7ba715c73327c3 |
30 |
-DIST Django-2.1.9.tar.gz 8608747 BLAKE2B d5ef1aacc30067dfe5369655eb23ea67788f22edcf8ba070944c0fb4fdf2fc3628a364d480a3d47bae0339255fb66a3bc27f11eb5f07280812ab5f57b4367c64 SHA512 1f6ad122012d898da52ce44465700d2492ef9002d5c327b25e3edfe2116b8a1143feab79751a581029664311452d52d96fe116d8817edb0ef7d7dbddfc0a5ec7 |
31 |
-DIST Django-2.2.1.tar.gz 8973889 BLAKE2B 890ab092807a587dbaba69fb6da7a4c53c8e976d3a4c29003549d72dd69c374640df280885a62845dda0d00f432e398747b9ed652aebbd7e3434c07e71d9a80f SHA512 661ed7352847d2167f8d3410b476cb585a269ef5d3afe0cb59cf0c9a2ea22f0572f12825368bc222f33f8c6d4c71767adade97e25b69f5a619795ccb670773e2 |
32 |
DIST Django-2.2.11.tar.gz 9010479 BLAKE2B 9df126f62368c43a64fcdbf9d3831c78dd37e41eb88670517eeec84043083cc437d95301d86798b5945313b515d63bd12cba8484e74b6da2311af2e86ce87adc SHA512 b33ece4606e5a23626caee121018522166a0e1f32bd41ea4eb3d4c1f624943990a07e04c5a4f5d52958e733790178474e9314d346ce1e4d5d6e49ac2a700c857 |
33 |
-DIST Django-2.2.2.tar.gz 8841523 BLAKE2B fc498c19caed7fc8766b015df3049ce325886ebcebf02a1f6618c13ea9d12dea56ad65b860f3b0dee0b6532d97e754bb8cca2c3f0a375c630c28d52a2fd62a2e SHA512 87e0a7b2d0e6d6149c746a7cd5547351ba002c6eaedac160e72544b429d41b133da5c36256a07155b7b4743969e9ff4c3ac890c9925db428117f68a67104df0f |
34 |
|
35 |
diff --git a/dev-python/django/django-2.1.8.ebuild b/dev-python/django/django-2.1.8.ebuild |
36 |
deleted file mode 100644 |
37 |
index ad94ca7e568..00000000000 |
38 |
--- a/dev-python/django/django-2.1.8.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,88 +0,0 @@ |
41 |
-# Copyright 1999-2020 Gentoo Authors |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI=7 |
45 |
- |
46 |
-PYTHON_COMPAT=( python3_{6,7} ) |
47 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
48 |
- |
49 |
-inherit bash-completion-r1 distutils-r1 eutils |
50 |
- |
51 |
-MY_PN="Django" |
52 |
-MY_P="${MY_PN}-${PV}" |
53 |
- |
54 |
-DESCRIPTION="High-level Python web framework" |
55 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
56 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
57 |
- |
58 |
-LICENSE="BSD" |
59 |
-# admin fonts: Roboto (media-fonts/roboto) |
60 |
-LICENSE+=" Apache-2.0" |
61 |
-# admin icons, jquery, xregexp.js |
62 |
-LICENSE+=" MIT" |
63 |
-SLOT="0" |
64 |
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
65 |
-IUSE="doc sqlite test" |
66 |
-RESTRICT="!test? ( test )" |
67 |
- |
68 |
-RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" |
69 |
-BDEPEND=" |
70 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
72 |
- test? ( |
73 |
- $(python_gen_impl_dep sqlite) |
74 |
- dev-python/docutils[${PYTHON_USEDEP}] |
75 |
- dev-python/numpy[${PYTHON_USEDEP}] |
76 |
- dev-python/pillow[${PYTHON_USEDEP}] |
77 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
78 |
- dev-python/mock[${PYTHON_USEDEP}] |
79 |
- )" |
80 |
- |
81 |
-S="${WORKDIR}/${MY_P}" |
82 |
- |
83 |
-PATCHES=( |
84 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
85 |
-) |
86 |
- |
87 |
-python_prepare_all() { |
88 |
- # Prevent d'loading in the doc build |
89 |
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
90 |
- |
91 |
- distutils-r1_python_prepare_all |
92 |
-} |
93 |
- |
94 |
-python_compile_all() { |
95 |
- use doc && emake -C docs html |
96 |
-} |
97 |
- |
98 |
-python_test() { |
99 |
- # Tests have non-standard assumptions about PYTHONPATH, |
100 |
- # and don't work with ${BUILD_DIR}/lib. |
101 |
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ |
102 |
- || die "Tests fail with ${EPYTHON}" |
103 |
-} |
104 |
- |
105 |
-python_install_all() { |
106 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
107 |
- bashcomp_alias ${PN}-admin django-admin.py |
108 |
- |
109 |
- if use doc; then |
110 |
- rm -fr docs/_build/html/_sources || die |
111 |
- local HTML_DOCS=( docs/_build/html/. ) |
112 |
- fi |
113 |
- |
114 |
- distutils-r1_python_install_all |
115 |
-} |
116 |
- |
117 |
-pkg_postinst() { |
118 |
- elog "Additional Backend support can be enabled via" |
119 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
120 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
121 |
- echo "" |
122 |
- elog "Other features can be enhanced by" |
123 |
- optfeature "GEO Django" sci-libs/gdal[geos] |
124 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
125 |
- optfeature "ImageField Support" dev-python/pillow |
126 |
- optfeature "Password encryption" dev-python/bcrypt |
127 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
128 |
-} |
129 |
|
130 |
diff --git a/dev-python/django/django-2.1.9.ebuild b/dev-python/django/django-2.1.9.ebuild |
131 |
deleted file mode 100644 |
132 |
index 17df98e2f23..00000000000 |
133 |
--- a/dev-python/django/django-2.1.9.ebuild |
134 |
+++ /dev/null |
135 |
@@ -1,88 +0,0 @@ |
136 |
-# Copyright 1999-2020 Gentoo Authors |
137 |
-# Distributed under the terms of the GNU General Public License v2 |
138 |
- |
139 |
-EAPI=7 |
140 |
- |
141 |
-PYTHON_COMPAT=( python3_{6,7} ) |
142 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
143 |
- |
144 |
-inherit bash-completion-r1 distutils-r1 eutils |
145 |
- |
146 |
-MY_PN="Django" |
147 |
-MY_P="${MY_PN}-${PV}" |
148 |
- |
149 |
-DESCRIPTION="High-level Python web framework" |
150 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
151 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
152 |
- |
153 |
-LICENSE="BSD" |
154 |
-# admin fonts: Roboto (media-fonts/roboto) |
155 |
-LICENSE+=" Apache-2.0" |
156 |
-# admin icons, jquery, xregexp.js |
157 |
-LICENSE+=" MIT" |
158 |
-SLOT="0" |
159 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
160 |
-IUSE="doc sqlite test" |
161 |
-RESTRICT="!test? ( test )" |
162 |
- |
163 |
-RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" |
164 |
-BDEPEND=" |
165 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
166 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
167 |
- test? ( |
168 |
- $(python_gen_impl_dep sqlite) |
169 |
- dev-python/docutils[${PYTHON_USEDEP}] |
170 |
- dev-python/numpy[${PYTHON_USEDEP}] |
171 |
- dev-python/pillow[${PYTHON_USEDEP}] |
172 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
173 |
- dev-python/mock[${PYTHON_USEDEP}] |
174 |
- )" |
175 |
- |
176 |
-S="${WORKDIR}/${MY_P}" |
177 |
- |
178 |
-PATCHES=( |
179 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
180 |
-) |
181 |
- |
182 |
-python_prepare_all() { |
183 |
- # Prevent d'loading in the doc build |
184 |
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
185 |
- |
186 |
- distutils-r1_python_prepare_all |
187 |
-} |
188 |
- |
189 |
-python_compile_all() { |
190 |
- use doc && emake -C docs html |
191 |
-} |
192 |
- |
193 |
-python_test() { |
194 |
- # Tests have non-standard assumptions about PYTHONPATH, |
195 |
- # and don't work with ${BUILD_DIR}/lib. |
196 |
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ |
197 |
- || die "Tests fail with ${EPYTHON}" |
198 |
-} |
199 |
- |
200 |
-python_install_all() { |
201 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
202 |
- bashcomp_alias ${PN}-admin django-admin.py |
203 |
- |
204 |
- if use doc; then |
205 |
- rm -fr docs/_build/html/_sources || die |
206 |
- local HTML_DOCS=( docs/_build/html/. ) |
207 |
- fi |
208 |
- |
209 |
- distutils-r1_python_install_all |
210 |
-} |
211 |
- |
212 |
-pkg_postinst() { |
213 |
- elog "Additional Backend support can be enabled via" |
214 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
215 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
216 |
- echo "" |
217 |
- elog "Other features can be enhanced by" |
218 |
- optfeature "GEO Django" sci-libs/gdal[geos] |
219 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
220 |
- optfeature "ImageField Support" dev-python/pillow |
221 |
- optfeature "Password encryption" dev-python/bcrypt |
222 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
223 |
-} |
224 |
|
225 |
diff --git a/dev-python/django/django-2.2.1.ebuild b/dev-python/django/django-2.2.1.ebuild |
226 |
deleted file mode 100644 |
227 |
index a6202a73ae1..00000000000 |
228 |
--- a/dev-python/django/django-2.2.1.ebuild |
229 |
+++ /dev/null |
230 |
@@ -1,91 +0,0 @@ |
231 |
-# Copyright 1999-2020 Gentoo Authors |
232 |
-# Distributed under the terms of the GNU General Public License v2 |
233 |
- |
234 |
-EAPI=7 |
235 |
- |
236 |
-PYTHON_COMPAT=( python3_{6,7} ) |
237 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
238 |
- |
239 |
-inherit bash-completion-r1 distutils-r1 eutils |
240 |
- |
241 |
-MY_PN="Django" |
242 |
-MY_P="${MY_PN}-${PV}" |
243 |
- |
244 |
-DESCRIPTION="High-level Python web framework" |
245 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
246 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
247 |
- |
248 |
-LICENSE="BSD" |
249 |
-# admin fonts: Roboto (media-fonts/roboto) |
250 |
-LICENSE+=" Apache-2.0" |
251 |
-# admin icons, jquery, xregexp.js |
252 |
-LICENSE+=" MIT" |
253 |
-SLOT="0" |
254 |
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
255 |
-IUSE="doc sqlite test" |
256 |
-RESTRICT="!test? ( test )" |
257 |
- |
258 |
-RDEPEND=" |
259 |
- dev-python/pytz[${PYTHON_USEDEP}] |
260 |
- dev-python/python-sqlparse[${PYTHON_USEDEP}]" |
261 |
-BDEPEND=" |
262 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
263 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
264 |
- test? ( |
265 |
- $(python_gen_impl_dep sqlite) |
266 |
- dev-python/docutils[${PYTHON_USEDEP}] |
267 |
- dev-python/jinja[${PYTHON_USEDEP}] |
268 |
- dev-python/numpy[${PYTHON_USEDEP}] |
269 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
270 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
271 |
- dev-python/tblib[${PYTHON_USEDEP}] |
272 |
- )" |
273 |
- |
274 |
-S="${WORKDIR}/${MY_P}" |
275 |
- |
276 |
-PATCHES=( |
277 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
278 |
-) |
279 |
- |
280 |
-python_prepare_all() { |
281 |
- # Prevent d'loading in the doc build |
282 |
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
283 |
- |
284 |
- distutils-r1_python_prepare_all |
285 |
-} |
286 |
- |
287 |
-python_compile_all() { |
288 |
- use doc && emake -C docs html |
289 |
-} |
290 |
- |
291 |
-python_test() { |
292 |
- # Tests have non-standard assumptions about PYTHONPATH, |
293 |
- # and don't work with ${BUILD_DIR}/lib. |
294 |
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ |
295 |
- || die "Tests fail with ${EPYTHON}" |
296 |
-} |
297 |
- |
298 |
-python_install_all() { |
299 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
300 |
- bashcomp_alias ${PN}-admin django-admin.py |
301 |
- |
302 |
- if use doc; then |
303 |
- rm -fr docs/_build/html/_sources || die |
304 |
- local HTML_DOCS=( docs/_build/html/. ) |
305 |
- fi |
306 |
- |
307 |
- distutils-r1_python_install_all |
308 |
-} |
309 |
- |
310 |
-pkg_postinst() { |
311 |
- elog "Additional Backend support can be enabled via" |
312 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
313 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
314 |
- echo "" |
315 |
- elog "Other features can be enhanced by" |
316 |
- optfeature "GEO Django" sci-libs/gdal[geos] |
317 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
318 |
- optfeature "ImageField Support" dev-python/pillow |
319 |
- optfeature "Password encryption" dev-python/bcrypt |
320 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
321 |
-} |
322 |
|
323 |
diff --git a/dev-python/django/django-2.2.2.ebuild b/dev-python/django/django-2.2.2.ebuild |
324 |
deleted file mode 100644 |
325 |
index 754fb915ddd..00000000000 |
326 |
--- a/dev-python/django/django-2.2.2.ebuild |
327 |
+++ /dev/null |
328 |
@@ -1,91 +0,0 @@ |
329 |
-# Copyright 1999-2020 Gentoo Authors |
330 |
-# Distributed under the terms of the GNU General Public License v2 |
331 |
- |
332 |
-EAPI=7 |
333 |
- |
334 |
-PYTHON_COMPAT=( python3_{6,7} ) |
335 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
336 |
- |
337 |
-inherit bash-completion-r1 distutils-r1 eutils |
338 |
- |
339 |
-MY_PN="Django" |
340 |
-MY_P="${MY_PN}-${PV}" |
341 |
- |
342 |
-DESCRIPTION="High-level Python web framework" |
343 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
344 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
345 |
- |
346 |
-LICENSE="BSD" |
347 |
-# admin fonts: Roboto (media-fonts/roboto) |
348 |
-LICENSE+=" Apache-2.0" |
349 |
-# admin icons, jquery, xregexp.js |
350 |
-LICENSE+=" MIT" |
351 |
-SLOT="0" |
352 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
353 |
-IUSE="doc sqlite test" |
354 |
-RESTRICT="!test? ( test )" |
355 |
- |
356 |
-RDEPEND=" |
357 |
- dev-python/pytz[${PYTHON_USEDEP}] |
358 |
- dev-python/python-sqlparse[${PYTHON_USEDEP}]" |
359 |
-BDEPEND=" |
360 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
361 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
362 |
- test? ( |
363 |
- $(python_gen_impl_dep sqlite) |
364 |
- dev-python/docutils[${PYTHON_USEDEP}] |
365 |
- dev-python/jinja[${PYTHON_USEDEP}] |
366 |
- dev-python/numpy[${PYTHON_USEDEP}] |
367 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
368 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
369 |
- dev-python/tblib[${PYTHON_USEDEP}] |
370 |
- )" |
371 |
- |
372 |
-S="${WORKDIR}/${MY_P}" |
373 |
- |
374 |
-PATCHES=( |
375 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
376 |
-) |
377 |
- |
378 |
-python_prepare_all() { |
379 |
- # Prevent d'loading in the doc build |
380 |
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
381 |
- |
382 |
- distutils-r1_python_prepare_all |
383 |
-} |
384 |
- |
385 |
-python_compile_all() { |
386 |
- use doc && emake -C docs html |
387 |
-} |
388 |
- |
389 |
-python_test() { |
390 |
- # Tests have non-standard assumptions about PYTHONPATH, |
391 |
- # and don't work with ${BUILD_DIR}/lib. |
392 |
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ |
393 |
- || die "Tests fail with ${EPYTHON}" |
394 |
-} |
395 |
- |
396 |
-python_install_all() { |
397 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
398 |
- bashcomp_alias ${PN}-admin django-admin.py |
399 |
- |
400 |
- if use doc; then |
401 |
- rm -fr docs/_build/html/_sources || die |
402 |
- local HTML_DOCS=( docs/_build/html/. ) |
403 |
- fi |
404 |
- |
405 |
- distutils-r1_python_install_all |
406 |
-} |
407 |
- |
408 |
-pkg_postinst() { |
409 |
- elog "Additional Backend support can be enabled via" |
410 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
411 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
412 |
- echo "" |
413 |
- elog "Other features can be enhanced by" |
414 |
- optfeature "GEO Django" sci-libs/gdal[geos] |
415 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
416 |
- optfeature "ImageField Support" dev-python/pillow |
417 |
- optfeature "Password encryption" dev-python/bcrypt |
418 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
419 |
-} |