1 |
commit: 217a3daeb7e95e0830b744228d4bd6910ead5ec1 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 5 11:44:01 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 5 11:44:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=217a3dae |
7 |
|
8 |
dev-python/django: remove old and vulnerable |
9 |
|
10 |
Bug: https://bugs.gentoo.org/667456 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
13 |
|
14 |
dev-python/django/Manifest | 1 - |
15 |
dev-python/django/django-2.1.1.ebuild | 87 ----------------------------------- |
16 |
2 files changed, 88 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
19 |
index e9b35c1ccfe..066fbef9980 100644 |
20 |
--- a/dev-python/django/Manifest |
21 |
+++ b/dev-python/django/Manifest |
22 |
@@ -2,5 +2,4 @@ DIST Django-1.11.15.tar.gz 7843843 BLAKE2B b7713de8136302d8d95929ed449ab01173e28 |
23 |
DIST Django-1.11.16.tar.gz 7852514 BLAKE2B a881caa6c31c80d6b0146cb49a08ba63ebfba21637747328adb8ec3afada2182b72c46576a79cc9e163546e5b980a2be516d842492517319deb0a4f5512ad605 SHA512 bf1329ac364c9037fd6cecd0e8565c8bd8d830343671f9ce5415a10e70da37256667675b3f97e4d2508a8a912fa7a06ca7f585586ac18e6734c939bc41a8b455 |
24 |
DIST Django-2.0.8.tar.gz 7987343 BLAKE2B ab35f50ce1911cb9603c7ac85e7ab01e6019ce9a2dac4cd733b11f35722368946ff3a130c3c791da4d49cf609b5747b4c5de64e29e27a8e12abb7f9e29cd363b SHA512 ac3cc3f58cb977518c6f549834beb35677c2d5541cfb5723045b98165926e826178cb33737c52a0f999be24bc38b84dde489a5f91d1c8d51b8338aa611acb518 |
25 |
DIST Django-2.0.9.tar.gz 7992507 BLAKE2B c6f1d79401007d2c83553e885d5e32c7890b3f1ed53c948ea4c55cc2a0272c06d0b7fdafef7be5042ab26b3f8c3ffef64f6f01f49d6e615503f8bfad99b66c3a SHA512 7a766ce0240b19a18dc5a9a4682630c4ce90fa6ed0d02a97303088a990d09e097b609220f4e2806854585724f483cb2ae7e4f29bfd1898f3a0d6e758c2f4ea4a |
26 |
-DIST Django-2.1.1.tar.gz 8595422 BLAKE2B b4d46162b8a48ada2e1321e6731afdfac8c6acbc394991178c33a374ea2d61d0b1f91ede6a56f9e88d20ba2ddbe6910fe452f79fc6cfb342fddc6222c454dad1 SHA512 e29180097cda0de35eb3dac77b7f7f3f31771257b9bfcd6d3fd37d421c572e1226bb1760635ccedee357cee7ca3dcb302de6126a771007a2cdef82970a596813 |
27 |
DIST Django-2.1.2.tar.gz 8611286 BLAKE2B 5107fd04ee11ae4ded3d8914d840e323e26617b526ab877654de08caa6ce1cb6f053d3afbdbdbda17ab26b1ed1bcb158ef092a63ef14393b87ed98e612cf43aa SHA512 3510f872762e75c7e66987857616d958d15bef91ce2d9e1656abcf4e0221b1c6ff72c59fd29643aa0b0288118db76d58023cffe48f401e7cdcd03d71822a282d |
28 |
|
29 |
diff --git a/dev-python/django/django-2.1.1.ebuild b/dev-python/django/django-2.1.1.ebuild |
30 |
deleted file mode 100644 |
31 |
index d2f6650c8d6..00000000000 |
32 |
--- a/dev-python/django/django-2.1.1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,87 +0,0 @@ |
35 |
-# Copyright 1999-2018 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_{5,6,7} ) |
41 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
42 |
- |
43 |
-inherit bash-completion-r1 distutils-r1 eutils |
44 |
- |
45 |
-MY_PN="Django" |
46 |
-MY_P="${MY_PN}-${PV}" |
47 |
- |
48 |
-DESCRIPTION="High-level Python web framework" |
49 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
50 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
51 |
- |
52 |
-LICENSE="BSD" |
53 |
-# admin fonts: Roboto (media-fonts/roboto) |
54 |
-LICENSE+=" Apache-2.0" |
55 |
-# admin icons, jquery, xregexp.js |
56 |
-LICENSE+=" MIT" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
59 |
-IUSE="doc sqlite test" |
60 |
- |
61 |
-RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" |
62 |
-BDEPEND=" |
63 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
- doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) |
65 |
- test? ( |
66 |
- $(python_gen_impl_dep sqlite) |
67 |
- dev-python/docutils[${PYTHON_USEDEP}] |
68 |
- dev-python/numpy[${PYTHON_USEDEP}] |
69 |
- dev-python/pillow[${PYTHON_USEDEP}] |
70 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
71 |
- dev-python/mock[${PYTHON_USEDEP}] |
72 |
- )" |
73 |
- |
74 |
-S="${WORKDIR}/${MY_P}" |
75 |
- |
76 |
-PATCHES=( |
77 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
78 |
-) |
79 |
- |
80 |
-python_prepare_all() { |
81 |
- # Prevent d'loading in the doc build |
82 |
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
83 |
- |
84 |
- distutils-r1_python_prepare_all |
85 |
-} |
86 |
- |
87 |
-python_compile_all() { |
88 |
- use doc && emake -C docs html |
89 |
-} |
90 |
- |
91 |
-python_test() { |
92 |
- # Tests have non-standard assumptions about PYTHONPATH, |
93 |
- # and don't work with ${BUILD_DIR}/lib. |
94 |
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ |
95 |
- || die "Tests fail with ${EPYTHON}" |
96 |
-} |
97 |
- |
98 |
-python_install_all() { |
99 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
100 |
- bashcomp_alias ${PN}-admin django-admin.py |
101 |
- |
102 |
- if use doc; then |
103 |
- rm -fr docs/_build/html/_sources || die |
104 |
- local HTML_DOCS=( docs/_build/html/. ) |
105 |
- fi |
106 |
- |
107 |
- distutils-r1_python_install_all |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- elog "Additional Backend support can be enabled via" |
112 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
113 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
114 |
- echo "" |
115 |
- elog "Other features can be enhanced by" |
116 |
- optfeature "GEO Django" sci-libs/gdal[geos] |
117 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
118 |
- optfeature "ImageField Support" dev-python/pillow |
119 |
- optfeature "Password encryption" dev-python/bcrypt |
120 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
121 |
-} |