1 |
idella4 12/12/01 12:52:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: django-1.3.4.ebuild |
5 |
Log: |
6 |
bump, python[56] test restricted due to fails, requested by quantumsummers |
7 |
|
8 |
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.89 dev-python/django/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.89&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.89&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?r1=1.88&r2=1.89 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v |
20 |
retrieving revision 1.88 |
21 |
retrieving revision 1.89 |
22 |
diff -u -r1.88 -r1.89 |
23 |
--- ChangeLog 17 Nov 2012 13:01:20 -0000 1.88 |
24 |
+++ ChangeLog 1 Dec 2012 12:52:19 -0000 1.89 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/django |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.88 2012/11/17 13:01:20 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.89 2012/12/01 12:52:19 idella4 Exp $ |
30 |
+ |
31 |
+*django-1.3.4 (02 Dec 2012) |
32 |
+ |
33 |
+ 02 Dec 2012; Ian Delaney <idella4@g.o> +django-1.3.4.ebuild: |
34 |
+ bump, python[56] test restricted due to fails, requested by quantumsummers |
35 |
|
36 |
17 Nov 2012; Agostino Sarubbo <ago@g.o> django-1.4.1.ebuild: |
37 |
Stable for amd64, wrt bug #443422 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/django/django-1.3.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.3.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.3.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: django-1.3.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.3.4.ebuild,v 1.1 2012/12/01 12:52:19 idella4 Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
PYTHON_DEPEND="2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
RESTRICT_PYTHON_ABIS="3.*" |
56 |
PYTHON_TESTS_RESTRICTED_ABIS="2.[56] 2.7-pypy-1.*" |
57 |
inherit bash-completion-r1 distutils eutils versionator webapp |
58 |
|
59 |
MY_P="Django-${PV}" |
60 |
|
61 |
DESCRIPTION="High-level Python web framework" |
62 |
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" |
63 |
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
68 |
IUSE="doc mysql postgres sqlite test" |
69 |
|
70 |
RDEPEND="dev-python/imaging |
71 |
sqlite? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) ) |
72 |
postgres? ( dev-python/psycopg ) |
73 |
mysql? ( >=dev-python/mysql-python-1.2.1_p2 )" |
74 |
DEPEND="${RDEPEND} |
75 |
doc? ( >=dev-python/sphinx-0.3 ) |
76 |
test? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )" |
77 |
|
78 |
S="${WORKDIR}/${MY_P}" |
79 |
|
80 |
DOCS="docs/README AUTHORS" |
81 |
WEBAPP_MANUAL_SLOT="yes" |
82 |
|
83 |
pkg_setup() { |
84 |
python_pkg_setup |
85 |
webapp_pkg_setup |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
distutils_src_prepare |
90 |
epatch "${FILESDIR}/${PN}-1.3.1-djangodocs_extension.patch" |
91 |
|
92 |
# Disable tests requiring network connection. |
93 |
sed \ |
94 |
-e "s/test_correct_url_value_passes/_&/" \ |
95 |
-e "s/test_correct_url_with_redirect/_&/" \ |
96 |
-i tests/modeltests/validation/tests.py |
97 |
sed \ |
98 |
-e "s/test_urlfield_3/_&/" \ |
99 |
-e "s/test_urlfield_4/_&/" \ |
100 |
-e "s/test_urlfield_10/_&/" \ |
101 |
-i tests/regressiontests/forms/tests/fields.py |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
distutils_src_compile |
106 |
|
107 |
if use doc; then |
108 |
einfo "Generation of documentation" |
109 |
pushd docs > /dev/null |
110 |
emake html || die "Generation of documentation failed" |
111 |
popd > /dev/null |
112 |
fi |
113 |
} |
114 |
|
115 |
src_test() { |
116 |
testing() { |
117 |
# Tests have non-standard assumptions about PYTHONPATH and |
118 |
# don't work with usual "build-${PYTHON_ABI}/lib". |
119 |
PYTHONPATH="." "$(PYTHON)" tests/runtests.py --settings=test_sqlite -v1 |
120 |
} |
121 |
python_execute_function testing |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
distutils_src_install |
126 |
|
127 |
newbashcomp extras/django_bash_completion ${PN} || die |
128 |
|
129 |
if use doc; then |
130 |
rm -fr docs/_build/html/_sources |
131 |
dohtml -A txt -r docs/_build/html/* || die "dohtml failed" |
132 |
fi |
133 |
|
134 |
insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
135 |
doins -r django/contrib/admin/media/* || die "doins failed" |
136 |
|
137 |
webapp_src_install |
138 |
} |
139 |
|
140 |
pkg_preinst() { |
141 |
: |
142 |
} |
143 |
|
144 |
pkg_postinst() { |
145 |
distutils_pkg_postinst |
146 |
|
147 |
einfo "Now, Django has the best of both worlds with Gentoo," |
148 |
einfo "ease of deployment for production and development." |
149 |
echo |
150 |
elog "A copy of the admin media is available to" |
151 |
elog "webapp-config for installation in a webroot," |
152 |
elog "as well as the traditional location in python's" |
153 |
elog "site-packages dir for easy development" |
154 |
echo |
155 |
ewarn "If you build Django ${PV} without USE=\"vhosts\"" |
156 |
ewarn "webapp-config will automatically install the" |
157 |
ewarn "admin media into the localhost webroot." |
158 |
} |