1 |
commit: eec0486412ed8531bb64cd69820ee9ba4670dd27 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 4 22:05:27 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 4 22:05:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec04864 |
7 |
|
8 |
dev-python/django: drop 2.2.25, 3.1.14, 3.2.10, 4.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/830593 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
dev-python/django/Manifest | 8 --- |
14 |
dev-python/django/django-2.2.25.ebuild | 92 ----------------------------- |
15 |
dev-python/django/django-3.1.14.ebuild | 95 ------------------------------ |
16 |
dev-python/django/django-3.2.10.ebuild | 101 -------------------------------- |
17 |
dev-python/django/django-4.0.ebuild | 103 --------------------------------- |
18 |
5 files changed, 399 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
21 |
index a38e29e59a65..15b2ebb1a2e2 100644 |
22 |
--- a/dev-python/django/Manifest |
23 |
+++ b/dev-python/django/Manifest |
24 |
@@ -1,14 +1,6 @@ |
25 |
-DIST Django-2.2.25.checksum.txt 2556 BLAKE2B 81743dc51043d12af7dce1f70190a1e53a6be7a8ae6f34fe10fa713321f8d432119f6e4e58679866a8d61dbe640c8c18d97dfa9a3767bbafb5732b9619ecb475 SHA512 1cc2982c3ab83c4af47adad14a07badc301f1b03640c34ac043ca663ac0e8c3c0a9c4de8ebd01e29f2e2c8441ae29826c91faa8f1d4e6f6824e7c849a868ddf7 |
26 |
-DIST Django-2.2.25.tar.gz 9185326 BLAKE2B 54df79f3ee75d588cdf46c931a53331894bc113563d2e472cf5472ba66eac1ed62f9e54798dd726837be2ef9598ed20936dbe5e3ff395249e7011af3d551e672 SHA512 c3d377c8d1ce54c93477615cff1cc74fc21791bc9db6b059787e07d0bc25b4d0c1a5804bf781d45ebba1f5f5c280957cff2bba063fea4fc005a1e945b9a7fa8f |
27 |
DIST Django-2.2.26.checksum.txt 2561 BLAKE2B a974c7d5c8cef76e781e4fa1559725cc7d77de3d16b08ec20d034b38cb39a986b62397532bbc81d4414b3eae8a5487a9fef9615eed73946a54a2b43cdf34a6ad SHA512 7c1d3e04913237ed0dc9955eedd02cfb5113b9536ed0b471d873269ec82099561714a061b74bf212c2e99bbe47e6cf72e639358a2f9134f751fdd7cd53e6ce17 |
28 |
DIST Django-2.2.26.tar.gz 9207984 BLAKE2B abd520bc5681b8450e51c4248eb97558daa6a87f74915bea8857843a5ea9be6bf3a04c9f5871c35d2076adb644da266c7b88ac39bb2837ff1eaa71f885bd08bf SHA512 2005b081e7347f6f8fd4837219043bd1728cd85aca00c62a16432f63272abec7d30b7461675708fa0f55e3273af5bbd67c26d31934f8a4a38f48e65ea721916f |
29 |
-DIST Django-3.1.14.checksum.txt 2556 BLAKE2B bb17e596d076489ac00b6b3eb98ab2949692a82fbc542537f3758c2a53ea4aaeca15bf00c49b363e00d32c2d6face05e6b6e07000219cb8e5ceea2f9d9918ec2 SHA512 a0dd1e9dd739e6891435a02ce4711560c7f0c869a04d540fdb1b90d2cedfdd7d9892e442fb991c4f4cb8ca1862fd8f3a55d88a10645ecf0178d1ea63e17e8e89 |
30 |
-DIST Django-3.1.14.tar.gz 9659386 BLAKE2B 5e9317e777e3879f2cea3eea98018884c073eed47c3da9aab09858bc0869f4f34f48d20860c32344446498879b6c9b5cb9d5ba12f0528b703436a2c37325d286 SHA512 5356f453e23a33092221137769a594608771c5832c0dc00453e571fee056438b5366eba720b1fefa33099356980ee56a9665fc6ed7c86f5412e45d6432940e64 |
31 |
-DIST Django-3.2.10.checksum.txt 2556 BLAKE2B cdc1b28f213e43b27b0534587b8475bd68979f3c179357a7978109fa85ee0a4bbd5d0bba4625e6850aca603f688483dbdcb102a7411e74394079d2b0c0ef767e SHA512 852f867a5a11f11f98710cf27fdba2774de537dbe1e5edc402214acb65a6e00bf05a7b4fe5eb663cc21aa6ee9da890d7c74172a17c1b084db89ada1ff1db3745 |
32 |
-DIST Django-3.2.10.tar.gz 9811341 BLAKE2B a2ed3dda0d88a884443cc07446921fcd9cc9f302b5f578910f2e4027f8d87b92717bb22a7bf73cdb44fb7ddf4c178349e31eee6b796a45727356cde24e41d318 SHA512 6b793a1e544ab988d909d9fc5152d9dbba864c4916bb1f703a07c72f1a945ba93ba53b2f8843b67a16d0e68a736c43faf2f3d8aaa0867de1668c3845c24da7da |
33 |
DIST Django-3.2.11.checksum.txt 2561 BLAKE2B ece4f40d4d368e2e5ad3cc3ed6072aa8d1693b47d68b76020059508bfc10a30f6291f5e84c68bb959fa973c4e060bf4fd408beefaedc13b68e81b721cb78aab3 SHA512 4f2c12088cfb69f547ba687e9cac34b68a9bd28c793482430bda078f51e780b1272de7ec7816dc31d2fa93bf1c68973f847d67c01414fc8bf07fa6f6ea09dc39 |
34 |
DIST Django-3.2.11.tar.gz 9821958 BLAKE2B 8f83db578e31c3cbeca67bd826b4c639b346e449de83aba6ddf6bf4eef1fc58ebcbbddf91227012e592516d7796d9f3cc468ae4ce51d684b4aa0a417bb39ddb1 SHA512 ea1ca9a76afcd7e20d0ce518efc0497bbd11f4ab7ed20bd4490561bfcfc6c80db8922a22d8aca94c1dc2743e7366b28a0ae76c3d64f55afc142c38a744dd5120 |
35 |
DIST Django-4.0.1.checksum.txt 2552 BLAKE2B 123a613af7ff1ccb423c11086501a4419d86cf07c0ae7a4751f12d32f1592916e72e3e47cee13192944a3fc05ce5ee7ac81038118e346545536f313a10783de6 SHA512 979a7c5efafd4d8923d6c769ddd7d73c67482c33fd1a76c64d75aee0a03399e35703e7cbde9f5ad25baab969c33ab53690400e39c879e54066a146944e5d0ee1 |
36 |
DIST Django-4.0.1.tar.gz 9995484 BLAKE2B af05ec1ec1d079e383efc590de78413b7fd769e7f03c5d4bdcfd26f193a46f783b4c3428558f5d3281cab9a7fa8be4cfecdc4edaf1bea72f37e8e983b3c061f1 SHA512 7753c516b080c10673c3a95e8ec4af00984aeed5f288e4d6e7ab1efd461222a343701b21cfd27bc61ee4e63df5ce3f3be49398490a995f6839e63b40c3fe306c |
37 |
-DIST Django-4.0.checksum.txt 2529 BLAKE2B 0488acaf4fe37c99e3bd2370d47c47db81ffcad961212a88e7d53349299fdb3cbdc4a10fea3729d6d2353405216b8073abe8fcb2596b845760f16f2539ba4417 SHA512 26ac6ce6118d60d7bd0f0ef4c24c590eef7a102f546c3163000ad392d8f64b1c24648b8a4110df81170d60e3528466ceae974d408a700cf238dfdb8f9386d1ce |
38 |
-DIST Django-4.0.tar.gz 9980403 BLAKE2B fb3cdaa8beae6983930d1e2760d617f1a96e52d7f538269709b07cc31ef049511b0517c1538934cf9ede5e374cd466df05ebabe29f1f8fb8c4c3928e8a08a1fc SHA512 6fec0521ee7da209f3b0fb1487ef4e8ef16bf3bf4ea108efc7a2ee3a9d28c7c33e5e3b2bd92e231641b0be902b45d1fd8b712c48a33496ae2c865a3698b25e14 |
39 |
|
40 |
diff --git a/dev-python/django/django-2.2.25.ebuild b/dev-python/django/django-2.2.25.ebuild |
41 |
deleted file mode 100644 |
42 |
index 3736087882ce..000000000000 |
43 |
--- a/dev-python/django/django-2.2.25.ebuild |
44 |
+++ /dev/null |
45 |
@@ -1,92 +0,0 @@ |
46 |
-# Copyright 1999-2021 Gentoo Authors |
47 |
-# Distributed under the terms of the GNU General Public License v2 |
48 |
- |
49 |
-EAPI=7 |
50 |
- |
51 |
-PYTHON_COMPAT=( python3_{7..9} ) |
52 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
53 |
- |
54 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
55 |
- |
56 |
-MY_P=${P^} |
57 |
-DESCRIPTION="High-level Python web framework" |
58 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
59 |
-SRC_URI=" |
60 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
61 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" |
62 |
-S="${WORKDIR}/${MY_P}" |
63 |
- |
64 |
-LICENSE="BSD" |
65 |
-# admin fonts: Roboto (media-fonts/roboto) |
66 |
-LICENSE+=" Apache-2.0" |
67 |
-# admin icons, jquery, xregexp.js |
68 |
-LICENSE+=" MIT" |
69 |
-SLOT="0" |
70 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
71 |
-IUSE="doc sqlite test" |
72 |
-RESTRICT="!test? ( test )" |
73 |
- |
74 |
-RDEPEND=" |
75 |
- dev-python/pytz[${PYTHON_USEDEP}] |
76 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
77 |
-BDEPEND=" |
78 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
79 |
- test? ( |
80 |
- $(python_gen_impl_dep sqlite) |
81 |
- ${RDEPEND} |
82 |
- dev-python/docutils[${PYTHON_USEDEP}] |
83 |
- dev-python/jinja[${PYTHON_USEDEP}] |
84 |
- dev-python/numpy[${PYTHON_USEDEP}] |
85 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
86 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
87 |
- dev-python/selenium[${PYTHON_USEDEP}] |
88 |
- dev-python/tblib[${PYTHON_USEDEP}] |
89 |
- sys-devel/gettext |
90 |
- ) |
91 |
- verify-sig? ( sec-keys/openpgp-keys-django ) |
92 |
-" |
93 |
- |
94 |
-PATCHES=( |
95 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
96 |
-) |
97 |
- |
98 |
-distutils_enable_sphinx docs --no-autodoc |
99 |
- |
100 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
101 |
- |
102 |
-src_unpack() { |
103 |
- if use verify-sig; then |
104 |
- cd "${DISTDIR}" || die |
105 |
- verify-sig_verify_signed_checksums \ |
106 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
107 |
- cd "${WORKDIR}" || die |
108 |
- fi |
109 |
- |
110 |
- default |
111 |
-} |
112 |
- |
113 |
-python_test() { |
114 |
- # Tests have non-standard assumptions about PYTHONPATH, |
115 |
- # and don't work with ${BUILD_DIR}/lib. |
116 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
117 |
- die "Tests fail with ${EPYTHON}" |
118 |
-} |
119 |
- |
120 |
-python_install_all() { |
121 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
122 |
- bashcomp_alias ${PN}-admin django-admin.py |
123 |
- |
124 |
- distutils-r1_python_install_all |
125 |
-} |
126 |
- |
127 |
-pkg_postinst() { |
128 |
- optfeature_header "Additional Backend support can be enabled via:" |
129 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
130 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
131 |
- optfeature_header |
132 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
133 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
134 |
- optfeature "ImageField Support" dev-python/pillow |
135 |
- optfeature "Password encryption" dev-python/bcrypt |
136 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
137 |
-} |
138 |
|
139 |
diff --git a/dev-python/django/django-3.1.14.ebuild b/dev-python/django/django-3.1.14.ebuild |
140 |
deleted file mode 100644 |
141 |
index 1acd30dd125e..000000000000 |
142 |
--- a/dev-python/django/django-3.1.14.ebuild |
143 |
+++ /dev/null |
144 |
@@ -1,95 +0,0 @@ |
145 |
-# Copyright 1999-2021 Gentoo Authors |
146 |
-# Distributed under the terms of the GNU General Public License v2 |
147 |
- |
148 |
-EAPI=7 |
149 |
- |
150 |
-PYTHON_COMPAT=( python3_{8..9} ) |
151 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
152 |
- |
153 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
154 |
- |
155 |
-MY_P=${P^} |
156 |
-DESCRIPTION="High-level Python web framework" |
157 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
158 |
-SRC_URI=" |
159 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
160 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" |
161 |
-S="${WORKDIR}/${MY_P}" |
162 |
- |
163 |
-LICENSE="BSD" |
164 |
-# admin fonts: Roboto (media-fonts/roboto) |
165 |
-LICENSE+=" Apache-2.0" |
166 |
-# admin icons, jquery, xregexp.js |
167 |
-LICENSE+=" MIT" |
168 |
-SLOT="0" |
169 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86 ~x64-macos" |
170 |
-IUSE="doc sqlite test" |
171 |
-RESTRICT="!test? ( test )" |
172 |
- |
173 |
-RDEPEND=" |
174 |
- >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
175 |
- dev-python/pytz[${PYTHON_USEDEP}] |
176 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
177 |
-BDEPEND=" |
178 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
179 |
- test? ( |
180 |
- $(python_gen_impl_dep sqlite) |
181 |
- ${RDEPEND} |
182 |
- dev-python/docutils[${PYTHON_USEDEP}] |
183 |
- dev-python/jinja[${PYTHON_USEDEP}] |
184 |
- dev-python/numpy[${PYTHON_USEDEP}] |
185 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
186 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
187 |
- dev-python/selenium[${PYTHON_USEDEP}] |
188 |
- dev-python/tblib[${PYTHON_USEDEP}] |
189 |
- sys-devel/gettext |
190 |
- !!<dev-python/ipython-7.21.0-r1 |
191 |
- !!=dev-python/ipython-7.22.0-r0 |
192 |
- ) |
193 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
194 |
-" |
195 |
- |
196 |
-PATCHES=( |
197 |
- "${FILESDIR}"/${PN}-3.1-bashcomp.patch |
198 |
-) |
199 |
- |
200 |
-distutils_enable_sphinx docs --no-autodoc |
201 |
- |
202 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
203 |
- |
204 |
-src_unpack() { |
205 |
- if use verify-sig; then |
206 |
- cd "${DISTDIR}" || die |
207 |
- verify-sig_verify_signed_checksums \ |
208 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
209 |
- cd "${WORKDIR}" || die |
210 |
- fi |
211 |
- |
212 |
- default |
213 |
-} |
214 |
- |
215 |
-python_test() { |
216 |
- # Tests have non-standard assumptions about PYTHONPATH, |
217 |
- # and don't work with ${BUILD_DIR}/lib. |
218 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
219 |
- die "Tests fail with ${EPYTHON}" |
220 |
-} |
221 |
- |
222 |
-python_install_all() { |
223 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
224 |
- bashcomp_alias ${PN}-admin django-admin.py |
225 |
- |
226 |
- distutils-r1_python_install_all |
227 |
-} |
228 |
- |
229 |
-pkg_postinst() { |
230 |
- optfeature_header "Additional Backend support can be enabled via:" |
231 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
232 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
233 |
- optfeature_header |
234 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
235 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
236 |
- optfeature "ImageField Support" dev-python/pillow |
237 |
- optfeature "Password encryption" dev-python/bcrypt |
238 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
239 |
-} |
240 |
|
241 |
diff --git a/dev-python/django/django-3.2.10.ebuild b/dev-python/django/django-3.2.10.ebuild |
242 |
deleted file mode 100644 |
243 |
index f3ebf76cca94..000000000000 |
244 |
--- a/dev-python/django/django-3.2.10.ebuild |
245 |
+++ /dev/null |
246 |
@@ -1,101 +0,0 @@ |
247 |
-# Copyright 1999-2021 Gentoo Authors |
248 |
-# Distributed under the terms of the GNU General Public License v2 |
249 |
- |
250 |
-EAPI=8 |
251 |
- |
252 |
-PYTHON_COMPAT=( python3_{8..10} ) |
253 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
254 |
- |
255 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
256 |
- |
257 |
-MY_P=${P^} |
258 |
-DESCRIPTION="High-level Python web framework" |
259 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
260 |
-SRC_URI=" |
261 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
262 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" |
263 |
-S="${WORKDIR}/${MY_P}" |
264 |
- |
265 |
-LICENSE="BSD" |
266 |
-# admin fonts: Roboto (media-fonts/roboto) |
267 |
-LICENSE+=" Apache-2.0" |
268 |
-# admin icons, jquery, xregexp.js |
269 |
-LICENSE+=" MIT" |
270 |
-SLOT="0" |
271 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
272 |
-IUSE="doc sqlite test" |
273 |
-RESTRICT="!test? ( test )" |
274 |
- |
275 |
-RDEPEND=" |
276 |
- >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
277 |
- dev-python/pytz[${PYTHON_USEDEP}] |
278 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
279 |
-BDEPEND=" |
280 |
- test? ( |
281 |
- $(python_gen_impl_dep sqlite) |
282 |
- ${RDEPEND} |
283 |
- dev-python/docutils[${PYTHON_USEDEP}] |
284 |
- dev-python/jinja[${PYTHON_USEDEP}] |
285 |
- dev-python/numpy[${PYTHON_USEDEP}] |
286 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
287 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
288 |
- dev-python/selenium[${PYTHON_USEDEP}] |
289 |
- dev-python/tblib[${PYTHON_USEDEP}] |
290 |
- sys-devel/gettext |
291 |
- !!<dev-python/ipython-7.21.0-r1 |
292 |
- !!=dev-python/ipython-7.22.0-r0 |
293 |
- ) |
294 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
295 |
-" |
296 |
- |
297 |
-PATCHES=( |
298 |
- "${FILESDIR}"/${PN}-3.1-bashcomp.patch |
299 |
-) |
300 |
- |
301 |
-distutils_enable_sphinx docs --no-autodoc |
302 |
- |
303 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
304 |
- |
305 |
-src_unpack() { |
306 |
- if use verify-sig; then |
307 |
- cd "${DISTDIR}" || die |
308 |
- verify-sig_verify_signed_checksums \ |
309 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
310 |
- cd "${WORKDIR}" || die |
311 |
- fi |
312 |
- |
313 |
- default |
314 |
-} |
315 |
- |
316 |
-python_prepare_all() { |
317 |
- # Fails because of warnings |
318 |
- sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py |
319 |
- |
320 |
- distutils-r1_python_prepare_all |
321 |
-} |
322 |
- |
323 |
-python_test() { |
324 |
- # Tests have non-standard assumptions about PYTHONPATH, |
325 |
- # and don't work with ${BUILD_DIR}/lib. |
326 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
327 |
- die "Tests fail with ${EPYTHON}" |
328 |
-} |
329 |
- |
330 |
-python_install_all() { |
331 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
332 |
- bashcomp_alias ${PN}-admin django-admin.py |
333 |
- |
334 |
- distutils-r1_python_install_all |
335 |
-} |
336 |
- |
337 |
-pkg_postinst() { |
338 |
- optfeature_header "Additional Backend support can be enabled via:" |
339 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
340 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
341 |
- optfeature_header |
342 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
343 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
344 |
- optfeature "ImageField Support" dev-python/pillow |
345 |
- optfeature "Password encryption" dev-python/bcrypt |
346 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
347 |
-} |
348 |
|
349 |
diff --git a/dev-python/django/django-4.0.ebuild b/dev-python/django/django-4.0.ebuild |
350 |
deleted file mode 100644 |
351 |
index e75b65ed859d..000000000000 |
352 |
--- a/dev-python/django/django-4.0.ebuild |
353 |
+++ /dev/null |
354 |
@@ -1,103 +0,0 @@ |
355 |
-# Copyright 1999-2021 Gentoo Authors |
356 |
-# Distributed under the terms of the GNU General Public License v2 |
357 |
- |
358 |
-EAPI=8 |
359 |
- |
360 |
-PYTHON_COMPAT=( python3_{8..10} ) |
361 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
362 |
- |
363 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
364 |
- |
365 |
-MY_P=${P^} |
366 |
-DESCRIPTION="High-level Python web framework" |
367 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
368 |
-SRC_URI=" |
369 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
370 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )" |
371 |
-S="${WORKDIR}/${MY_P}" |
372 |
- |
373 |
-LICENSE="BSD" |
374 |
-# admin fonts: Roboto (media-fonts/roboto) |
375 |
-LICENSE+=" Apache-2.0" |
376 |
-# admin icons, jquery, xregexp.js |
377 |
-LICENSE+=" MIT" |
378 |
-SLOT="0" |
379 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
380 |
-IUSE="doc sqlite test" |
381 |
-RESTRICT="!test? ( test )" |
382 |
- |
383 |
-RDEPEND=" |
384 |
- >=dev-python/asgiref-3.4.1[${PYTHON_USEDEP}] |
385 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
386 |
- $(python_gen_cond_dep ' |
387 |
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
388 |
- ' python3_8 pypy3)" |
389 |
-BDEPEND=" |
390 |
- test? ( |
391 |
- $(python_gen_impl_dep sqlite) |
392 |
- ${RDEPEND} |
393 |
- dev-python/docutils[${PYTHON_USEDEP}] |
394 |
- dev-python/jinja[${PYTHON_USEDEP}] |
395 |
- dev-python/numpy[${PYTHON_USEDEP}] |
396 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
397 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
398 |
- dev-python/selenium[${PYTHON_USEDEP}] |
399 |
- dev-python/tblib[${PYTHON_USEDEP}] |
400 |
- sys-devel/gettext |
401 |
- !!<dev-python/ipython-7.21.0-r1 |
402 |
- !!=dev-python/ipython-7.22.0-r0 |
403 |
- ) |
404 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
405 |
-" |
406 |
- |
407 |
-PATCHES=( |
408 |
- "${FILESDIR}"/${PN}-4.0-bashcomp.patch |
409 |
-) |
410 |
- |
411 |
-distutils_enable_sphinx docs --no-autodoc |
412 |
- |
413 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
414 |
- |
415 |
-src_unpack() { |
416 |
- if use verify-sig; then |
417 |
- cd "${DISTDIR}" || die |
418 |
- verify-sig_verify_signed_checksums \ |
419 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
420 |
- cd "${WORKDIR}" || die |
421 |
- fi |
422 |
- |
423 |
- default |
424 |
-} |
425 |
- |
426 |
-python_prepare_all() { |
427 |
- # Fails because of warnings |
428 |
- sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py |
429 |
- |
430 |
- distutils-r1_python_prepare_all |
431 |
-} |
432 |
- |
433 |
-python_test() { |
434 |
- # Tests have non-standard assumptions about PYTHONPATH, |
435 |
- # and don't work with ${BUILD_DIR}/lib. |
436 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
437 |
- die "Tests fail with ${EPYTHON}" |
438 |
-} |
439 |
- |
440 |
-python_install_all() { |
441 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
442 |
- bashcomp_alias ${PN}-admin django-admin.py |
443 |
- |
444 |
- distutils-r1_python_install_all |
445 |
-} |
446 |
- |
447 |
-pkg_postinst() { |
448 |
- optfeature_header "Additional Backend support can be enabled via:" |
449 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
450 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
451 |
- optfeature_header |
452 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
453 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
454 |
- optfeature "ImageField Support" dev-python/pillow |
455 |
- optfeature "Password encryption" dev-python/bcrypt |
456 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
457 |
-} |