diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-05-26 06:46:30 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-05-26 06:46:30 +0000 |
commit | ab97115ea9bd4bc793508ffb23d1e26d8bdae9aa (patch) | |
tree | 8a15ba5aff61b078b5b4fec7f032a17f8b8d601c /dev-python/flask-restful | |
parent | Bump (diff) | |
download | gentoo-2-ab97115ea9bd4bc793508ffb23d1e26d8bdae9aa.tar.gz gentoo-2-ab97115ea9bd4bc793508ffb23d1e26d8bdae9aa.tar.bz2 gentoo-2-ab97115ea9bd4bc793508ffb23d1e26d8bdae9aa.zip |
Bump
(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/flask-restful')
-rw-r--r-- | dev-python/flask-restful/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/flask-restful/flask-restful-0.3.3.ebuild | 51 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/flask-restful/ChangeLog b/dev-python/flask-restful/ChangeLog index 318113facc83..f8a2839aa178 100644 --- a/dev-python/flask-restful/ChangeLog +++ b/dev-python/flask-restful/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/flask-restful # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restful/ChangeLog,v 1.7 2015/03/08 23:47:56 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restful/ChangeLog,v 1.8 2015/05/26 06:46:30 patrick Exp $ + +*flask-restful-0.3.3 (26 May 2015) + + 26 May 2015; Patrick Lauer <patrick@gentoo.org> +flask-restful-0.3.3.ebuild: + Bump 08 Mar 2015; Pacho Ramos <pacho@gentoo.org> flask-restful-0.2.12.ebuild: x86 stable, bug 540290 diff --git a/dev-python/flask-restful/flask-restful-0.3.3.ebuild b/dev-python/flask-restful/flask-restful-0.3.3.ebuild new file mode 100644 index 000000000000..b18239f49486 --- /dev/null +++ b/dev-python/flask-restful/flask-restful-0.3.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restful/flask-restful-0.3.3.ebuild,v 1.1 2015/05/26 06:46:30 patrick Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Simple framework for creating REST APIs" +HOMEPAGE="http://flask-restful.readthedocs.org/ https://github.com/twilio/flask-restful/" +SRC_URI="https://github.com/twilio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples paging test" + +RDEPEND=" + >=dev-python/aniso8601-0.82[${PYTHON_USEDEP}] + >=dev-python/flask-0.8[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + paging? ( >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-python/sphinx[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + ) +" + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" +} + +python_compile_all() { + cd docs || die + emake man $(usex doc html "") +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md ) + + doman docs/_build/man/* + distutils-r1_python_install_all +} |