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