diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-09-16 14:47:53 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-09-16 15:04:22 +0000 |
commit | 8274fff2a440e0272fe0d24a74aa41bd51ad8283 (patch) | |
tree | 6edd80fa53a70880db9622d7c1eca91f0ffbc656 /dev-python/flask-script | |
parent | dev-python/flask-restful: Bump (diff) | |
download | gentoo-8274fff2a440e0272fe0d24a74aa41bd51ad8283.tar.gz gentoo-8274fff2a440e0272fe0d24a74aa41bd51ad8283.tar.bz2 gentoo-8274fff2a440e0272fe0d24a74aa41bd51ad8283.zip |
dev-python/flask-script: Bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-python/flask-script')
-rw-r--r-- | dev-python/flask-script/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-script/flask-script-2.0.6.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/flask-script/Manifest b/dev-python/flask-script/Manifest index eb6c84e14184..b972e8220b08 100644 --- a/dev-python/flask-script/Manifest +++ b/dev-python/flask-script/Manifest @@ -1 +1,2 @@ DIST Flask-Script-2.0.5.tar.gz 42580 SHA256 cef76eac751396355429a14c38967bb14d4973c53e07dec94af5cc8fb017107f SHA512 257b724c05dde79c99b028c7fa1980b700f273010de82fa9f1bb090b23519297d8bad87e436fa88a63feabfcd8908041d4a5ad9a673e08f4ed15e97310f16fbb WHIRLPOOL 2f05e8524a6f0ff0beca342f77f9c4b4f7f73cca65b2aa1fc21b4184ccc3a2e253f3d07a88c07c56c9ed1e5f3f9e12c4b6999bfdc85a35569def4107d0fbfb8e +DIST Flask-Script-2.0.6.tar.gz 43146 SHA256 6425963d91054cfcc185807141c7314a9c5ad46325911bd24dcb489bd0161c65 SHA512 03c51213be8e2b86f1f4450565cf4d7e3d9d7257ac017bd53830be57620d581f43bcfe959ef7b621af722c688c56495229aad3dd9654c8a8a5905db0105275fc WHIRLPOOL 3e55418c8fa8023b7ce8ba084ad951a75eea848b7db7c7788592806321021b0bb71b61da613193faf084be003b8abe28c3fe347b5ee5a903f01c2135e73d55ee diff --git a/dev-python/flask-script/flask-script-2.0.6.ebuild b/dev-python/flask-script/flask-script-2.0.6.ebuild new file mode 100644 index 000000000000..58fd2a945765 --- /dev/null +++ b/dev-python/flask-script/flask-script-2.0.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Script" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Flask support for writing external scripts" +HOMEPAGE="http://packages.python.org/Flask-Script/ https://pypi.python.org/pypi/Flask-Script" +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.10.1-r1[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + py.test tests.py || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |