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