djc 14/05/29 12:54:20 Modified: wtforms-2.0.ebuild ChangeLog Log: Add python3 compat for wtforms-2.0 (bug 485018) (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 30380381)
Revision Changes Path 1.2 dev-python/wtforms/wtforms-2.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wtforms/wtforms-2.0.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wtforms/wtforms-2.0.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wtforms/wtforms-2.0.ebuild?r1=1.1&r2=1.2 Index: wtforms-2.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-2.0.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- wtforms-2.0.ebuild 26 May 2014 08:15:08 -0000 1.1 +++ wtforms-2.0.ebuild 29 May 2014 12:54:20 -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/wtforms/wtforms-2.0.ebuild,v 1.1 2014/05/26 08:15:08 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-2.0.ebuild,v 1.2 2014/05/29 12:54:20 djc Exp $ EAPI="5" -PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 ) +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) inherit distutils-r1 @@ -22,6 +22,7 @@ S="${WORKDIR}/${MY_P}" DEPEND="app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] )" RDEPEND="" @@ -31,12 +32,16 @@ if use doc; then einfo "Generation of documentation" cd docs - PYTHONPATH=".." emake html || die "Building of documentation failed" + PYTHONPATH=".." emake html fi } +python_test() { + esetup.py test || die "Tests failed for ${EPYTHON}" +} + python_install_all() { if use doc; then - dohtml -r docs/_build/html/* || die "Installation of documentation failed" + dohtml -r docs/_build/html/* fi } 1.38 dev-python/wtforms/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wtforms/ChangeLog?rev=1.38&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wtforms/ChangeLog?rev=1.38&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wtforms/ChangeLog?r1=1.37&r2=1.38 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/wtforms/ChangeLog,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- ChangeLog 29 May 2014 12:51:03 -0000 1.37 +++ ChangeLog 29 May 2014 12:54:20 -0000 1.38 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/wtforms # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/ChangeLog,v 1.37 2014/05/29 12:51:03 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/ChangeLog,v 1.38 2014/05/29 12:54:20 djc Exp $ + + 29 May 2014; Dirkjan Ochtman <[email protected]> wtforms-2.0.ebuild: + Add python3 compat for wtforms-2.0 (bug 485018) 29 May 2014; Dirkjan Ochtman <[email protected]> -wtforms-0.6.3.ebuild, -wtforms-1.0.1.ebuild, -wtforms-1.0.2.ebuild, -wtforms-1.0.3-r1.ebuild,
