1 |
commit: 4c3de656ba4120e42605f338f1a6c604b9a6b061 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 2 15:05:40 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 15:05:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3de656 |
7 |
|
8 |
dev-python/django: Version Bump & clean versions vulnerable for CVE-2016-2048 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/django/Manifest | 3 +- |
14 |
.../{django-1.9.1.ebuild => django-1.9.2.ebuild} | 0 |
15 |
dev-python/django/django-1.9.ebuild | 111 --------------------- |
16 |
3 files changed, 1 insertion(+), 113 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest |
19 |
index de83ce4..edfc2f0 100644 |
20 |
--- a/dev-python/django/Manifest |
21 |
+++ b/dev-python/django/Manifest |
22 |
@@ -5,5 +5,4 @@ DIST Django-1.7.11.tar.gz 7586798 SHA256 2039144fce8f1b603d03fa5a5643578df1ad007 |
23 |
DIST Django-1.8.7.tar.gz 7276831 SHA256 17a66de5cf59b5ee81c3dc57609b145bb45adddc0dc06937b998597d6e7b4523 SHA512 74b89efd4fd2d19542a30e0fa0648652aa85ea309804afadae1162b1cac3492e599beaf5ea868d67bcef5f016283952dcc869726cbf6f15141f0816a0377b041 WHIRLPOOL adae3d00ceab8bb3e526107068270d53de968b782d5e37a64f59ecaf75e8933d3895dc6de5c934ea180c8436a88acb4949f7f4f8bba56c13c92d08874596c784 |
24 |
DIST Django-1.8.8.tar.gz 7286780 SHA256 8255242fa0d9e0bf331259a6bdb81364933acbe8863291661558ffdb2fc9ed70 SHA512 d7775ffb05840a73a99bf67d234580e135bc3d1b4c033ab3bf557e9bee42001fd309da7a8cf13cb99cac34cef0c4ef954903b5c90d2b4b40d084cfcaf05ba701 WHIRLPOOL 5952df1be91fbd4a68268f11600822ed682e2c4a5b12192ff0af86cffa6cfa9dca0038397baccf11b165aa71b4ffad955d8233cfacaef9b4fb229635e014cd66 |
25 |
DIST Django-1.8.9.tar.gz 7288701 SHA256 fc012d8507201a628e877202bb7800799152285f69aa0d42a7c506a96fbbd2e3 SHA512 3423d11a6f97ca4518a7105fabfc872783d92f2ce4733739bc6dd7d53c97d7450c7343a8e77c2094ce6342b1647445d2ddef5deb2d3b35b5c0ba4679726f0a48 WHIRLPOOL 96cdd8cb557c8ae75d40516e2c88a4a63fb0f070e3614732786a4e7904f22404a1d189ae00b03527be9242c4b61646ce5093cb6535567ba0f23042a1b6e9a320 |
26 |
-DIST Django-1.9.1.tar.gz 7411671 SHA256 a29aac46a686cade6da87ce7e7287d5d53cddabc41d777c6230a583c36244a18 SHA512 8532247cfd47922b6b2ce1d292e989a12c5a3dfe15f610e85209ac55ebbc8b0fd45e9154dbc84da252ce31b5813a5f54399eb1015321dd67531d1f8d7d223cfe WHIRLPOOL 85f1f64bc75d6bf7a291beade5d35b2090e771cbc84a643d3eff2737edfdafefcea0dfa63b734cc038afcab20601be424c8b7091f4079587a107ebe2aeedeb66 |
27 |
-DIST Django-1.9.tar.gz 7392116 SHA256 05fe4b19a8778d4b48bbf1f4dfca3106881fea7982664553e7f7f861606f7c66 SHA512 255438e4ce89bc128506ef9137604cd38bc7cd5f69b687e9ec6c9332b7a89b55cc904209b630e42e0376cca944a26090da9b209ea2ecaaf0033ee5e8c9e0378d WHIRLPOOL d1ae1b62c7e3966dbef4191910970db3d83b5a6693528adb2966b00f0a599b7674689230e6d2875ea9fd44e0926ab0d98a303b45c61c1bb9a7e54555fd7a1cb7 |
28 |
+DIST Django-1.9.2.tar.gz 7419200 SHA256 7a233322eeb35da5fd8315f9e5dd48f2171de43ca2cfb11b138607daa4bf8a2f SHA512 931fe067b366bf3868d1f66536b19f7dce4f3ea9e117e65175369ef2f625b925fedb6923aeb9bae94cb1887711951af30cac1c7992a984cdcbfd54fa0ef775e9 WHIRLPOOL b31053459222fcb46a731ab67879b581a8cba5421097037d263afebfd7a2b26a5026b99ec0d82bcd52ef6a09f272c16bae2445c7b41eeadc7270da4529b3c759 |
29 |
|
30 |
diff --git a/dev-python/django/django-1.9.1.ebuild b/dev-python/django/django-1.9.2.ebuild |
31 |
similarity index 100% |
32 |
rename from dev-python/django/django-1.9.1.ebuild |
33 |
rename to dev-python/django/django-1.9.2.ebuild |
34 |
|
35 |
diff --git a/dev-python/django/django-1.9.ebuild b/dev-python/django/django-1.9.ebuild |
36 |
deleted file mode 100644 |
37 |
index 78a3734..0000000 |
38 |
--- a/dev-python/django/django-1.9.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,111 +0,0 @@ |
41 |
-# Copyright 1999-2015 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $Id$ |
44 |
- |
45 |
-EAPI=5 |
46 |
- |
47 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) |
48 |
-PYTHON_REQ_USE='sqlite?,threads(+)' |
49 |
-WEBAPP_NO_AUTO_INSTALL="yes" |
50 |
- |
51 |
-inherit bash-completion-r1 distutils-r1 eutils versionator webapp |
52 |
- |
53 |
-MY_PN="Django" |
54 |
-MY_P="${MY_PN}-${PV}" |
55 |
- |
56 |
-DESCRIPTION="High-level Python web framework" |
57 |
-HOMEPAGE="http://www.djangoproject.com/ https://pypi.python.org/pypi/Django" |
58 |
-SRC_URI=" |
59 |
- https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz |
60 |
- mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz |
61 |
- " |
62 |
- |
63 |
-LICENSE="BSD" |
64 |
-# admin fonts: Roboto (media-fonts/roboto) |
65 |
-LICENSE+=" Apache-2.0" |
66 |
-# admin icons, jquery, xregexp.js |
67 |
-LICENSE+=" MIT" |
68 |
-SLOT="0" |
69 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
70 |
-IUSE="doc sqlite test" |
71 |
- |
72 |
-RDEPEND="" |
73 |
-DEPEND="${RDEPEND} |
74 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
75 |
- doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) |
76 |
- test? ( |
77 |
- $(python_gen_impl_dep sqlite) |
78 |
- dev-python/docutils[${PYTHON_USEDEP}] |
79 |
- dev-python/numpy[$(python_gen_usedep 'python*')] |
80 |
- dev-python/pillow[${PYTHON_USEDEP}] |
81 |
- dev-python/pytz[${PYTHON_USEDEP}] |
82 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
83 |
- )" |
84 |
- |
85 |
-S="${WORKDIR}/${MY_P}" |
86 |
- |
87 |
-WEBAPP_MANUAL_SLOT="yes" |
88 |
- |
89 |
-PATCHES=( |
90 |
- "${FILESDIR}"/${P}-bashcomp.patch |
91 |
-) |
92 |
- |
93 |
-pkg_setup() { |
94 |
- webapp_pkg_setup |
95 |
-} |
96 |
- |
97 |
-python_prepare_all() { |
98 |
- # Prevent d'loading in the doc build |
99 |
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
100 |
- |
101 |
- distutils-r1_python_prepare_all |
102 |
-} |
103 |
- |
104 |
-python_compile_all() { |
105 |
- use doc && emake -C docs html |
106 |
-} |
107 |
- |
108 |
-python_test() { |
109 |
- # Tests have non-standard assumptions about PYTHONPATH, |
110 |
- # and don't work with ${BUILD_DIR}/lib. |
111 |
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ |
112 |
- || die "Tests fail with ${EPYTHON}" |
113 |
-} |
114 |
- |
115 |
-python_install_all() { |
116 |
- newbashcomp extras/django_bash_completion ${PN}-admin |
117 |
- bashcomp_alias ${PN}-admin django-admin.py |
118 |
- |
119 |
- if use doc; then |
120 |
- rm -fr docs/_build/html/_sources || die |
121 |
- local HTML_DOCS=( docs/_build/html/. ) |
122 |
- fi |
123 |
- |
124 |
- insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
125 |
- doins -r django/contrib/admin/static/admin/. |
126 |
- distutils-r1_python_install_all |
127 |
-} |
128 |
- |
129 |
-src_install() { |
130 |
- distutils-r1_src_install |
131 |
- webapp_src_install |
132 |
-} |
133 |
- |
134 |
-pkg_postinst() { |
135 |
- elog "Additional Backend support can be enabled via" |
136 |
- optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python |
137 |
- optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlclient |
138 |
- optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
139 |
- echo "" |
140 |
- elog "Other features can be enhanced by" |
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 |
- echo "" |
147 |
- elog "A copy of the admin media is available to webapp-config for installation in a" |
148 |
- elog "webroot, as well as the traditional location in python's site-packages dir" |
149 |
- elog "for easy development." |
150 |
- webapp_pkg_postinst |
151 |
-} |