Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/django: django-1.5.ebuild django-9999.ebuild ChangeLog
Date: Sat, 30 Mar 2013 13:21:44
Message-Id: 20130330132139.D40C82171D@flycatcher.gentoo.org
1 floppym 13/03/30 13:21:39
2
3 Modified: django-1.5.ebuild django-9999.ebuild ChangeLog
4 Log:
5 Update live ebuild.
6
7 (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
8
9 Revision Changes Path
10 1.5 dev-python/django/django-1.5.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.5.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.5.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.5.ebuild?r1=1.4&r2=1.5
15
16 Index: django-1.5.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- django-1.5.ebuild 30 Mar 2013 13:15:19 -0000 1.4
23 +++ django-1.5.ebuild 30 Mar 2013 13:21:39 -0000 1.5
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.ebuild,v 1.4 2013/03/30 13:15:19 floppym Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.ebuild,v 1.5 2013/03/30 13:21:39 floppym Exp $
29
30 EAPI=5
31 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
32 @@ -49,11 +49,6 @@
33 DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
34 }
35
36 -src_install() {
37 - distutils-r1_src_install
38 - webapp_src_install
39 -}
40 -
41 python_install_all() {
42 distutils-r1_python_install_all
43 newbashcomp extras/django_bash_completion ${PN}
44 @@ -65,6 +60,8 @@
45
46 insinto "${MY_HTDOCSDIR#${EPREFIX}}"
47 doins -r django/contrib/admin/static/admin/.
48 +
49 + webapp_src_install
50 }
51
52 pkg_postinst() {
53
54
55
56 1.19 dev-python/django/django-9999.ebuild
57
58 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-9999.ebuild?rev=1.19&view=markup
59 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-9999.ebuild?rev=1.19&content-type=text/plain
60 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-9999.ebuild?r1=1.18&r2=1.19
61
62 Index: django-9999.ebuild
63 ===================================================================
64 RCS file: /var/cvsroot/gentoo-x86/dev-python/django/django-9999.ebuild,v
65 retrieving revision 1.18
66 retrieving revision 1.19
67 diff -u -r1.18 -r1.19
68 --- django-9999.ebuild 23 Feb 2013 21:26:05 -0000 1.18
69 +++ django-9999.ebuild 30 Mar 2013 13:21:39 -0000 1.19
70 @@ -1,10 +1,9 @@
71 # Copyright 1999-2013 Gentoo Foundation
72 # Distributed under the terms of the GNU General Public License v2
73 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-9999.ebuild,v 1.18 2013/02/23 21:26:05 floppym Exp $
74 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-9999.ebuild,v 1.19 2013/03/30 13:21:39 floppym Exp $
75
76 EAPI=5
77 -
78 -PYTHON_COMPAT=( python{2_6,2_7} )
79 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
80 PYTHON_REQ_USE='sqlite?'
81
82 #if LIVE
83 @@ -26,9 +25,10 @@
84 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
85 IUSE="doc mysql postgres sqlite test"
86
87 -RDEPEND="dev-python/imaging[${PYTHON_USEDEP}]
88 +PY2_USEDEP=$(python_gen_usedep 'python2*')
89 +RDEPEND="dev-python/imaging[${PY2_USEDEP}]
90 postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
91 - mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )"
92 + mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )"
93 DEPEND="${RDEPEND}
94 doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
95 test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
96 @@ -42,21 +42,6 @@
97
98 WEBAPP_MANUAL_SLOT="yes"
99
100 -python_prepare_all() {
101 - # Disable tests requiring network connection.
102 - sed \
103 - -e "s/test_correct_url_value_passes/_&/" \
104 - -e "s/test_correct_url_with_redirect/_&/" \
105 - -i tests/modeltests/validation/tests.py || die
106 - sed \
107 - -e "s/test_urlfield_3/_&/" \
108 - -e "s/test_urlfield_4/_&/" \
109 - -e "s/test_urlfield_10/_&/" \
110 - -i tests/regressiontests/forms/tests/fields.py || die
111 -
112 - distutils-r1_python_prepare_all
113 -}
114 -
115 python_compile_all() {
116 use doc && emake -C docs html
117 }
118 @@ -77,7 +62,6 @@
119
120 python_install_all() {
121 distutils-r1_python_install_all
122 -
123 newbashcomp extras/django_bash_completion ${PN}
124
125 if use doc; then
126 @@ -98,6 +82,8 @@
127 elog "site-packages dir for easy development"
128 elog
129 ewarn "If you build Django ${PV} without USE=\"vhosts\""
130 +
131 + # XXX: call webapp_pkg_postinst? the old ebuild didn't do that...
132 ewarn "webapp-config will automatically install the"
133 ewarn "admin media into the localhost webroot."
134 }
135
136
137
138 1.104 dev-python/django/ChangeLog
139
140 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.104&view=markup
141 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.104&content-type=text/plain
142 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?r1=1.103&r2=1.104
143
144 Index: ChangeLog
145 ===================================================================
146 RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v
147 retrieving revision 1.103
148 retrieving revision 1.104
149 diff -u -r1.103 -r1.104
150 --- ChangeLog 30 Mar 2013 13:15:19 -0000 1.103
151 +++ ChangeLog 30 Mar 2013 13:21:39 -0000 1.104
152 @@ -1,6 +1,10 @@
153 # ChangeLog for dev-python/django
154 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
155 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.103 2013/03/30 13:15:19 floppym Exp $
156 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.104 2013/03/30 13:21:39 floppym Exp $
157 +
158 + 30 Mar 2013; Mike Gilbert <floppym@g.o> django-1.5.ebuild,
159 + django-9999.ebuild:
160 + Update live ebuild.
161
162 30 Mar 2013; Mike Gilbert <floppym@g.o> django-1.5.ebuild:
163 Remove obsolete sed commands.