1 |
commit: 44f7d299c8c84c0a7086e7581ad2f5b5ddf69911 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 3 20:38:48 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 20:38:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f7d299 |
7 |
|
8 |
dev-python/django: drop 3.2.14, 4.0.6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/863398 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
dev-python/django/Manifest | 4 -- |
14 |
dev-python/django/django-3.2.14.ebuild | 109 -------------------------------- |
15 |
dev-python/django/django-4.0.6.ebuild | 110 --------------------------------- |
16 |
3 files changed, 223 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
19 |
index 47ef69b43c53..adf350526e1b 100644 |
20 |
--- a/dev-python/django/Manifest |
21 |
+++ b/dev-python/django/Manifest |
22 |
@@ -1,8 +1,4 @@ |
23 |
-DIST Django-3.2.14.checksum.txt 2552 BLAKE2B 8949b6bbc05160539ba26e4a9a2b774e450890b1668ee9794b087e97c772a78e010f0f33d7f15b9b43fb749bc7804a6c9ea7f24125b6f93c8af6d408d29e530d SHA512 84de32c72c72f2dd8d7c5e159fb77d82b04fe3cb66f30e808249eb1778305f29c75569c3ebf7e89ffdeca12a68a6f8334830db202f230901ddff1f47a3b03b8f |
24 |
-DIST Django-3.2.14.tar.gz 9814965 BLAKE2B d2081621598ca9743b056b752775d8fe87748e7e0ad4e252f9bb0d50bbdd942cf5908aafc7757668a5dd041aafecd94f63b38441e4dbb8e1810babde1aaec436 SHA512 daa18a0a64870789af4627b1cd345fef66d4b227d71cbd9b4766332728c37e3fb17472924c290851f8bc2111efe90c5e22eebf9b6f7a26e77bdc8edaa8e42e16 |
25 |
DIST Django-3.2.15.checksum.txt 2560 BLAKE2B 35a4f28005a07cee0b667ec55838d846cb7f1970be41ce08f2191992b1247263f7632bb9dcaa3d20f9df4e050b370416a2a9af6f0e5cc3523484016161a7a47e SHA512 b3d00d18e14be7dec77901ddd8818b41e2b592dbafb2c66b314478f0b2ac0f8486ce41a73a71da9bed4d9ad92a6d6bf21765ede79055c1fb2a9972e3f16cfac7 |
26 |
DIST Django-3.2.15.tar.gz 9833828 BLAKE2B 4b914b1e3c192340d9a1bbd68b7d3bf3d1c1b3f41da6e4a67149e811a2312f646e2ced83af23ae035cf590e526dad00537aa5b4aee14a657f6952675eca94b30 SHA512 fccdad52d39c8757972d5e987b94b13d8ce5ce08ad480ef79407b0d9b88cff69336770409cbe18ce9529bf10966ad63105a0b0f1ffe39b681a41be3718ec886b |
27 |
-DIST Django-4.0.6.checksum.txt 2543 BLAKE2B 4d38a86dc468f1cf9553557073fa6d5aad6875739c5cd3e50dd79954254dc25a0345b32fc771f4db3d566858c58b48d4f0fba434903eae0e0709666627b5e38c SHA512 b701e13371bdc00b61e7ff7f5a2b2d39a9d703616ce79640700e53a252f8aefd8bbf5560b082420bd4ff921110a44ac6a353c61db664b0ee899905d5cf65de59 |
28 |
-DIST Django-4.0.6.tar.gz 10389543 BLAKE2B c458b2b2a782d95771df00ed529d4b0ef0f42720f19258d32ea955e90806b61aabf03a5eb39a7a36c5d220af32dd35e78244db4d17a3f074601952905fd5e0fa SHA512 1050511bd9345519d8382a58e4e6ccc39cd41a6777c9575540dcc655f11dd36316cfc2431f94da9ac4a0fa6e41640a9131c8d49df4188a2ffc26f7ff56d40a6a |
29 |
DIST Django-4.0.7.checksum.txt 2551 BLAKE2B 6fa44707d33af485d3c55096dcc650b4e2384421c57c30cedee9f9577488783836a3ad8261dceaf5c718c1a5fcbe5852b081596525b22639c310c9aa6e86c639 SHA512 4b2453be8090c2a9d48bbe34f6e5dd55859b9debc3a116519c69da39d04ecca202e6da62ae9114790a9da8c55cfcfe176a972bb25576305a8e23736e2e063e3e |
30 |
DIST Django-4.0.7.tar.gz 10407810 BLAKE2B 77c994d042ace329699aa33e14098cbcd4f24fa4db880dd78ed87828b02c25298a1c1664511547de53eb80ebade7bdfb16412a615027e512ded437ae7de79b54 SHA512 51574ab7423a3948318a5985f74bd781269bf1c95dc77838c11e8f9d5e9233f0a3be5dfa4798d523473b9f1fd3196d4c10284e3a28d9543084b2a63179167731 |
31 |
|
32 |
diff --git a/dev-python/django/django-3.2.14.ebuild b/dev-python/django/django-3.2.14.ebuild |
33 |
deleted file mode 100644 |
34 |
index b83663879072..000000000000 |
35 |
--- a/dev-python/django/django-3.2.14.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,109 +0,0 @@ |
38 |
-# Copyright 1999-2022 Gentoo Authors |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
- |
41 |
-EAPI=8 |
42 |
- |
43 |
-DISTUTILS_USE_PEP517=setuptools |
44 |
-PYTHON_COMPAT=( python3_{8..10} ) |
45 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
46 |
- |
47 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
48 |
- |
49 |
-MY_P=${P^} |
50 |
-DESCRIPTION="High-level Python web framework" |
51 |
-HOMEPAGE=" |
52 |
- https://www.djangoproject.com/ |
53 |
- https://pypi.org/project/Django/ |
54 |
-" |
55 |
-SRC_URI=" |
56 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
57 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt ) |
58 |
-" |
59 |
-S="${WORKDIR}/${MY_P}" |
60 |
- |
61 |
-LICENSE="BSD" |
62 |
-# admin fonts: Roboto (media-fonts/roboto) |
63 |
-LICENSE+=" Apache-2.0" |
64 |
-# admin icons, jquery, xregexp.js |
65 |
-LICENSE+=" MIT" |
66 |
-SLOT="0" |
67 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
68 |
-IUSE="doc sqlite test" |
69 |
-RESTRICT="!test? ( test )" |
70 |
- |
71 |
-RDEPEND=" |
72 |
- >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
73 |
- dev-python/pytz[${PYTHON_USEDEP}] |
74 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
75 |
-" |
76 |
-BDEPEND=" |
77 |
- test? ( |
78 |
- $(python_gen_impl_dep sqlite) |
79 |
- ${RDEPEND} |
80 |
- dev-python/docutils[${PYTHON_USEDEP}] |
81 |
- dev-python/jinja[${PYTHON_USEDEP}] |
82 |
- dev-python/numpy[${PYTHON_USEDEP}] |
83 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
84 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
85 |
- dev-python/selenium[${PYTHON_USEDEP}] |
86 |
- dev-python/tblib[${PYTHON_USEDEP}] |
87 |
- sys-devel/gettext |
88 |
- !!<dev-python/ipython-7.21.0-r1 |
89 |
- !!=dev-python/ipython-7.22.0-r0 |
90 |
- ) |
91 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
92 |
-" |
93 |
- |
94 |
-PATCHES=( |
95 |
- "${FILESDIR}"/${PN}-3.1-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_prepare_all() { |
114 |
- # Fails because of warnings |
115 |
- sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py || die |
116 |
- # TODO: this suddenly started failing |
117 |
- sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die |
118 |
- |
119 |
- distutils-r1_python_prepare_all |
120 |
-} |
121 |
- |
122 |
-python_test() { |
123 |
- # Tests have non-standard assumptions about PYTHONPATH, |
124 |
- # and don't work with ${BUILD_DIR}/lib. |
125 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
126 |
- die "Tests fail with ${EPYTHON}" |
127 |
-} |
128 |
- |
129 |
-python_install_all() { |
130 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
131 |
- bashcomp_alias ${PN}-admin django-admin.py |
132 |
- |
133 |
- distutils-r1_python_install_all |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- optfeature_header "Additional Backend support can be enabled via:" |
138 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
139 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
140 |
- optfeature_header |
141 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
142 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
143 |
- optfeature "ImageField Support" dev-python/pillow |
144 |
- optfeature "Password encryption" dev-python/bcrypt |
145 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
146 |
-} |
147 |
|
148 |
diff --git a/dev-python/django/django-4.0.6.ebuild b/dev-python/django/django-4.0.6.ebuild |
149 |
deleted file mode 100644 |
150 |
index ed8ebbdf0176..000000000000 |
151 |
--- a/dev-python/django/django-4.0.6.ebuild |
152 |
+++ /dev/null |
153 |
@@ -1,110 +0,0 @@ |
154 |
-# Copyright 1999-2022 Gentoo Authors |
155 |
-# Distributed under the terms of the GNU General Public License v2 |
156 |
- |
157 |
-EAPI=8 |
158 |
- |
159 |
-DISTUTILS_USE_PEP517=setuptools |
160 |
-PYTHON_COMPAT=( python3_{8..11} ) |
161 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
162 |
- |
163 |
-inherit bash-completion-r1 distutils-r1 optfeature verify-sig |
164 |
- |
165 |
-MY_P=${P^} |
166 |
-DESCRIPTION="High-level Python web framework" |
167 |
-HOMEPAGE=" |
168 |
- https://www.djangoproject.com/ |
169 |
- https://pypi.org/project/Django/ |
170 |
-" |
171 |
-SRC_URI=" |
172 |
- https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz |
173 |
- verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt ) |
174 |
-" |
175 |
-S="${WORKDIR}/${MY_P}" |
176 |
- |
177 |
-LICENSE="BSD" |
178 |
-# admin fonts: Roboto (media-fonts/roboto) |
179 |
-LICENSE+=" Apache-2.0" |
180 |
-# admin icons, jquery, xregexp.js |
181 |
-LICENSE+=" MIT" |
182 |
-SLOT="0" |
183 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
184 |
-IUSE="doc sqlite test" |
185 |
-RESTRICT="!test? ( test )" |
186 |
- |
187 |
-RDEPEND=" |
188 |
- >=dev-python/asgiref-3.4.1[${PYTHON_USEDEP}] |
189 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
190 |
- $(python_gen_cond_dep ' |
191 |
- dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
192 |
- ' 3.8) |
193 |
-" |
194 |
-BDEPEND=" |
195 |
- test? ( |
196 |
- $(python_gen_impl_dep sqlite) |
197 |
- ${RDEPEND} |
198 |
- dev-python/docutils[${PYTHON_USEDEP}] |
199 |
- dev-python/jinja[${PYTHON_USEDEP}] |
200 |
- dev-python/numpy[${PYTHON_USEDEP}] |
201 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
202 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
203 |
- dev-python/selenium[${PYTHON_USEDEP}] |
204 |
- dev-python/tblib[${PYTHON_USEDEP}] |
205 |
- sys-devel/gettext |
206 |
- !!<dev-python/ipython-7.21.0-r1 |
207 |
- !!=dev-python/ipython-7.22.0-r0 |
208 |
- ) |
209 |
- verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) |
210 |
-" |
211 |
- |
212 |
-PATCHES=( |
213 |
- "${FILESDIR}"/${PN}-4.0-bashcomp.patch |
214 |
- "${FILESDIR}"/django-4.0.5-py311.patch |
215 |
-) |
216 |
- |
217 |
-distutils_enable_sphinx docs --no-autodoc |
218 |
- |
219 |
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc |
220 |
- |
221 |
-src_unpack() { |
222 |
- if use verify-sig; then |
223 |
- cd "${DISTDIR}" || die |
224 |
- verify-sig_verify_signed_checksums \ |
225 |
- "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" |
226 |
- cd "${WORKDIR}" || die |
227 |
- fi |
228 |
- |
229 |
- default |
230 |
-} |
231 |
- |
232 |
-src_prepare() { |
233 |
- # TODO: this suddenly started failing |
234 |
- sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die |
235 |
- |
236 |
- distutils-r1_src_prepare |
237 |
-} |
238 |
- |
239 |
-python_test() { |
240 |
- # Tests have non-standard assumptions about PYTHONPATH, |
241 |
- # and don't work with ${BUILD_DIR}/lib. |
242 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
243 |
- die "Tests fail with ${EPYTHON}" |
244 |
-} |
245 |
- |
246 |
-python_install_all() { |
247 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
248 |
- bashcomp_alias ${PN}-admin django-admin.py |
249 |
- |
250 |
- distutils-r1_python_install_all |
251 |
-} |
252 |
- |
253 |
-pkg_postinst() { |
254 |
- optfeature_header "Additional Backend support can be enabled via:" |
255 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
256 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
257 |
- optfeature_header |
258 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
259 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
260 |
- optfeature "ImageField Support" dev-python/pillow |
261 |
- optfeature "Password encryption" dev-python/bcrypt |
262 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
263 |
-} |