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-script: flask-script-0.3.3.ebuild ChangeLog
Date: Sun, 08 Apr 2012 19:06:37
Message-Id: 20120408190557.86F3C2004B@flycatcher.gentoo.org
1 floppym 12/04/08 19:05:57
2
3 Modified: ChangeLog
4 Added: flask-script-0.3.3.ebuild
5 Log:
6 Version bump, #411151 by Ian Delaney.
7
8 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-python/flask-script/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-script/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 8 Oct 2011 17:47:49 -0000 1.3
24 +++ ChangeLog 8 Apr 2012 19:05:57 -0000 1.4
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/flask-script
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/ChangeLog,v 1.3 2011/10/08 17:47:49 floppym Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/ChangeLog,v 1.4 2012/04/08 19:05:57 floppym Exp $
31 +
32 +*flask-script-0.3.3 (08 Apr 2012)
33 +
34 + 08 Apr 2012; Mike Gilbert <floppym@g.o> +flask-script-0.3.3.ebuild:
35 + Version bump, #411151 by Ian Delaney.
36
37 08 Oct 2011; Mike Gilbert <floppym@g.o> flask-script-0.3.1.ebuild:
38 Restrict py2.4 due to bug 382765.
39
40
41
42 1.1 dev-python/flask-script/flask-script-0.3.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/flask-script-0.3.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/flask-script-0.3.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: flask-script-0.3.3.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/flask-script-0.3.3.ebuild,v 1.1 2012/04/08 19:05:57 floppym Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="2:2.5"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 3.*"
57 DISTUTILS_SRC_TEST="nosetests"
58
59 inherit distutils
60
61 MY_PN="Flask-Script"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="Flask support for writing external scripts."
65 HOMEPAGE="http://packages.python.org/Flask-Script/ http://pypi.python.org/pypi/Flask-Script"
66 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
67
68 LICENSE="BSD"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="doc"
72
73 RDEPEND="dev-python/flask
74 dev-python/argparse"
75 DEPEND="${RDEPEND}
76 dev-python/setuptools
77 doc? ( dev-python/sphinx )"
78
79 S="${WORKDIR}/${MY_P}"
80
81 PYTHON_MODNAME="flaskext/script.py"
82
83 src_compile() {
84 distutils_src_compile
85
86 if use doc; then
87 einfo "Generation of documentation"
88 PYTHONPATH=".." emake -C docs html || die "Generation of documentation failed"
89 fi
90 }
91
92 src_install() {
93 distutils_src_install
94
95 if use doc; then
96 dohtml -r docs/_build/html/* || die "Installation of documentation failed"
97 fi
98 }