idella4 14/05/07 07:02:17 Modified: flask-wtf-0.9.5.ebuild ChangeLog Log: 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)
Revision Changes Path 1.2 dev-python/flask-wtf/flask-wtf-0.9.5.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild?r1=1.1&r2=1.2 Index: flask-wtf-0.9.5.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.5.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- flask-wtf-0.9.5.ebuild 3 May 2014 08:38:27 -0000 1.1 +++ flask-wtf-0.9.5.ebuild 7 May 2014 07:02:17 -0000 1.2 @@ -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 @@ 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 @@ 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 } 1.11 dev-python/flask-wtf/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-wtf/ChangeLog?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-wtf/ChangeLog?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-wtf/ChangeLog?r1=1.10&r2=1.11 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ChangeLog 3 May 2014 08:38:27 -0000 1.10 +++ ChangeLog 7 May 2014 07:02:17 -0000 1.11 @@ -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 <[email protected]> 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)
