1 |
commit: 04eb26f1bf862c973f988cdd15bc4f96c91eec8d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 19:36:10 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 19:36:26 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04eb26f1 |
7 |
|
8 |
dev-python/django: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/django/Manifest | 8 --- |
13 |
dev-python/django/django-3.2.16.ebuild | 109 -------------------------------- |
14 |
dev-python/django/django-4.0.8.ebuild | 110 --------------------------------- |
15 |
dev-python/django/django-4.1.4.ebuild | 103 ------------------------------ |
16 |
dev-python/django/django-4.1.5.ebuild | 103 ------------------------------ |
17 |
5 files changed, 433 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
20 |
index 726fa7660082..56fbcdcb4380 100644 |
21 |
--- a/dev-python/django/Manifest |
22 |
+++ b/dev-python/django/Manifest |
23 |
@@ -1,14 +1,6 @@ |
24 |
-DIST Django-3.2.16.checksum.txt 2561 BLAKE2B c4fc829977881bbf758652b91c0b64c6432390a44e4047931d7315e67d310db52c0804faf515e1b65435c07391fa2844043c4302d4580003040d54e48f6785b3 SHA512 def47fd84e27d94d0fff90fd0c5e30d563c5faa9b5c12ce8834f5b0f2ff605e74bda8d2283e66177ec5ce4c05c6c4d52ce3a06a86f303b3e66b7f3c609c7d03b |
25 |
-DIST Django-3.2.16.tar.gz 9847052 BLAKE2B d1b0aeedf2540a570859832b4b4c5c189cd57b05863aa14ac3e00d2e10c7a20f2acc639e29b56409c7be707b28d5f365ab1afa2b70916045fe66adb001b64ea7 SHA512 628263370b4d073d5e88db8607f5b082b03c4e6e6ed6aca059dce18f61725eb4ff69da77f5f98ff7b3e6d9046a701aca5a32687670bf7ea5fdcf92d6d13d7373 |
26 |
DIST Django-3.2.17.checksum.txt 2556 BLAKE2B f8c7d219a512ecd683f29f1b50625d8c40945f5bc698a564af23355d74ebbfd1ff4b06b399c724d64a0a143510619e960b46cebc023086df332943450161994b SHA512 52f08df4d50e768e4f10f230fc1877ccb621eb77d179f0978dadc64aad8f9f791835eff9679e11bc0a729ac65eca131680738610cb3c3f0ebc2a8a02819e9a51 |
27 |
DIST Django-3.2.17.tar.gz 9830188 BLAKE2B 93fcda6a7bcaad907bbfb7c4109643637ca4adb41c57a7e71d5dbe1d2c5b3c8b0bfae82df0d6c9045e113cf3d4fc292c55f3968b0300895724daad20d3c03b88 SHA512 8d6d754e81d0ea4a66b0589d70794014614a5dfd44203fd954be94c4241912844942ef82e8234dce2f6318dde362f2eeaee3d6b54a08cc85191f9ab61b5f78f9 |
28 |
-DIST Django-4.0.8.checksum.txt 2552 BLAKE2B af7551bddb966e8e6d338b486c3d2aa5139b28571b77765fe3ca77c0a1a9c310c3286a98fea9d7748c00d1ed7f1afaaa98ef8d78f1a314fda4dd6d2f2b83882f SHA512 3838fc2369cd8010f06dcfed113106d6b32de3ab4da25580434efc7690c2f73323d60ad2da1b4992ffe6bab1ee8b334533ff7a5653f5a41430df858abe2e93a2 |
29 |
-DIST Django-4.0.8.tar.gz 10427857 BLAKE2B cbbba3b3044d60fcd6d240e1a181c00d65c1122dc464c86391e39a1eaa866703f41310401f3de291e427eb075dc141fbbc503f414e3627e16715e87f2c10e5c8 SHA512 6357cfc673eb0b993d88b6bed5e43bfea8e0c71d31b141033d06cfe45e91591739ac5c6c57a82cde0216104acb7b21c8c32c1c1bfacad3f62737c8ad10ee175a |
30 |
DIST Django-4.0.9.checksum.txt 2547 BLAKE2B 9e855836f392a88e8502408e60e4ea44609ab3abe60f4e329e3d1e63f885521439a82e03f57f6badfa532c61cc2f3323a118835ea31c4adf55d875e0eedf8c40 SHA512 ee507e7ec42665c3e315c33d18c1fec39c2f10efe809a46f1487cd1652c4ee3c73d351f2a99bc02da736ee1ceee20bae22f2653bef69f40b4cd0b7d76fbb06c8 |
31 |
DIST Django-4.0.9.tar.gz 10410176 BLAKE2B 41df0c4f01b9802751e84366e9c2efbf6699a4989229c3b787a6c33fd9dd51d8dd7c1487f47e9a9fc94fa513c8ae8a849ec0bee78061c2ae9c1b218b0d7336df SHA512 f6ac387e270cbbf1217af6667afd7d2a0b1ccb7738904ea35aaf9d71d0f40d7ea170283a8ef5b0bfa456c3b8b20248e1ac54182ee3ca41d0889ce5c7c8ff591d |
32 |
-DIST Django-4.1.4.checksum.txt 2553 BLAKE2B 18a8a5de5148f1ade673fc158c756a5b9dc70a2164d7d094ce56dae67a89ea9e8ee808f8319508a7af9229642a80215bd25980257bc78ad982ccf91722379f97 SHA512 d39791499b59b9912eb589a7174a012a33a61d74f5bcbaedca6bdf78cf584296a52f221affc1ddae696a114695c8d533cbbc94d2d855abae40a2b811db40f036 |
33 |
-DIST Django-4.1.4.tar.gz 10517427 BLAKE2B aee4e92dc2e87dc4281025f68274380da46661c504e65db516f0565fc225388e1fb35d7a742a19b8768a31e416bcc82db9c38f4a397c9a88c50448a09a2370e3 SHA512 43649665ac6235b103a3d2c1271dfa0c6177dd2eeca24cefe210809bca85b29b7ecd10de1e7a88677c7ab26b0a1c1912af013bbcbcfadcbc1f85416c10ec7d5f |
34 |
-DIST Django-4.1.5.checksum.txt 2546 BLAKE2B 3555213c23228ca26b7944c6c13a57232b17cda457c624ca38a3e05149bee5cff0f4c83e3677e775b7acdcff0157219488f82a1091234ace037097b8fe016ab4 SHA512 8fe18f80e8f3ae9635d55dcc48854e533437f938775de095c211e82f6ac97272c9af0fd5beb22f2f64894a2d64d6ab24f19c4d4aad4a483b7ad7d60c52e84974 |
35 |
-DIST Django-4.1.5.tar.gz 10507020 BLAKE2B 8fad2919cbe421524289f52c448b77f48abb87a61480db8c5e93ecdbf3b4410f3c5cb678a8643a13c21a236790e891dfc50159c5619847bd7085764c2734763d SHA512 483acebcc0cdc7f7e6e6264b23fd6528d1a8e66c9ccd421506bb2504ff55b058d514a2a359618892a786a0784d9580041db715b1990d8f5ae3c2e59a242eb578 |
36 |
DIST Django-4.1.6.checksum.txt 2547 BLAKE2B 4aa35e26cd570f3091e3a56ef6afe866c372ce57839656d40520482f15e53c9c3ae79c77f82a440ff642ac45cfb0591c4a9f15c37c29feae08646db630b28cf8 SHA512 1cb20c349b4b4fadea4ad34bd9b60a61a8a2ac26a351c71d94756d84ef7e0c5348118bb58001dd3004ca73527023ed4c8fb2f6c840fa2457e8b6db45fa3ed7fb |
37 |
DIST Django-4.1.6.tar.gz 10496749 BLAKE2B 0c0dcc4ace84f201a8ed47e66f1378b583be92c7d02d928d8c3869322fafb5f7df67522fc35933dda65248416d06343be426513d6ca4133fc2b790d738df165e SHA512 83206551c84bd716d4adb198eb73c7c00dce073a64dd9dce0c70a50de47a932253a6878d54eec62b525f71111dc00ad5d08dd5b104c3988e7313c3571409329d |
38 |
|
39 |
diff --git a/dev-python/django/django-3.2.16.ebuild b/dev-python/django/django-3.2.16.ebuild |
40 |
deleted file mode 100644 |
41 |
index 68c7e2f40c5e..000000000000 |
42 |
--- a/dev-python/django/django-3.2.16.ebuild |
43 |
+++ /dev/null |
44 |
@@ -1,109 +0,0 @@ |
45 |
-# Copyright 1999-2023 Gentoo Authors |
46 |
-# Distributed under the terms of the GNU General Public License v2 |
47 |
- |
48 |
-EAPI=8 |
49 |
- |
50 |
-DISTUTILS_USE_PEP517=setuptools |
51 |
-PYTHON_COMPAT=( python3_{9..10} ) |
52 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
53 |
- |
54 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
55 |
- |
56 |
-DESCRIPTION="High-level Python web framework" |
57 |
-HOMEPAGE=" |
58 |
- https://www.djangoproject.com/ |
59 |
- https://github.com/django/django/ |
60 |
- https://pypi.org/project/Django/ |
61 |
-" |
62 |
-SRC_URI=" |
63 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz |
64 |
- verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) |
65 |
-" |
66 |
-S="${WORKDIR}/${P^}" |
67 |
- |
68 |
-LICENSE="BSD" |
69 |
-# admin fonts: Roboto (media-fonts/roboto) |
70 |
-LICENSE+=" Apache-2.0" |
71 |
-# admin icons, jquery, xregexp.js |
72 |
-LICENSE+=" MIT" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
75 |
-IUSE="doc sqlite test" |
76 |
-RESTRICT="!test? ( test )" |
77 |
- |
78 |
-RDEPEND=" |
79 |
- >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
80 |
- dev-python/pytz[${PYTHON_USEDEP}] |
81 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
82 |
-" |
83 |
-BDEPEND=" |
84 |
- test? ( |
85 |
- $(python_gen_impl_dep sqlite) |
86 |
- ${RDEPEND} |
87 |
- dev-python/docutils[${PYTHON_USEDEP}] |
88 |
- dev-python/jinja[${PYTHON_USEDEP}] |
89 |
- dev-python/numpy[${PYTHON_USEDEP}] |
90 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
91 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
92 |
- dev-python/selenium[${PYTHON_USEDEP}] |
93 |
- dev-python/tblib[${PYTHON_USEDEP}] |
94 |
- sys-devel/gettext |
95 |
- !!<dev-python/ipython-7.21.0-r1 |
96 |
- !!=dev-python/ipython-7.22.0-r0 |
97 |
- ) |
98 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
99 |
-" |
100 |
- |
101 |
-PATCHES=( |
102 |
- "${FILESDIR}"/${PN}-3.1-bashcomp.patch |
103 |
-) |
104 |
- |
105 |
-distutils_enable_sphinx docs --no-autodoc |
106 |
- |
107 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
108 |
- |
109 |
-src_unpack() { |
110 |
- if use verify-sig; then |
111 |
- cd "${DISTDIR}" || die |
112 |
- verify-sig_verify_signed_checksums \ |
113 |
- "${P^}.checksum.txt" sha256 "${P^}.tar.gz" |
114 |
- cd "${WORKDIR}" || die |
115 |
- fi |
116 |
- |
117 |
- default |
118 |
-} |
119 |
- |
120 |
-python_prepare_all() { |
121 |
- # Fails because of warnings |
122 |
- sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py || die |
123 |
- # TODO: this suddenly started failing |
124 |
- sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die |
125 |
- |
126 |
- distutils-r1_python_prepare_all |
127 |
-} |
128 |
- |
129 |
-python_test() { |
130 |
- # Tests have non-standard assumptions about PYTHONPATH, |
131 |
- # and don't work with ${BUILD_DIR}/lib. |
132 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
133 |
- die "Tests fail with ${EPYTHON}" |
134 |
-} |
135 |
- |
136 |
-python_install_all() { |
137 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
138 |
- bashcomp_alias ${PN}-admin django-admin.py |
139 |
- |
140 |
- distutils-r1_python_install_all |
141 |
-} |
142 |
- |
143 |
-pkg_postinst() { |
144 |
- optfeature_header "Additional Backend support can be enabled via:" |
145 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
146 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
147 |
- optfeature_header |
148 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
149 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
150 |
- optfeature "ImageField Support" dev-python/pillow |
151 |
- optfeature "Password encryption" dev-python/bcrypt |
152 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
153 |
-} |
154 |
|
155 |
diff --git a/dev-python/django/django-4.0.8.ebuild b/dev-python/django/django-4.0.8.ebuild |
156 |
deleted file mode 100644 |
157 |
index 9ed143fa88f6..000000000000 |
158 |
--- a/dev-python/django/django-4.0.8.ebuild |
159 |
+++ /dev/null |
160 |
@@ -1,110 +0,0 @@ |
161 |
-# Copyright 1999-2023 Gentoo Authors |
162 |
-# Distributed under the terms of the GNU General Public License v2 |
163 |
- |
164 |
-EAPI=8 |
165 |
- |
166 |
-DISTUTILS_USE_PEP517=setuptools |
167 |
-PYTHON_COMPAT=( python3_{9..11} ) |
168 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
169 |
- |
170 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
171 |
- |
172 |
-DESCRIPTION="High-level Python web framework" |
173 |
-HOMEPAGE=" |
174 |
- https://www.djangoproject.com/ |
175 |
- https://github.com/django/django/ |
176 |
- https://pypi.org/project/Django/ |
177 |
-" |
178 |
-SRC_URI=" |
179 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz |
180 |
- verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) |
181 |
-" |
182 |
-S="${WORKDIR}/${P^}" |
183 |
- |
184 |
-LICENSE="BSD" |
185 |
-# admin fonts: Roboto (media-fonts/roboto) |
186 |
-LICENSE+=" Apache-2.0" |
187 |
-# admin icons, jquery, xregexp.js |
188 |
-LICENSE+=" MIT" |
189 |
-SLOT="0" |
190 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
191 |
-IUSE="doc sqlite test" |
192 |
-RESTRICT="!test? ( test )" |
193 |
- |
194 |
-RDEPEND=" |
195 |
- >=dev-python/asgiref-3.4.1[${PYTHON_USEDEP}] |
196 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
197 |
- $(python_gen_cond_dep ' |
198 |
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
199 |
- ' 3.8) |
200 |
-" |
201 |
-BDEPEND=" |
202 |
- test? ( |
203 |
- $(python_gen_impl_dep sqlite) |
204 |
- ${RDEPEND} |
205 |
- dev-python/docutils[${PYTHON_USEDEP}] |
206 |
- dev-python/jinja[${PYTHON_USEDEP}] |
207 |
- dev-python/numpy[${PYTHON_USEDEP}] |
208 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
209 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
210 |
- dev-python/selenium[${PYTHON_USEDEP}] |
211 |
- dev-python/tblib[${PYTHON_USEDEP}] |
212 |
- sys-devel/gettext |
213 |
- !!<dev-python/ipython-7.21.0-r1 |
214 |
- !!=dev-python/ipython-7.22.0-r0 |
215 |
- ) |
216 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
217 |
-" |
218 |
- |
219 |
-PATCHES=( |
220 |
- "${FILESDIR}"/${PN}-4.0-bashcomp.patch |
221 |
- "${FILESDIR}"/django-4.0.5-py311.patch |
222 |
-) |
223 |
- |
224 |
-distutils_enable_sphinx docs --no-autodoc |
225 |
- |
226 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
227 |
- |
228 |
-src_unpack() { |
229 |
- if use verify-sig; then |
230 |
- cd "${DISTDIR}" || die |
231 |
- verify-sig_verify_signed_checksums \ |
232 |
- "${P^}.checksum.txt" sha256 "${P^}.tar.gz" |
233 |
- cd "${WORKDIR}" || die |
234 |
- fi |
235 |
- |
236 |
- default |
237 |
-} |
238 |
- |
239 |
-src_prepare() { |
240 |
- # TODO: this suddenly started failing |
241 |
- sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die |
242 |
- |
243 |
- distutils-r1_src_prepare |
244 |
-} |
245 |
- |
246 |
-python_test() { |
247 |
- # Tests have non-standard assumptions about PYTHONPATH, |
248 |
- # and don't work with ${BUILD_DIR}/lib. |
249 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
250 |
- die "Tests fail with ${EPYTHON}" |
251 |
-} |
252 |
- |
253 |
-python_install_all() { |
254 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
255 |
- bashcomp_alias ${PN}-admin django-admin.py |
256 |
- |
257 |
- distutils-r1_python_install_all |
258 |
-} |
259 |
- |
260 |
-pkg_postinst() { |
261 |
- optfeature_header "Additional Backend support can be enabled via:" |
262 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
263 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
264 |
- optfeature_header |
265 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
266 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
267 |
- optfeature "ImageField Support" dev-python/pillow |
268 |
- optfeature "Password encryption" dev-python/bcrypt |
269 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
270 |
-} |
271 |
|
272 |
diff --git a/dev-python/django/django-4.1.4.ebuild b/dev-python/django/django-4.1.4.ebuild |
273 |
deleted file mode 100644 |
274 |
index 1c318d232ec1..000000000000 |
275 |
--- a/dev-python/django/django-4.1.4.ebuild |
276 |
+++ /dev/null |
277 |
@@ -1,103 +0,0 @@ |
278 |
-# Copyright 1999-2023 Gentoo Authors |
279 |
-# Distributed under the terms of the GNU General Public License v2 |
280 |
- |
281 |
-EAPI=8 |
282 |
- |
283 |
-DISTUTILS_USE_PEP517=setuptools |
284 |
-PYTHON_COMPAT=( python3_{9..11} ) |
285 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
286 |
- |
287 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
288 |
- |
289 |
-DESCRIPTION="High-level Python web framework" |
290 |
-HOMEPAGE=" |
291 |
- https://www.djangoproject.com/ |
292 |
- https://github.com/django/django/ |
293 |
- https://pypi.org/project/Django/ |
294 |
-" |
295 |
-SRC_URI=" |
296 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz |
297 |
- verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) |
298 |
-" |
299 |
-S="${WORKDIR}/${P^}" |
300 |
- |
301 |
-LICENSE="BSD" |
302 |
-# admin fonts: Roboto (media-fonts/roboto) |
303 |
-LICENSE+=" Apache-2.0" |
304 |
-# admin icons, jquery, xregexp.js |
305 |
-LICENSE+=" MIT" |
306 |
-SLOT="0" |
307 |
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
308 |
-IUSE="doc sqlite test" |
309 |
-RESTRICT="!test? ( test )" |
310 |
- |
311 |
-RDEPEND=" |
312 |
- <dev-python/asgiref-4[${PYTHON_USEDEP}] |
313 |
- >=dev-python/asgiref-3.5.2[${PYTHON_USEDEP}] |
314 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
315 |
- $(python_gen_cond_dep ' |
316 |
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
317 |
- ' 3.8) |
318 |
-" |
319 |
-BDEPEND=" |
320 |
- test? ( |
321 |
- $(python_gen_impl_dep sqlite) |
322 |
- ${RDEPEND} |
323 |
- dev-python/docutils[${PYTHON_USEDEP}] |
324 |
- dev-python/jinja[${PYTHON_USEDEP}] |
325 |
- dev-python/numpy[${PYTHON_USEDEP}] |
326 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
327 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
328 |
- dev-python/selenium[${PYTHON_USEDEP}] |
329 |
- dev-python/tblib[${PYTHON_USEDEP}] |
330 |
- sys-devel/gettext |
331 |
- !!<dev-python/ipython-7.21.0-r1 |
332 |
- !!=dev-python/ipython-7.22.0-r0 |
333 |
- ) |
334 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
335 |
-" |
336 |
- |
337 |
-PATCHES=( |
338 |
- "${FILESDIR}"/${PN}-4.0-bashcomp.patch |
339 |
-) |
340 |
- |
341 |
-distutils_enable_sphinx docs --no-autodoc |
342 |
- |
343 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
344 |
- |
345 |
-src_unpack() { |
346 |
- if use verify-sig; then |
347 |
- cd "${DISTDIR}" || die |
348 |
- verify-sig_verify_signed_checksums \ |
349 |
- "${P^}.checksum.txt" sha256 "${P^}.tar.gz" |
350 |
- cd "${WORKDIR}" || die |
351 |
- fi |
352 |
- |
353 |
- default |
354 |
-} |
355 |
- |
356 |
-python_test() { |
357 |
- # Tests have non-standard assumptions about PYTHONPATH, |
358 |
- # and don't work with ${BUILD_DIR}/lib. |
359 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
360 |
- die "Tests fail with ${EPYTHON}" |
361 |
-} |
362 |
- |
363 |
-python_install_all() { |
364 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
365 |
- bashcomp_alias ${PN}-admin django-admin.py |
366 |
- |
367 |
- distutils-r1_python_install_all |
368 |
-} |
369 |
- |
370 |
-pkg_postinst() { |
371 |
- optfeature_header "Additional Backend support can be enabled via:" |
372 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
373 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
374 |
- optfeature_header |
375 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
376 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
377 |
- optfeature "ImageField Support" dev-python/pillow |
378 |
- optfeature "Password encryption" dev-python/bcrypt |
379 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
380 |
-} |
381 |
|
382 |
diff --git a/dev-python/django/django-4.1.5.ebuild b/dev-python/django/django-4.1.5.ebuild |
383 |
deleted file mode 100644 |
384 |
index ae592a55a65f..000000000000 |
385 |
--- a/dev-python/django/django-4.1.5.ebuild |
386 |
+++ /dev/null |
387 |
@@ -1,103 +0,0 @@ |
388 |
-# Copyright 1999-2023 Gentoo Authors |
389 |
-# Distributed under the terms of the GNU General Public License v2 |
390 |
- |
391 |
-EAPI=8 |
392 |
- |
393 |
-DISTUTILS_USE_PEP517=setuptools |
394 |
-PYTHON_COMPAT=( python3_{9..11} ) |
395 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
396 |
- |
397 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
398 |
- |
399 |
-DESCRIPTION="High-level Python web framework" |
400 |
-HOMEPAGE=" |
401 |
- https://www.djangoproject.com/ |
402 |
- https://github.com/django/django/ |
403 |
- https://pypi.org/project/Django/ |
404 |
-" |
405 |
-SRC_URI=" |
406 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz |
407 |
- verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) |
408 |
-" |
409 |
-S="${WORKDIR}/${P^}" |
410 |
- |
411 |
-LICENSE="BSD" |
412 |
-# admin fonts: Roboto (media-fonts/roboto) |
413 |
-LICENSE+=" Apache-2.0" |
414 |
-# admin icons, jquery, xregexp.js |
415 |
-LICENSE+=" MIT" |
416 |
-SLOT="0" |
417 |
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
418 |
-IUSE="doc sqlite test" |
419 |
-RESTRICT="!test? ( test )" |
420 |
- |
421 |
-RDEPEND=" |
422 |
- <dev-python/asgiref-4[${PYTHON_USEDEP}] |
423 |
- >=dev-python/asgiref-3.5.2[${PYTHON_USEDEP}] |
424 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
425 |
- $(python_gen_cond_dep ' |
426 |
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
427 |
- ' 3.8) |
428 |
-" |
429 |
-BDEPEND=" |
430 |
- test? ( |
431 |
- $(python_gen_impl_dep sqlite) |
432 |
- ${RDEPEND} |
433 |
- dev-python/docutils[${PYTHON_USEDEP}] |
434 |
- dev-python/jinja[${PYTHON_USEDEP}] |
435 |
- dev-python/numpy[${PYTHON_USEDEP}] |
436 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
437 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
438 |
- dev-python/selenium[${PYTHON_USEDEP}] |
439 |
- dev-python/tblib[${PYTHON_USEDEP}] |
440 |
- sys-devel/gettext |
441 |
- !!<dev-python/ipython-7.21.0-r1 |
442 |
- !!=dev-python/ipython-7.22.0-r0 |
443 |
- ) |
444 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
445 |
-" |
446 |
- |
447 |
-PATCHES=( |
448 |
- "${FILESDIR}"/${PN}-4.0-bashcomp.patch |
449 |
-) |
450 |
- |
451 |
-distutils_enable_sphinx docs --no-autodoc |
452 |
- |
453 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
454 |
- |
455 |
-src_unpack() { |
456 |
- if use verify-sig; then |
457 |
- cd "${DISTDIR}" || die |
458 |
- verify-sig_verify_signed_checksums \ |
459 |
- "${P^}.checksum.txt" sha256 "${P^}.tar.gz" |
460 |
- cd "${WORKDIR}" || die |
461 |
- fi |
462 |
- |
463 |
- default |
464 |
-} |
465 |
- |
466 |
-python_test() { |
467 |
- # Tests have non-standard assumptions about PYTHONPATH, |
468 |
- # and don't work with ${BUILD_DIR}/lib. |
469 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
470 |
- die "Tests fail with ${EPYTHON}" |
471 |
-} |
472 |
- |
473 |
-python_install_all() { |
474 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
475 |
- bashcomp_alias ${PN}-admin django-admin.py |
476 |
- |
477 |
- distutils-r1_python_install_all |
478 |
-} |
479 |
- |
480 |
-pkg_postinst() { |
481 |
- optfeature_header "Additional Backend support can be enabled via:" |
482 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
483 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
484 |
- optfeature_header |
485 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
486 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
487 |
- optfeature "ImageField Support" dev-python/pillow |
488 |
- optfeature "Password encryption" dev-python/bcrypt |
489 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
490 |
-} |