Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/flask-script: flask-script-0.5.1.ebuild ChangeLog
Date: Wed, 31 Oct 2012 07:42:47
Message-Id: 20121031074229.B2C4321600@flycatcher.gentoo.org
1 patrick 12/10/31 07:42:29
2
3 Modified: ChangeLog
4 Added: flask-script-0.5.1.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.6 dev-python/flask-script/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-script/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 29 Oct 2012 16:33:04 -0000 1.5
24 +++ ChangeLog 31 Oct 2012 07:42:29 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/flask-script
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/ChangeLog,v 1.5 2012/10/29 16:33:04 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/ChangeLog,v 1.6 2012/10/31 07:42:29 patrick Exp $
30 +
31 +*flask-script-0.5.1 (31 Oct 2012)
32 +
33 + 31 Oct 2012; Patrick Lauer <patrick@g.o> +flask-script-0.5.1.ebuild:
34 + Bump
35
36 29 Oct 2012; Michał Górny <mgorny@g.o> flask-script-0.3.1.ebuild,
37 flask-script-0.3.3.ebuild:
38
39
40
41 1.1 dev-python/flask-script/flask-script-0.5.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/flask-script-0.5.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-script/flask-script-0.5.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: flask-script-0.5.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/flask-script-0.5.1.ebuild,v 1.1 2012/10/31 07:42:29 patrick Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2:2.5"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="2.4 3.*"
56 DISTUTILS_SRC_TEST="nosetests"
57
58 inherit distutils
59
60 MY_PN="Flask-Script"
61 MY_P="${MY_PN}-${PV}"
62
63 DESCRIPTION="Flask support for writing external scripts."
64 HOMEPAGE="http://packages.python.org/Flask-Script/ http://pypi.python.org/pypi/Flask-Script"
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"
71
72 RDEPEND="dev-python/flask
73 virtual/python-argparse"
74 DEPEND="${RDEPEND}
75 dev-python/setuptools
76 doc? ( dev-python/sphinx )"
77
78 S="${WORKDIR}/${MY_P}"
79
80 PYTHON_MODNAME="flaskext/script.py"
81
82 src_compile() {
83 distutils_src_compile
84
85 if use doc; then
86 einfo "Generation of documentation"
87 PYTHONPATH=".." emake -C docs html || die "Generation of documentation failed"
88 fi
89 }
90
91 src_install() {
92 distutils_src_install
93
94 if use doc; then
95 dohtml -r docs/_build/html/* || die "Installation of documentation failed"
96 fi
97 }