summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-10-20 18:59:56 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-10-20 18:59:56 +0200
commit84e1235e06adc2273e96a9c1351e74f61aeb8b21 (patch)
tree0263e013ed756a579755a474eb439553f2149079 /dev-python/frozen-flask
parentdev-python/s3transfer: Bump (diff)
downloadgentoo-84e1235e06adc2273e96a9c1351e74f61aeb8b21.tar.gz
gentoo-84e1235e06adc2273e96a9c1351e74f61aeb8b21.tar.bz2
gentoo-84e1235e06adc2273e96a9c1351e74f61aeb8b21.zip
dev-python/frozen-flask: Bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/frozen-flask')
-rw-r--r--dev-python/frozen-flask/Manifest1
-rw-r--r--dev-python/frozen-flask/frozen-flask-0.13.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/frozen-flask/Manifest b/dev-python/frozen-flask/Manifest
index d95d869318b0..2f8c323fe67f 100644
--- a/dev-python/frozen-flask/Manifest
+++ b/dev-python/frozen-flask/Manifest
@@ -1,2 +1,3 @@
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
+DIST Frozen-Flask-0.13.tar.gz 174984 SHA256 ed5f92fd7581ea2b26381a08ed0001ca24986bc953bc29a01a7df1fd35782662 SHA512 2ffaa0b9f989058859f742699ce47865ab1dd7602d5e79db4ed6d9f8f79b39249deb48881377cb421c7583ffa77126b9a7d70770595895d91790dabbb23888e0 WHIRLPOOL 2b375e5dd51d3f27746b8dc329ef1bc70f18de228e01c95346c23c46c4e0c2295d68cfdc2d66b16a92e870c2be0957a765186ebe637247c258095ace5738ff42
diff --git a/dev-python/frozen-flask/frozen-flask-0.13.ebuild b/dev-python/frozen-flask/frozen-flask-0.13.ebuild
new file mode 100644
index 000000000000..8ce2fb536796
--- /dev/null
+++ b/dev-python/frozen-flask/frozen-flask-0.13.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 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
+}