1 |
commit: 8c506557f7b14cca0811349b39c15d2a87fb8984 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 2 16:01:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 2 16:05:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c506557 |
7 |
|
8 |
dev-python/django: Remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/799710 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/django/Manifest | 4 -- |
14 |
dev-python/django/django-3.1.12.ebuild | 95 ------------------------------ |
15 |
dev-python/django/django-3.2.4.ebuild | 103 --------------------------------- |
16 |
3 files changed, 202 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
19 |
index 41355116e8e..d1ab52f5e4b 100644 |
20 |
--- a/dev-python/django/Manifest |
21 |
+++ b/dev-python/django/Manifest |
22 |
@@ -1,10 +1,6 @@ |
23 |
DIST Django-2.2.24.checksum.txt 2558 BLAKE2B 8a4b1759f0c52f9dfe6eafc2b54d2d6db8c1204be837ef0df362e02afb41faa3fcfef3ee1b5bc10482a200db58c21c3a7a9650b6ed8103c69f196b655af5b239 SHA512 e26d71ed2cded2521837c82ee896b68d765da224a42f34457cb67a0105a72b2b0223655208400baddf7bb70dd51c4902b9ae80d8cb2bc8963c16b23d37bb2d53 |
24 |
DIST Django-2.2.24.tar.gz 9211396 BLAKE2B 7422019ad8849ae543d7b2ca7f5624b5379c832b5d19511f52df77d95acaa0a45cc61579b0e3a74671c295ffab5e1dfecd1c044e9ec042c46606f888c257e1d0 SHA512 5a3ee79500ad458bfc5220b9b68248bec59bf6d2304d58ca280111854d6a5f7e25784680e949487e8b59c1de0b329a53cf0676d2ee4bb2b88463918c4b0b6085 |
25 |
-DIST Django-3.1.12.checksum.txt 2558 BLAKE2B fe31c76517811b5a69bbab6a44966059b40e26e81134682a56753fb886abb1081ad998628fb45eb9959fa1b625c1ffc7128ed0153aadde23319ca28daedf71ca SHA512 6b5a243eee10a33721725be4f09b34395f0d7b34775c72b387d47445947de25f927b2b6d3bc6d76896096b8d06080ebd66ad3a667984087b7c3505a705ec8f76 |
26 |
-DIST Django-3.1.12.tar.gz 9676259 BLAKE2B 91781b77b63591a9fc1dffbe341b5400898ccce6267b18236f8680e86f02bb70cc4ab3297fb504e5a809947bd7e68795286b875f319a60ad501d38f4af1f17a7 SHA512 7b58d0bd6ccd6a3222bd58e87ee26646e75b807f284cb259baa5442514c249b3d7695ed0c61e5cc544e121d06a102c5ea1b40694d17e7d4dd3a8437891284c0a |
27 |
DIST Django-3.1.13.checksum.txt 2552 BLAKE2B e82052d952f7dfd15e11b413fe2f106af3d3774073c57538b10f1beeada3128de2cb3d861684599fbf5f337b0ae4eff3a101998da30d8d961f84ac7cb3bb31c5 SHA512 07870c27034f70f335ac35b34317944947f544f63108f21134e81326b4e8f05a7cb3d382d91e7f0a846d51944032efcddca2c3bf980f626627c74c388932e4cf |
28 |
DIST Django-3.1.13.tar.gz 9656683 BLAKE2B bb2dd72ba2dfc13c8f487d6b59cd9302160800dca4f63b92e640eddf4aba2e5b1bd67580e56477bced44a5393b5f65a463a9c0c539ba998a20606bffdfafcf74 SHA512 55b1ceb24b6e0ba542a96319f63b138439532cf4b00971a8432baaab4a8ee219cc9fbb31d457ba7da9e932c919df83da9630866d909df4a5d432866b158098d7 |
29 |
-DIST Django-3.2.4.checksum.txt 2549 BLAKE2B d7f9e0fb88d9913c611ab3e5c0c276e135d2f2dbf2ad27043a46a9c57ecfd7e7f774b1d60630f47a53fdf455e63b2deb32b4f9caed77f33732cf85c92dc03108 SHA512 67e67719eb24fdf47da9611eb18184283657dca398eaf52963e17b2ff29a2687921171b1c68853fb7e17307d03c01be0d2554931c8bff38e2252c371f81e40b9 |
30 |
-DIST Django-3.2.4.tar.gz 9824343 BLAKE2B 25123c228171953e057fe6ba75afadc49c49567e167045c292606e914538f58f9628e48485f611afaacd7e173f36c720391c06662f8dcd796e966f7557f60216 SHA512 5891f77c884cb4bc74f4c9759e2e7be463fc0c661b8dd4d889be0ec46919e59b81f5ce1585c28075b15f03355e66d4b8e7b09001f0c2bea15f8c8aac77d1ea16 |
31 |
DIST Django-3.2.5.checksum.txt 2543 BLAKE2B 4a07a518bdde4670dc3bf079d8d3cfa32b6580cc06f18306a2127463f3a6a2d8f2a50c4562092439c7c99ccf80dde160b061180826c94d4e1064d5064ff500fe SHA512 b073ff758843f72b6467dae7580941774de9702db02a6fab303cb696cb22c84ca961885792e8ec85545294610f34a4eb52ac3f6521c190d2c339c1957ab4156a |
32 |
DIST Django-3.2.5.tar.gz 9806547 BLAKE2B d804d758f95f18aac5c44cba9bd9248efa56cba91bea5db2ac89e8c2202ac1fd088b61d6cc98eb7d6d33a95f85983b801c6cc26a3231986a8cf224a0bbeb8a7c SHA512 03d4eee650a857bed298658c68b916beb74690d16b4b28d649c52a7c2d8a61e92f53136d2de3a77fabe1dd01c0e6b3033befc6842f39c222793fb590b1020c13 |
33 |
|
34 |
diff --git a/dev-python/django/django-3.1.12.ebuild b/dev-python/django/django-3.1.12.ebuild |
35 |
deleted file mode 100644 |
36 |
index 16ea57edc02..00000000000 |
37 |
--- a/dev-python/django/django-3.1.12.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,95 +0,0 @@ |
40 |
-# Copyright 1999-2021 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=7 |
44 |
- |
45 |
-PYTHON_COMPAT=( python3_{7..9} ) |
46 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
47 |
- |
48 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
49 |
- |
50 |
-MY_P=${P^} |
51 |
-DESCRIPTION="High-level Python web framework" |
52 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
53 |
-SRC_URI=" |
54 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
55 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" |
56 |
-S="${WORKDIR}/${MY_P}" |
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 arm arm64 ~ppc ~ppc64 ~sparc x86 ~x64-macos" |
65 |
-IUSE="doc sqlite test" |
66 |
-RESTRICT="!test? ( test )" |
67 |
- |
68 |
-RDEPEND=" |
69 |
- >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
70 |
- dev-python/pytz[${PYTHON_USEDEP}] |
71 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
72 |
-BDEPEND=" |
73 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
74 |
- test? ( |
75 |
- $(python_gen_impl_dep sqlite) |
76 |
- ${RDEPEND} |
77 |
- dev-python/docutils[${PYTHON_USEDEP}] |
78 |
- dev-python/jinja[${PYTHON_USEDEP}] |
79 |
- dev-python/numpy[${PYTHON_USEDEP}] |
80 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
81 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
82 |
- dev-python/selenium[${PYTHON_USEDEP}] |
83 |
- dev-python/tblib[${PYTHON_USEDEP}] |
84 |
- sys-devel/gettext |
85 |
- !!<dev-python/ipython-7.21.0-r1 |
86 |
- !!=dev-python/ipython-7.22.0-r0 |
87 |
- ) |
88 |
- verify-sig? ( >=app-crypt/openpgp-keys-django-20201201 ) |
89 |
-" |
90 |
- |
91 |
-PATCHES=( |
92 |
- "${FILESDIR}"/${PN}-3.1-bashcomp.patch |
93 |
-) |
94 |
- |
95 |
-distutils_enable_sphinx docs --no-autodoc |
96 |
- |
97 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
98 |
- |
99 |
-src_unpack() { |
100 |
- if use verify-sig; then |
101 |
- cd "${DISTDIR}" || die |
102 |
- verify-sig_verify_signed_checksums \ |
103 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
104 |
- cd "${WORKDIR}" || die |
105 |
- fi |
106 |
- |
107 |
- default |
108 |
-} |
109 |
- |
110 |
-python_test() { |
111 |
- # Tests have non-standard assumptions about PYTHONPATH, |
112 |
- # and don't work with ${BUILD_DIR}/lib. |
113 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
114 |
- die "Tests fail with ${EPYTHON}" |
115 |
-} |
116 |
- |
117 |
-python_install_all() { |
118 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
119 |
- bashcomp_alias ${PN}-admin django-admin.py |
120 |
- |
121 |
- distutils-r1_python_install_all |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- optfeature_header "Additional Backend support can be enabled via:" |
126 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
127 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
128 |
- optfeature_header |
129 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
130 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
131 |
- optfeature "ImageField Support" dev-python/pillow |
132 |
- optfeature "Password encryption" dev-python/bcrypt |
133 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
134 |
-} |
135 |
|
136 |
diff --git a/dev-python/django/django-3.2.4.ebuild b/dev-python/django/django-3.2.4.ebuild |
137 |
deleted file mode 100644 |
138 |
index 96f67052a29..00000000000 |
139 |
--- a/dev-python/django/django-3.2.4.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,103 +0,0 @@ |
142 |
-# Copyright 1999-2021 Gentoo Authors |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
- |
145 |
-EAPI=7 |
146 |
- |
147 |
-PYTHON_COMPAT=( python3_{8..10} ) |
148 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
149 |
- |
150 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
151 |
- |
152 |
-MY_P=${P^} |
153 |
-DESCRIPTION="High-level Python web framework" |
154 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
155 |
-SRC_URI=" |
156 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
157 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" |
158 |
-S="${WORKDIR}/${MY_P}" |
159 |
- |
160 |
-LICENSE="BSD" |
161 |
-# admin fonts: Roboto (media-fonts/roboto) |
162 |
-LICENSE+=" Apache-2.0" |
163 |
-# admin icons, jquery, xregexp.js |
164 |
-LICENSE+=" MIT" |
165 |
-SLOT="0" |
166 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
167 |
-IUSE="doc sqlite test" |
168 |
-RESTRICT="!test? ( test )" |
169 |
- |
170 |
-RDEPEND=" |
171 |
- >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
172 |
- dev-python/pytz[${PYTHON_USEDEP}] |
173 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
174 |
-BDEPEND=" |
175 |
- test? ( |
176 |
- $(python_gen_impl_dep sqlite) |
177 |
- ${RDEPEND} |
178 |
- dev-python/docutils[${PYTHON_USEDEP}] |
179 |
- dev-python/jinja[${PYTHON_USEDEP}] |
180 |
- dev-python/numpy[${PYTHON_USEDEP}] |
181 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
182 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
183 |
- dev-python/selenium[${PYTHON_USEDEP}] |
184 |
- dev-python/tblib[${PYTHON_USEDEP}] |
185 |
- sys-devel/gettext |
186 |
- !!<dev-python/ipython-7.21.0-r1 |
187 |
- !!=dev-python/ipython-7.22.0-r0 |
188 |
- ) |
189 |
- verify-sig? ( >=app-crypt/openpgp-keys-django-20201201 ) |
190 |
-" |
191 |
- |
192 |
-PATCHES=( |
193 |
- "${FILESDIR}"/${PN}-3.1-bashcomp.patch |
194 |
- # From https://github.com/django/django/pull/14228 |
195 |
- "${FILESDIR}"/${PN}-3.2.3-py310-repr.patch |
196 |
-) |
197 |
- |
198 |
-distutils_enable_sphinx docs --no-autodoc |
199 |
- |
200 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
201 |
- |
202 |
-src_unpack() { |
203 |
- if use verify-sig; then |
204 |
- cd "${DISTDIR}" || die |
205 |
- verify-sig_verify_signed_checksums \ |
206 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
207 |
- cd "${WORKDIR}" || die |
208 |
- fi |
209 |
- |
210 |
- default |
211 |
-} |
212 |
- |
213 |
-python_prepare_all() { |
214 |
- # Fails because of warnings |
215 |
- sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py |
216 |
- |
217 |
- distutils-r1_python_prepare_all |
218 |
-} |
219 |
- |
220 |
-python_test() { |
221 |
- # Tests have non-standard assumptions about PYTHONPATH, |
222 |
- # and don't work with ${BUILD_DIR}/lib. |
223 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
224 |
- die "Tests fail with ${EPYTHON}" |
225 |
-} |
226 |
- |
227 |
-python_install_all() { |
228 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
229 |
- bashcomp_alias ${PN}-admin django-admin.py |
230 |
- |
231 |
- distutils-r1_python_install_all |
232 |
-} |
233 |
- |
234 |
-pkg_postinst() { |
235 |
- optfeature_header "Additional Backend support can be enabled via:" |
236 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
237 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
238 |
- optfeature_header |
239 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
240 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
241 |
- optfeature "ImageField Support" dev-python/pillow |
242 |
- optfeature "Password encryption" dev-python/bcrypt |
243 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
244 |
-} |