diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-05-07 07:02:17 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-05-07 07:02:17 +0000 |
commit | da767e70a26e195682b12a2de2ec38ff2f5dd8e7 (patch) | |
tree | 87e4590933d60ce770be7b5deb210437bb1b2c45 /dev-python/flask-wtf | |
parent | Version bump. Removed old (diff) | |
download | gentoo-2-da767e70a26e195682b12a2de2ec38ff2f5dd8e7.tar.gz gentoo-2-da767e70a26e195682b12a2de2ec38ff2f5dd8e7.tar.bz2 gentoo-2-da767e70a26e195682b12a2de2ec38ff2f5dd8e7.zip |
drop py2.7 add pypy support, add IUSE doc & all to build & install docs
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/flask-wtf')
-rw-r--r-- | dev-python/flask-wtf/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/flask-wtf/flask-wtf-0.9.5.ebuild | 24 |
2 files changed, 22 insertions, 7 deletions
diff --git a/dev-python/flask-wtf/ChangeLog b/dev-python/flask-wtf/ChangeLog index c963829aac8b..095320558f1f 100644 --- a/dev-python/flask-wtf/ChangeLog +++ b/dev-python/flask-wtf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/flask-wtf # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/ChangeLog,v 1.10 2014/05/03 08:38:27 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/ChangeLog,v 1.11 2014/05/07 07:02:17 idella4 Exp $ + + 07 May 2014; Ian Delaney <idella4@gentoo.org> flask-wtf-0.9.5.ebuild: + drop py2.7 add pypy support, add IUSE doc & all to build & install docs *flask-wtf-0.9.5 (03 May 2014) diff --git a/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild b/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild index 545310b0a0af..b304175f7cee 100644 --- a/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild +++ b/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild,v 1.1 2014/05/03 08:38:27 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild,v 1.2 2014/05/07 07:02:17 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python2_7 pypy ) inherit distutils-r1 @@ -17,10 +17,11 @@ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" +IUSE="doc test" RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - >=dev-python/wtforms-1.0[${PYTHON_USEDEP}]" + >=dev-python/wtforms-1.0.5[${PYTHON_USEDEP}] + <dev-python/wtforms-2.0[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( @@ -28,11 +29,22 @@ DEPEND="${RDEPEND} dev-python/flask-testing[${PYTHON_USEDEP}] dev-python/flask-uploads[${PYTHON_USEDEP}] dev-python/speaklater[${PYTHON_USEDEP}] - dev-python/flask-babel[${PYTHON_USEDEP}] + dev-python/flask-babel[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/werkzeug[${PYTHON_USEDEP}]' python2_7 ) )" S="${WORKDIR}/${MY_P}" +python_compile_all() { + use doc && emake -C docs html +} + python_test() { - nosetests || die "Testing failed with ${EPYTHON}" + nosetests || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all } |