1 |
commit: a23caa3f8220e28378d185726db391e17a6cc4f3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 09:25:33 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 09:25:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23caa3f |
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 | 2 - |
13 |
dev-python/django/django-2.2.16.ebuild | 80 ---------------------------- |
14 |
dev-python/django/django-3.0.10-r1.ebuild | 88 ------------------------------- |
15 |
3 files changed, 170 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
18 |
index 3063334a06b..4475355a756 100644 |
19 |
--- a/dev-python/django/Manifest |
20 |
+++ b/dev-python/django/Manifest |
21 |
@@ -1,7 +1,5 @@ |
22 |
-DIST Django-2.2.16.tar.gz 8884774 BLAKE2B e65074c44e35921f6c40ca9e2a5fee53ce9a956a7503b96a33c8dbb4588bb0928d2e2b605f1117c3c75cdc84d6c7d1bfe52f4e7888fbe300adb5411a55b0ac27 SHA512 eabcdfc17e27c579001e4739268abd13bebbb018db1a7dbe4fb8482d32320b85bd16b3b18428084c0df947094f23f7cb4b12a3a55bc370748d7d8746af22bc3b |
23 |
DIST Django-2.2.17.checksum.txt 2438 BLAKE2B 5d9454884110f1debec7fa1644b13be43b9b6b8d3f333a05df823332c94a6f4a220791bf0cc7d139baf5aac856443a4b211dd8e98d23d4cc62d1d6ce7ebd69c8 SHA512 0dc71edfe3264d3353238124dc5374aac07fb73ede167a52f16bf3b147bf351651f4197a1fe5027dca23ad144755fff6447f06d8cdf11126184cf5e291c90402 |
24 |
DIST Django-2.2.17.tar.gz 8885492 BLAKE2B 30046adc54c31e0e8dac3c573da58e8536246ba6fc5675ec5ad5efc4b170331b893ffe766e7eb404b445d5b37e018e1ac9e2b8e659a5f10c4c165ec9ef5c00d1 SHA512 4ba1e12332cafaa49a087494f9e85e992a414ad153ef935fcf50f1a533ac9c7049a421140552f77b3dbf41c51a4f42aca13dc5f8f479049c21037c541a34320b |
25 |
-DIST Django-3.0.10.tar.gz 8958332 BLAKE2B 0ff17da9d9175b080d81e334e46ec6daaec5e4cd48f5d9a614c84b448a6d4b93d304b3fd25bcee665d65f589a8f94cf83f002bbd7a27975d23e3516286784e01 SHA512 fcce2815f966a5eb0f7986c16d065b352c73ea2ea4fc1422d440487d84162c5a93aa45b9173ba5d62d6caee2e976a9ac818f228b47ed7f4f50deda27bac995e9 |
26 |
DIST Django-3.0.11.checksum.txt 2438 BLAKE2B df936992a02e5a34b26e91654962507d973f8831c1eebada4cbdb578f83fba974532867b9f20828afc2467c2521e117b8dd543cde6f664d3c122a95207c50608 SHA512 a7b98d102775cc7854b0c242507d4ff8778984dc8b2e269352103249d6d1c5cea7e6eb8dbe08700b19ad4428e30c469e0e959a622ea4ce3198a75f72b2bb8871 |
27 |
DIST Django-3.0.11.tar.gz 8958879 BLAKE2B 078ffde9ae186ae8add2136c303ba38a1b38525481b2272384b8a1bb3428dcf6a31991a86b2078aea6cf250808af399acac5461a33c8e1fda5d6bc552eac478f SHA512 d24e8167f3f871f24ea5e288557a49d71f9b5c398c84e8434d5d3dc224ef62775121a016ad89e997fabe88893adc3a83176211d5b9a9730ec23d37d256aa4fb0 |
28 |
DIST Django-3.1.4.checksum.txt 2466 BLAKE2B 635ddd40b542890aef29f53df0fad172e48450081f57c72042a71bb5de654b1d1f5f7ce0c588b1070a203e1d4afe3a1ed19431dd23a2a67cd510d4072c79a00f SHA512 729b771008489bbf0563002e438ef88abb2a14b2c29f307cb2db9c75450f30ac8bd4920bf0493dbec06b3640fc0d4b6817e8a054af1028ad065bd321c761a6c3 |
29 |
|
30 |
diff --git a/dev-python/django/django-2.2.16.ebuild b/dev-python/django/django-2.2.16.ebuild |
31 |
deleted file mode 100644 |
32 |
index 0a28b54a9a3..00000000000 |
33 |
--- a/dev-python/django/django-2.2.16.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,80 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
42 |
-PYTHON_COMPAT=( python3_{6..8} ) |
43 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
44 |
- |
45 |
-inherit bash-completion-r1 distutils-r1 optfeature |
46 |
- |
47 |
-MY_PN="Django" |
48 |
-MY_P="${MY_PN}-${PV}" |
49 |
- |
50 |
-DESCRIPTION="High-level Python web framework" |
51 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
52 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
53 |
-S="${WORKDIR}/${MY_P}" |
54 |
- |
55 |
-LICENSE="BSD" |
56 |
-# admin fonts: Roboto (media-fonts/roboto) |
57 |
-LICENSE+=" Apache-2.0" |
58 |
-# admin icons, jquery, xregexp.js |
59 |
-LICENSE+=" MIT" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
62 |
-IUSE="doc sqlite test" |
63 |
-RESTRICT="!test? ( test )" |
64 |
- |
65 |
-RDEPEND=" |
66 |
- dev-python/pytz[${PYTHON_USEDEP}] |
67 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
68 |
-BDEPEND=" |
69 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
70 |
- test? ( |
71 |
- $(python_gen_impl_dep sqlite) |
72 |
- ${RDEPEND} |
73 |
- dev-python/docutils[${PYTHON_USEDEP}] |
74 |
- dev-python/jinja[${PYTHON_USEDEP}] |
75 |
- dev-python/numpy[${PYTHON_USEDEP}] |
76 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
77 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
78 |
- dev-python/selenium[${PYTHON_USEDEP}] |
79 |
- dev-python/tblib[${PYTHON_USEDEP}] |
80 |
- sys-devel/gettext |
81 |
- )" |
82 |
- |
83 |
-PATCHES=( |
84 |
- "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
85 |
- "${FILESDIR}"/django-gettext-0.21.patch |
86 |
-) |
87 |
- |
88 |
-distutils_enable_sphinx docs --no-autodoc |
89 |
- |
90 |
-python_test() { |
91 |
- # Tests have non-standard assumptions about PYTHONPATH, |
92 |
- # and don't work with ${BUILD_DIR}/lib. |
93 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
94 |
- die "Tests fail with ${EPYTHON}" |
95 |
-} |
96 |
- |
97 |
-python_install_all() { |
98 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
99 |
- bashcomp_alias ${PN}-admin django-admin.py |
100 |
- |
101 |
- distutils-r1_python_install_all |
102 |
-} |
103 |
- |
104 |
-pkg_postinst() { |
105 |
- elog "Additional Backend support can be enabled via" |
106 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
107 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
108 |
- elog |
109 |
- elog "Other features can be enhanced by" |
110 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
111 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
112 |
- optfeature "ImageField Support" dev-python/pillow |
113 |
- optfeature "Password encryption" dev-python/bcrypt |
114 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
115 |
-} |
116 |
|
117 |
diff --git a/dev-python/django/django-3.0.10-r1.ebuild b/dev-python/django/django-3.0.10-r1.ebuild |
118 |
deleted file mode 100644 |
119 |
index 75ded0b622f..00000000000 |
120 |
--- a/dev-python/django/django-3.0.10-r1.ebuild |
121 |
+++ /dev/null |
122 |
@@ -1,88 +0,0 @@ |
123 |
-# Copyright 1999-2020 Gentoo Authors |
124 |
-# Distributed under the terms of the GNU General Public License v2 |
125 |
- |
126 |
-EAPI=7 |
127 |
- |
128 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
129 |
-PYTHON_COMPAT=( python3_{6..9} ) |
130 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
131 |
- |
132 |
-inherit bash-completion-r1 distutils-r1 optfeature |
133 |
- |
134 |
-MY_PN="Django" |
135 |
-MY_P="${MY_PN}-${PV}" |
136 |
- |
137 |
-DESCRIPTION="High-level Python web framework" |
138 |
-HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
139 |
-SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
140 |
-S="${WORKDIR}/${MY_P}" |
141 |
- |
142 |
-LICENSE="BSD" |
143 |
-# admin fonts: Roboto (media-fonts/roboto) |
144 |
-LICENSE+=" Apache-2.0" |
145 |
-# admin icons, jquery, xregexp.js |
146 |
-LICENSE+=" MIT" |
147 |
-SLOT="0" |
148 |
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86" |
149 |
-IUSE="doc sqlite test" |
150 |
-RESTRICT="!test? ( test )" |
151 |
- |
152 |
-RDEPEND=" |
153 |
- dev-python/asgiref[${PYTHON_USEDEP}] |
154 |
- dev-python/pytz[${PYTHON_USEDEP}] |
155 |
- >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
156 |
-BDEPEND=" |
157 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
158 |
- test? ( |
159 |
- $(python_gen_impl_dep sqlite) |
160 |
- ${RDEPEND} |
161 |
- dev-python/docutils[${PYTHON_USEDEP}] |
162 |
- dev-python/jinja[${PYTHON_USEDEP}] |
163 |
- dev-python/numpy[${PYTHON_USEDEP}] |
164 |
- dev-python/pillow[webp,${PYTHON_USEDEP}] |
165 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
166 |
- dev-python/selenium[${PYTHON_USEDEP}] |
167 |
- dev-python/tblib[${PYTHON_USEDEP}] |
168 |
- sys-devel/gettext |
169 |
- )" |
170 |
- |
171 |
-PATCHES=( |
172 |
- "${FILESDIR}"/${PN}-3.0.6-bashcomp.patch |
173 |
- "${FILESDIR}"/django-gettext-0.21.patch |
174 |
-) |
175 |
- |
176 |
-distutils_enable_sphinx docs --no-autodoc |
177 |
- |
178 |
-src_prepare() { |
179 |
- # do not bind to a specific version |
180 |
- # https://bugs.gentoo.org/750695 |
181 |
- sed -i -e 's:asgiref ~= 3.2:asgiref:' setup.py || die |
182 |
- distutils-r1_src_prepare |
183 |
-} |
184 |
- |
185 |
-python_test() { |
186 |
- # Tests have non-standard assumptions about PYTHONPATH, |
187 |
- # and don't work with ${BUILD_DIR}/lib. |
188 |
- PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
189 |
- die "Tests fail with ${EPYTHON}" |
190 |
-} |
191 |
- |
192 |
-python_install_all() { |
193 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
194 |
- bashcomp_alias ${PN}-admin django-admin.py |
195 |
- |
196 |
- distutils-r1_python_install_all |
197 |
-} |
198 |
- |
199 |
-pkg_postinst() { |
200 |
- elog "Additional Backend support can be enabled via" |
201 |
- optfeature "MySQL backend support" dev-python/mysqlclient |
202 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
203 |
- elog |
204 |
- elog "Other features can be enhanced by" |
205 |
- optfeature "GEO Django" "sci-libs/gdal[geos]" |
206 |
- optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
207 |
- optfeature "ImageField Support" dev-python/pillow |
208 |
- optfeature "Password encryption" dev-python/bcrypt |
209 |
- optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
210 |
-} |