From 6d1584e31483e7d2e46c8277767b22f2b9e350c1 Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Thu, 13 Jun 2013 12:34:21 +0000 Subject: revbump; migrate -> disutils-r1, add doc build (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) --- dev-python/frozen-flask/ChangeLog | 7 +++- dev-python/frozen-flask/frozen-flask-0.9-r1.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 dev-python/frozen-flask/frozen-flask-0.9-r1.ebuild diff --git a/dev-python/frozen-flask/ChangeLog b/dev-python/frozen-flask/ChangeLog index 88bfd0ecb96d..516d470139d7 100644 --- a/dev-python/frozen-flask/ChangeLog +++ b/dev-python/frozen-flask/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/frozen-flask # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/frozen-flask/ChangeLog,v 1.5 2013/03/20 08:05:36 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/frozen-flask/ChangeLog,v 1.6 2013/06/13 12:34:21 idella4 Exp $ + +*frozen-flask-0.9-r1 (13 Jun 2013) + + 13 Jun 2013; Ian Delaney +frozen-flask-0.9-r1.ebuild: + revbump; migrate -> disutils-r1, add doc build *frozen-flask-0.10 (20 Mar 2013) diff --git a/dev-python/frozen-flask/frozen-flask-0.9-r1.ebuild b/dev-python/frozen-flask/frozen-flask-0.9-r1.ebuild new file mode 100644 index 000000000000..457551c3d82e --- /dev/null +++ b/dev-python/frozen-flask/frozen-flask-0.9-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/frozen-flask/frozen-flask-0.9-r1.ebuild,v 1.1 2013/06/13 12:34:21 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy2_0 ) + +inherit distutils-r1 + +MY_PN="Frozen-Flask" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Freezes a Flask application into a set of static files." +HOMEPAGE="https://github.com/SimonSapin/Frozen-Flask http://pypi.python.org/pypi/Frozen-Flask" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + if use doc; then + sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' -i docs/conf.py || die + mkdir docs/_build || die + sphinx-build -c docs docs docs/_build || die + fi +} + +python_test() { + nosetests || die Tests failed under $"{EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( "${S}"/docs/_build/. ) + distutils-r1_python_install_all +} + -- cgit v1.2.3-65-gdbad