1 |
idella4 14/09/01 05:05:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: django-1.4.14.ebuild django-1.5.9.ebuild |
5 |
Log: |
6 |
bumps |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.138 dev-python/django/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.138&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.138&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?r1=1.137&r2=1.138 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v |
20 |
retrieving revision 1.137 |
21 |
retrieving revision 1.138 |
22 |
diff -u -r1.137 -r1.138 |
23 |
--- ChangeLog 26 Aug 2014 08:33:36 -0000 1.137 |
24 |
+++ ChangeLog 1 Sep 2014 05:05:46 -0000 1.138 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-python/django |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.137 2014/08/26 08:33:36 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.138 2014/09/01 05:05:46 idella4 Exp $ |
30 |
+ |
31 |
+*django-1.5.9 (01 Sep 2014) |
32 |
+*django-1.4.14 (01 Sep 2014) |
33 |
+ |
34 |
+ 01 Sep 2014; Ian Delaney <idella4@g.o> +django-1.4.14.ebuild, |
35 |
+ +django-1.5.9.ebuild: |
36 |
+ bumps |
37 |
|
38 |
*django-1.6.6 (26 Aug 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/django/django-1.4.14.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.4.14.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.4.14.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: django-1.4.14.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.4.14.ebuild,v 1.1 2014/09/01 05:05:46 idella4 Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=( python2_7 ) |
57 |
PYTHON_REQ_USE='sqlite?' |
58 |
|
59 |
inherit bash-completion-r1 distutils-r1 versionator webapp |
60 |
|
61 |
MY_P="Django-${PV}" |
62 |
|
63 |
DESCRIPTION="High-level Python web framework" |
64 |
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" |
65 |
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="BSD" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
70 |
IUSE="mysql postgres sqlite test" |
71 |
|
72 |
RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}] |
73 |
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) |
74 |
mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )" |
75 |
DEPEND="${RDEPEND} |
76 |
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" |
77 |
|
78 |
S="${WORKDIR}/${MY_P}" |
79 |
|
80 |
WEBAPP_MANUAL_SLOT="yes" |
81 |
|
82 |
python_prepare_all() { |
83 |
# Disable tests requiring network connection. |
84 |
sed \ |
85 |
-e "s/test_correct_url_value_passes/_&/" \ |
86 |
-e "s/test_correct_url_with_redirect/_&/" \ |
87 |
-i tests/modeltests/validation/tests.py || die |
88 |
sed \ |
89 |
-e "s/test_urlfield_3/_&/" \ |
90 |
-e "s/test_urlfield_4/_&/" \ |
91 |
-e "s/test_urlfield_10/_&/" \ |
92 |
-i tests/regressiontests/forms/tests/fields.py || die |
93 |
|
94 |
distutils-r1_python_prepare_all |
95 |
} |
96 |
|
97 |
python_test() { |
98 |
# Tests have non-standard assumptions about PYTHONPATH, |
99 |
# and don't work with ${BUILD_DIR}/lib. |
100 |
PYTHONPATH=. \ |
101 |
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \ |
102 |
|| die "Tests fail with ${EPYTHON}" |
103 |
} |
104 |
|
105 |
src_test() { |
106 |
# Port conflict in django.test.testcases.LiveServerTestCase. |
107 |
# Several other races with temp files. |
108 |
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
distutils-r1_src_install |
113 |
webapp_src_install |
114 |
} |
115 |
|
116 |
python_install_all() { |
117 |
distutils-r1_python_install_all |
118 |
|
119 |
newbashcomp extras/django_bash_completion ${PN} |
120 |
|
121 |
insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
122 |
doins -r django/contrib/admin/static/admin/. |
123 |
} |
124 |
|
125 |
pkg_postinst() { |
126 |
elog "A copy of the admin media is available to" |
127 |
elog "webapp-config for installation in a webroot," |
128 |
elog "as well as the traditional location in python's" |
129 |
elog "site-packages dir for easy development" |
130 |
elog |
131 |
ewarn "If you build Django ${PV} without USE=\"vhosts\"" |
132 |
|
133 |
# XXX: call webapp_pkg_postinst? the old ebuild didn't do that... |
134 |
ewarn "webapp-config will automatically install the" |
135 |
ewarn "admin media into the localhost webroot." |
136 |
} |
137 |
|
138 |
|
139 |
|
140 |
1.1 dev-python/django/django-1.5.9.ebuild |
141 |
|
142 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.5.9.ebuild?rev=1.1&view=markup |
143 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.5.9.ebuild?rev=1.1&content-type=text/plain |
144 |
|
145 |
Index: django-1.5.9.ebuild |
146 |
=================================================================== |
147 |
# Copyright 1999-2014 Gentoo Foundation |
148 |
# Distributed under the terms of the GNU General Public License v2 |
149 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.9.ebuild,v 1.1 2014/09/01 05:05:46 idella4 Exp $ |
150 |
|
151 |
EAPI=5 |
152 |
PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy ) |
153 |
PYTHON_REQ_USE='sqlite?' |
154 |
WEBAPP_NO_AUTO_INSTALL="yes" |
155 |
|
156 |
inherit bash-completion-r1 distutils-r1 versionator webapp |
157 |
|
158 |
MY_P="Django-${PV}" |
159 |
|
160 |
DESCRIPTION="High-level Python web framework" |
161 |
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" |
162 |
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" |
163 |
|
164 |
LICENSE="BSD" |
165 |
SLOT="0" |
166 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
167 |
IUSE="doc mysql postgres sqlite test" |
168 |
|
169 |
PY2_USEDEP=$(python_gen_usedep python2_7) |
170 |
PY23_USEDEP=$(python_gen_usedep python2_7 'python{3_3,3_4}') |
171 |
RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}] |
172 |
postgres? ( dev-python/psycopg:2[${PY23_USEDEP}] ) |
173 |
mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )" |
174 |
DEPEND="${RDEPEND} |
175 |
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) |
176 |
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" |
177 |
|
178 |
REQUIRED_USE="mysql? ( $(python_gen_useflags python2_7) ) |
179 |
postgres? ( || ( $(python_gen_useflags 'python{2_7,3_2,3_3}') ) )" |
180 |
|
181 |
S="${WORKDIR}/${MY_P}" |
182 |
|
183 |
WEBAPP_MANUAL_SLOT="yes" |
184 |
|
185 |
PATCHES=( "${FILESDIR}"/${PN}-1.5.4-objects.patch \ |
186 |
"${FILESDIR}"/${PN}-1.5-py3tests.patch ) |
187 |
|
188 |
python_compile_all() { |
189 |
if use doc; then |
190 |
emake -C docs html |
191 |
fi |
192 |
} |
193 |
|
194 |
python_test() { |
195 |
# Tests have non-standard assumptions about PYTHONPATH, |
196 |
# and don't work with ${BUILD_DIR}/lib. |
197 |
# https://code.djangoproject.com/ticket/20514 |
198 |
PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \ |
199 |
|| die "Tests fail with ${EPYTHON}" |
200 |
} |
201 |
|
202 |
src_test() { |
203 |
# Port conflict in django.test.testcases.LiveServerTestCase. |
204 |
# Several other races with temp files. |
205 |
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test |
206 |
} |
207 |
|
208 |
src_install() { |
209 |
distutils-r1_src_install |
210 |
webapp_src_install |
211 |
} |
212 |
|
213 |
python_install_all() { |
214 |
newbashcomp extras/django_bash_completion ${PN} |
215 |
|
216 |
if use doc; then |
217 |
rm -fr docs/_build/html/_sources |
218 |
local HTML_DOCS=( docs/_build/html/. ) |
219 |
fi |
220 |
|
221 |
insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
222 |
doins -r django/contrib/admin/static/admin/. |
223 |
distutils-r1_python_install_all |
224 |
} |
225 |
|
226 |
pkg_postinst() { |
227 |
elog "A copy of the admin media is available to webapp-config for installation in a" |
228 |
elog "webroot, as well as the traditional location in python's site-packages dir" |
229 |
elog "for easy development." |
230 |
webapp_pkg_postinst |
231 |
} |