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/flask: flask-9999.ebuild flask-0.9-r1.ebuild ChangeLog
Date: Thu, 28 Mar 2013 03:18:23
Message-Id: 20130328031819.262B32171D@flycatcher.gentoo.org
1 floppym 13/03/28 03:18:19
2
3 Modified: flask-9999.ebuild ChangeLog
4 Added: flask-0.9-r1.ebuild
5 Log:
6 Convert to distutils-r1.
7
8 (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.3 dev-python/flask/flask-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-9999.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-9999.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-9999.ebuild?r1=1.2&r2=1.3
16
17 Index: flask-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- flask-9999.ebuild 10 Apr 2012 13:01:00 -0000 1.2
24 +++ flask-9999.ebuild 28 Mar 2013 03:18:18 -0000 1.3
25 @@ -1,64 +1,48 @@
26 -# Copyright 1999-2012 Gentoo Foundation
27 +# Copyright 1999-2013 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v 1.2 2012/04/10 13:01:00 rafaelmartins Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v 1.3 2013/03/28 03:18:18 floppym Exp $
31
32 -EAPI="3"
33 -PYTHON_DEPEND="2:2.5"
34 -SUPPORT_PYTHON_ABIS="1"
35 -RESTRICT_PYTHON_ABIS="2.4 3.*"
36 +EAPI="5"
37 +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
38
39 +inherit distutils-r1
40 +#if LIVE
41 +inherit git-2
42 EGIT_REPO_URI="git://github.com/mitsuhiko/flask.git
43 https://github.com/mitsuhiko/flask.git"
44 -
45 -inherit distutils git-2
46 -
47 -MY_PN="Flask"
48 +#endif
49
50 DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
51 +MY_PN="Flask"
52 +MY_P="${MY_PN}-${PV}"
53 +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
54 HOMEPAGE="http://pypi.python.org/pypi/Flask"
55
56 LICENSE="BSD"
57 SLOT="0"
58 -KEYWORDS=""
59 -IUSE="doc examples test"
60 +KEYWORDS="~amd64 ~x86"
61 +IUSE="examples test"
62
63 -RDEPEND="dev-python/blinker
64 - >=dev-python/jinja-2.4
65 - dev-python/setuptools
66 - >=dev-python/werkzeug-0.6.1"
67 -DEPEND="${RDEPEND}
68 - doc? ( >=dev-python/sphinx-0.6 )"
69 -
70 -src_compile() {
71 - distutils_src_compile
72 -
73 - if use doc; then
74 - einfo "Generation of documentation"
75 - pushd docs > /dev/null
76 - PYTHONPATH=".." emake html || die "Generation of documentation failed"
77 - popd > /dev/null
78 - fi
79 -}
80 +RDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
81 + >=dev-python/jinja-2.4[${PYTHON_USEDEP}]
82 + dev-python/setuptools[${PYTHON_USEDEP}]
83 + >=dev-python/werkzeug-0.6.1[${PYTHON_USEDEP}]"
84 +DEPEND="${RDEPEND}"
85 +
86 +S="${WORKDIR}/${MY_P}"
87 +#if LIVE
88 +SRC_URI=
89 +KEYWORDS=
90 +#endif
91
92 -src_test() {
93 - testing() {
94 - PYTHONPATH="." "$(PYTHON)" run-tests.py
95 - }
96 - python_execute_function testing
97 +python_test() {
98 + "${PYTHON}" run-tests.py || die "Testing failed with ${EPYTHON}"
99 }
100
101 -src_install() {
102 - distutils_src_install
103 -
104 - if use doc; then
105 - pushd docs/_build/html > /dev/null
106 - insinto /usr/share/doc/${PF}/html
107 - doins -r [a-z]* _images _static || die "Installation of documentation failed"
108 - popd > /dev/null
109 - fi
110 -
111 +python_install_all() {
112 if use examples; then
113 insinto /usr/share/doc/${PF}
114 - doins -r examples || die "Installation of examples failed"
115 + doins -r examples
116 + docompress -x /usr/share/doc/${PF}/examples
117 fi
118 }
119
120
121
122 1.17 dev-python/flask/ChangeLog
123
124 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.17&view=markup
125 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.17&content-type=text/plain
126 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?r1=1.16&r2=1.17
127
128 Index: ChangeLog
129 ===================================================================
130 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v
131 retrieving revision 1.16
132 retrieving revision 1.17
133 diff -u -r1.16 -r1.17
134 --- ChangeLog 20 Aug 2012 17:23:44 -0000 1.16
135 +++ ChangeLog 28 Mar 2013 03:18:19 -0000 1.17
136 @@ -1,6 +1,12 @@
137 # ChangeLog for dev-python/flask
138 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
139 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.16 2012/08/20 17:23:44 floppym Exp $
140 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
141 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.17 2013/03/28 03:18:19 floppym Exp $
142 +
143 +*flask-0.9-r1 (28 Mar 2013)
144 +
145 + 28 Mar 2013; Mike Gilbert <floppym@g.o> +flask-0.9-r1.ebuild,
146 + flask-9999.ebuild:
147 + Convert to distutils-r1.
148
149 20 Aug 2012; Mike Gilbert <floppym@g.o> flask-0.9.ebuild:
150 Drop unused sed statement; applied upstream. Thanks to Arfrever.
151
152
153
154 1.1 dev-python/flask/flask-0.9-r1.ebuild
155
156 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.9-r1.ebuild?rev=1.1&view=markup
157 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.9-r1.ebuild?rev=1.1&content-type=text/plain
158
159 Index: flask-0.9-r1.ebuild
160 ===================================================================
161 # Copyright 1999-2013 Gentoo Foundation
162 # Distributed under the terms of the GNU General Public License v2
163 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.9-r1.ebuild,v 1.1 2013/03/28 03:18:19 floppym Exp $
164
165 EAPI="5"
166 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
167
168 inherit distutils-r1
169
170 DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
171 MY_PN="Flask"
172 MY_P="${MY_PN}-${PV}"
173 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
174 HOMEPAGE="http://pypi.python.org/pypi/Flask"
175
176 LICENSE="BSD"
177 SLOT="0"
178 KEYWORDS="~amd64 ~x86"
179 IUSE="examples test"
180
181 RDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
182 >=dev-python/jinja-2.4[${PYTHON_USEDEP}]
183 dev-python/setuptools[${PYTHON_USEDEP}]
184 >=dev-python/werkzeug-0.6.1[${PYTHON_USEDEP}]"
185 DEPEND="${RDEPEND}"
186
187 S="${WORKDIR}/${MY_P}"
188
189 python_test() {
190 "${PYTHON}" run-tests.py || die "Testing failed with ${EPYTHON}"
191 }
192
193 python_install_all() {
194 if use examples; then
195 insinto /usr/share/doc/${PF}
196 doins -r examples
197 docompress -x /usr/share/doc/${PF}/examples
198 fi
199 }