1 |
commit: 914bb4053c5b36a5a61e2a7a7859315f61f22e25 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 1 12:47:57 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 1 13:47:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914bb405 |
7 |
|
8 |
dev-python/django: Bump to 2.2.14 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/django/Manifest | 1 + |
13 |
dev-python/django/django-2.2.14.ebuild | 78 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 79 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
17 |
index c26faae328a..e9ab688bde5 100644 |
18 |
--- a/dev-python/django/Manifest |
19 |
+++ b/dev-python/django/Manifest |
20 |
@@ -1,5 +1,6 @@ |
21 |
DIST Django-2.2.11.tar.gz 9010479 BLAKE2B 9df126f62368c43a64fcdbf9d3831c78dd37e41eb88670517eeec84043083cc437d95301d86798b5945313b515d63bd12cba8484e74b6da2311af2e86ce87adc SHA512 b33ece4606e5a23626caee121018522166a0e1f32bd41ea4eb3d4c1f624943990a07e04c5a4f5d52958e733790178474e9314d346ce1e4d5d6e49ac2a700c857 |
22 |
DIST Django-2.2.12.tar.gz 8877061 BLAKE2B 7d92e7f871606aaacc82528f3d7c26d134a7b1216ae983a8da93cde20eac65729eaea1de8d3a7a598df8f9f228c3d20a5da9cb53a149d1064c58824626fd8aaf SHA512 3c01b606e34dd0abe5a03bc55bf7d9328a0da370c22bac4d15c3468512b26ad57fd07d942a2a34129ce18bcc5e86c67e163d0f4d5b7ea47e3e899ba7617ab28c |
23 |
DIST Django-2.2.13.tar.gz 8879757 BLAKE2B 4a7986805c6a3674d47aa82b97f31ae63968dd7c0f12db672207cd1d97076acb681fe44e730147122911684b36d7f1e9d5ea18c054d4c40c68b460300fd9294b SHA512 6daf3486d2f19eb159193df77a7525e5173ba5889ad5c587a6ec6bbf02c4ea94fa90b9a30a5310932fc9353a22c413208ab724c05740f844eccfe610da3ca68a |
24 |
+DIST Django-2.2.14.tar.gz 9022051 BLAKE2B 397f1de35f645da9964581d494d933ce2327915315049997aaed238f27214e4fead8c50e779052eafb3d237e065ef47f2d3f151552f712b6348ed23b75d25e52 SHA512 48ad065df161300920abe0c28c3f79cebe536de00fe60c8a7633caee149e0632aa564a848172bad0f254f2a98194cb625a5c169e51a89f3cab95c1213cfe485d |
25 |
DIST Django-3.0.6.tar.gz 9070990 BLAKE2B 9f918f64baecc5fe18ec08293da0f81a5e6ba9dc034b7e43f11ac9e67fa8d16c155878342babad9fca8ed30caf5ec3335756e2e0312c463b46a23b4db92fd4a0 SHA512 4c92c51386919c389037d6c6d1de3cb6ec443bd1f216f20797fb20fb24ea8d021701a03805ba693deadfa82b1aee38ae0d7fc03cae94cd744b1d1fa47ddc46ad |
26 |
DIST Django-3.0.7.tar.gz 8947502 BLAKE2B c26752f41f04f23ea1db9863d0919c17ed27b75133e22cc342e453e40077f05f6458f8edd290bfdcf828a181e38d89a1b4faeaa9cb44176ff0f7d67910d6b9df SHA512 566a78c3686baaea2ea8f2db2c1762a78ec5e5ae44f0be43f49c83899c2a0a9d1b2297a05ce8f4bc6bc580c494dde66bb2be47a8269cce3e1b007fedd857e5d3 |
27 |
|
28 |
diff --git a/dev-python/django/django-2.2.14.ebuild b/dev-python/django/django-2.2.14.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..f2f8b34c144 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/django/django-2.2.14.ebuild |
33 |
@@ -0,0 +1,78 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
+PYTHON_COMPAT=( python3_{6..8} ) |
41 |
+PYTHON_REQ_USE='sqlite?,threads(+)' |
42 |
+ |
43 |
+inherit bash-completion-r1 distutils-r1 eutils |
44 |
+ |
45 |
+MY_PN="Django" |
46 |
+MY_P="${MY_PN}-${PV}" |
47 |
+ |
48 |
+DESCRIPTION="High-level Python web framework" |
49 |
+HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" |
50 |
+SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" |
51 |
+S="${WORKDIR}/${MY_P}" |
52 |
+ |
53 |
+LICENSE="BSD" |
54 |
+# admin fonts: Roboto (media-fonts/roboto) |
55 |
+LICENSE+=" Apache-2.0" |
56 |
+# admin icons, jquery, xregexp.js |
57 |
+LICENSE+=" MIT" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
60 |
+IUSE="doc sqlite test" |
61 |
+RESTRICT="!test? ( test )" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]" |
66 |
+BDEPEND=" |
67 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
68 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
69 |
+ test? ( |
70 |
+ $(python_gen_impl_dep sqlite) |
71 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
72 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
73 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
74 |
+ dev-python/pillow[webp,${PYTHON_USEDEP}] |
75 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
76 |
+ dev-python/selenium[${PYTHON_USEDEP}] |
77 |
+ dev-python/tblib[${PYTHON_USEDEP}] |
78 |
+ )" |
79 |
+ |
80 |
+PATCHES=( |
81 |
+ "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch |
82 |
+) |
83 |
+ |
84 |
+distutils_enable_sphinx docs --no-autodoc |
85 |
+ |
86 |
+python_test() { |
87 |
+ # Tests have non-standard assumptions about PYTHONPATH, |
88 |
+ # and don't work with ${BUILD_DIR}/lib. |
89 |
+ PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || |
90 |
+ die "Tests fail with ${EPYTHON}" |
91 |
+} |
92 |
+ |
93 |
+python_install_all() { |
94 |
+ newbashcomp extras/django_bash_completion ${PN}-admin |
95 |
+ bashcomp_alias ${PN}-admin django-admin.py |
96 |
+ |
97 |
+ distutils-r1_python_install_all |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ elog "Additional Backend support can be enabled via" |
102 |
+ optfeature "MySQL backend support" dev-python/mysqlclient |
103 |
+ optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
104 |
+ echo "" |
105 |
+ elog "Other features can be enhanced by" |
106 |
+ optfeature "GEO Django" "sci-libs/gdal[geos]" |
107 |
+ optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached |
108 |
+ optfeature "ImageField Support" dev-python/pillow |
109 |
+ optfeature "Password encryption" dev-python/bcrypt |
110 |
+ optfeature "High-level abstractions for Django forms" dev-python/django-formtools |
111 |
+} |