/[gentoo-x86]/dev-python/flask/flask-9999.ebuild
Gentoo

Contents of /dev-python/flask/flask-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Fri May 15 12:50:30 2015 UTC (5 years, 1 month ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
Keyword ~arm.  Bug #549516.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v 1.9 2014/10/10 07:03:23 idella4 Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
7
8 inherit distutils-r1 git-2
9
10 EGIT_REPO_URI="git://github.com/mitsuhiko/flask.git
11 https://github.com/mitsuhiko/flask.git"
12
13 DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
14 MY_PN="Flask"
15 MY_P="${MY_PN}-${PV}"
16 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
17 HOMEPAGE="http://pypi.python.org/pypi/Flask"
18
19 LICENSE="BSD"
20 SLOT="0"
21 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
22 IUSE="examples test"
23
24 RDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
25 >=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
26 >=dev-python/jinja-2.4[${PYTHON_USEDEP}]
27 dev-python/setuptools[${PYTHON_USEDEP}]
28 >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]"
29 DEPEND="${RDEPEND}
30 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
31
32 S="${WORKDIR}/${MY_P}"
33 #if LIVE
34 SRC_URI=
35 KEYWORDS=
36 #endif
37
38 python_test() {
39 py.test tests || die "Testing failed with ${EPYTHON}"
40 }
41
42 python_install_all() {
43 use examples && local EXAMPLES=( examples/. )
44 distutils-r1_python_install_all
45 }

  ViewVC Help
Powered by ViewVC 1.1.20