diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-09-16 17:09:46 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-09-16 17:10:06 +0000 |
commit | 60711ab1390be1b6a6ce2e5e7dd39b8586b0f0d2 (patch) | |
tree | 56cc24edb6e0417643c26885123f2ea5462962e0 /dev-python/frozen-flask | |
parent | dev-python/alembic: Bump (diff) | |
download | gentoo-60711ab1390be1b6a6ce2e5e7dd39b8586b0f0d2.tar.gz gentoo-60711ab1390be1b6a6ce2e5e7dd39b8586b0f0d2.tar.bz2 gentoo-60711ab1390be1b6a6ce2e5e7dd39b8586b0f0d2.zip |
dev-python/frozen-flask: Bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
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.15.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/frozen-flask/Manifest b/dev-python/frozen-flask/Manifest index 19c9a377fb50..ad9c1a9c77f7 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.13.tar.gz 174984 SHA256 ed5f92fd7581ea2b26381a08ed0001ca24986bc953bc29a01a7df1fd35782662 SHA512 2ffaa0b9f989058859f742699ce47865ab1dd7602d5e79db4ed6d9f8f79b39249deb48881377cb421c7583ffa77126b9a7d70770595895d91790dabbb23888e0 WHIRLPOOL 2b375e5dd51d3f27746b8dc329ef1bc70f18de228e01c95346c23c46c4e0c2295d68cfdc2d66b16a92e870c2be0957a765186ebe637247c258095ace5738ff42 +DIST Frozen-Flask-0.15.tar.gz 477516 SHA256 83858d6ed8b9d3fa7fc9523e415e65fb86b99352798d7695f63cffbd59a56269 SHA512 8cb80ccb5018abdaaf53a43c219504d57f2630af3d8d5c7bd6bee44c7cf483f50530bc00ff49fd674d54c0e1f6a5e0caa004bff04e95dec7f58a8bb443a36241 WHIRLPOOL 1fd9e6fc9ff2b9a97938c5554a2f1705ff334e34b446c53876513c483970bec2581d0f3defa73da18d1feaeeeba7454abd77a3d7d48e6ecb0126bfe4f56afa5a diff --git a/dev-python/frozen-flask/frozen-flask-0.15.ebuild b/dev-python/frozen-flask/frozen-flask-0.15.ebuild new file mode 100644 index 000000000000..f8c26e719d97 --- /dev/null +++ b/dev-python/frozen-flask/frozen-flask-0.15.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |