idella4 14/03/30 07:54:24 Modified: python-levenshtein-0.11.2.ebuild ChangeLog Log: Add py3 support (except for doc build), fixes Bug #493998 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild?r1=1.1&r2=1.2 Index: python-levenshtein-0.11.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- python-levenshtein-0.11.2.ebuild 8 Feb 2014 06:43:11 -0000 1.1 +++ python-levenshtein-0.11.2.ebuild 30 Mar 2014 07:54:24 -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/python-levenshtein/python-levenshtein-0.11.2.ebuild,v 1.1 2014/02/08 06:43:11 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild,v 1.2 2014/03/30 07:54:24 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 ) +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) inherit distutils-r1 @@ -27,8 +27,13 @@ python_compile_all() { if use doc; then - einfo "Generation of documentation" - "${PYTHON}" "${FILESDIR}/genextdoc.py" Levenshtein || die "Generation of documentation failed" + # Cannot assume user has a system py2 or pypy + if python_is_python3; then + die "The build of Levenshtein.html is not supported by python3" + else + einfo "Generation of documentation" + "${PYTHON}" "${FILESDIR}/genextdoc.py" Levenshtein || die "Generation of documentation failed" + fi fi } 1.21 dev-python/python-levenshtein/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-levenshtein/ChangeLog?rev=1.21&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-levenshtein/ChangeLog?rev=1.21&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-levenshtein/ChangeLog?r1=1.20&r2=1.21 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/ChangeLog,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- ChangeLog 8 Feb 2014 06:43:11 -0000 1.20 +++ ChangeLog 30 Mar 2014 07:54:24 -0000 1.21 @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-levenshtein # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/ChangeLog,v 1.20 2014/02/08 06:43:11 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-levenshtein/ChangeLog,v 1.21 2014/03/30 07:54:24 idella4 Exp $ + + 30 Mar 2014; Ian Delaney <[email protected]> + python-levenshtein-0.11.2.ebuild: + Add py3 support (except for doc build), fixes Bug #493998 *python-levenshtein-0.11.2 (08 Feb 2014)
