diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-01-03 17:40:29 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-01-03 17:41:04 +0100 |
commit | 137d1eadd4b90863b5f0d6fe4faecf2db58d9879 (patch) | |
tree | 783bed89b28c3f2aec75be195dfcde460121c6ea /dev-python/frozen-flask | |
parent | dev-python/pytest-xprocess: Fix test deps (diff) | |
download | gentoo-137d1eadd4b90863b5f0d6fe4faecf2db58d9879.tar.gz gentoo-137d1eadd4b90863b5f0d6fe4faecf2db58d9879.tar.bz2 gentoo-137d1eadd4b90863b5f0d6fe4faecf2db58d9879.zip |
dev-python/frozen-flask: Bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/frozen-flask')
-rw-r--r-- | dev-python/frozen-flask/Manifest | 1 | ||||
-rw-r--r-- | dev-python/frozen-flask/frozen-flask-0.12.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/frozen-flask/Manifest b/dev-python/frozen-flask/Manifest index de665f77b1f9..d95d869318b0 100644 --- a/dev-python/frozen-flask/Manifest +++ b/dev-python/frozen-flask/Manifest @@ -1 +1,2 @@ DIST Frozen-Flask-0.11.tar.gz 106927 SHA256 c348e0165b161efa44770157eba3e006cc6a1e9867bfd74670cbc56529cc5512 SHA512 a734c6e090f08b01756b677a577c013e0198272a9e469410be81e5214eceb34d98e163410e8e04850036c58c5e7c9e718145e69cd26dd9e30c821f6949aede76 WHIRLPOOL 60a54174665e96b4f3921b72bb1f5f313f53c983d84e3dc6fd917f7273ace98a364638d925776eb5cfa6b709d8ee7c935cd3b9bbbb8926550513e3a54e517d59 +DIST Frozen-Flask-0.12.tar.gz 107829 SHA256 8e4f638a1476427ea359f6d90691d96bda71b74e7b00faab48532442079ca736 SHA512 d781b687628890c8372943a10347c219114a2400f896c64d86a64758eb2de12660941b074e518916de0f9c99807ea68915b20fdf46f2bcd659f2cb1c9bda9f65 WHIRLPOOL 9cab0b92d2a7c81bf30bbdde26400a723217ef99221de1636046a42f051bc30c30e109f27a1ee3ebbd8438e7776d8b27baa8310b9619802fa75a169056e8f85a diff --git a/dev-python/frozen-flask/frozen-flask-0.12.ebuild b/dev-python/frozen-flask/frozen-flask-0.12.ebuild new file mode 100644 index 000000000000..b0db49061b86 --- /dev/null +++ b/dev-python/frozen-flask/frozen-flask-0.12.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +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 https://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 +} |