From: | "Dirkjan Ochtman (djc)" <djc@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/flask: flask-0.7.2.ebuild ChangeLog |
Date: | Wed, 06 Jul 2011 18:58:53 |
Message-Id: | 20110706185843.0853A20034@flycatcher.gentoo.org |
1 | djc 11/07/06 18:58:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: flask-0.7.2.ebuild |
5 | Log: |
6 | Version bump flask to 0.7.2. |
7 | |
8 | (Portage version: 2.1.10.4/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.8 dev-python/flask/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.8&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.8&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?r1=1.7&r2=1.8 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v |
20 | retrieving revision 1.7 |
21 | retrieving revision 1.8 |
22 | diff -u -r1.7 -r1.8 |
23 | --- ChangeLog 12 Feb 2011 17:45:26 -0000 1.7 |
24 | +++ ChangeLog 6 Jul 2011 18:58:42 -0000 1.8 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/flask |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.7 2011/02/12 17:45:26 arfrever Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.8 2011/07/06 18:58:42 djc Exp $ |
30 | + |
31 | +*flask-0.7.2 (06 Jul 2011) |
32 | + |
33 | + 06 Jul 2011; Dirkjan Ochtman <djc@g.o> +flask-0.7.2.ebuild: |
34 | + Version bump to 0.7.2. |
35 | |
36 | 12 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
37 | flask-0.6.1.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/flask/flask-0.7.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.7.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.7.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: flask-0.7.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.7.2.ebuild,v 1.1 2011/07/06 18:58:42 djc Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="3.*" |
56 | |
57 | inherit distutils |
58 | |
59 | MY_PN="Flask" |
60 | MY_P="${MY_PN}-${PV}" |
61 | |
62 | DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" |
63 | HOMEPAGE="http://pypi.python.org/pypi/Flask" |
64 | SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
65 | |
66 | LICENSE="BSD" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86" |
69 | IUSE="doc examples test" |
70 | |
71 | RDEPEND="dev-python/blinker |
72 | >=dev-python/jinja-2.4 |
73 | dev-python/setuptools |
74 | >=dev-python/werkzeug-0.6.1" |
75 | DEPEND="${RDEPEND} |
76 | doc? ( >=dev-python/sphinx-0.6 )" |
77 | |
78 | S="${WORKDIR}/${MY_P}" |
79 | |
80 | src_compile() { |
81 | distutils_src_compile |
82 | |
83 | if use doc; then |
84 | einfo "Generation of documentation" |
85 | pushd docs > /dev/null |
86 | PYTHONPATH=".." emake html || die "Generation of documentation failed" |
87 | popd > /dev/null |
88 | fi |
89 | } |
90 | |
91 | src_test() { |
92 | testing() { |
93 | PYTHONPATH="." "$(PYTHON)" tests/flask_tests.py |
94 | } |
95 | python_execute_function testing |
96 | } |
97 | |
98 | src_install() { |
99 | distutils_src_install |
100 | |
101 | if use doc; then |
102 | pushd docs/_build/html > /dev/null |
103 | insinto /usr/share/doc/${PF}/html |
104 | doins -r [a-z]* _images _static || die "Installation of documentation failed" |
105 | popd > /dev/null |
106 | fi |
107 | |
108 | if use examples; then |
109 | insinto /usr/share/doc/${PF} |
110 | doins -r examples || die "Installation of examples failed" |
111 | fi |
112 | } |