idella4 14/05/04 08:08:36 Modified: pep8-1.5.6.ebuild ChangeLog Log: drop py2.7 add py3.4 pypy support, doc build (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 dev-python/pep8/pep8-1.5.6.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pep8/pep8-1.5.6.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pep8/pep8-1.5.6.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pep8/pep8-1.5.6.ebuild?r1=1.1&r2=1.2 Index: pep8-1.5.6.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.5.6.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pep8-1.5.6.ebuild 3 May 2014 08:36:17 -0000 1.1 +++ pep8-1.5.6.ebuild 4 May 2014 08:08:36 -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/pep8/pep8-1.5.6.ebuild,v 1.1 2014/05/03 08:36:17 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/pep8-1.5.6.ebuild,v 1.2 2014/05/04 08:08:36 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) inherit distutils-r1 @@ -14,14 +14,22 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" +IUSE="doc" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" RDEPEND="${DEPEND}" -DOCS=( CHANGES.txt ) +python_compile_all() { + use doc && emake -C docs html +} python_test() { PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --testsuite=testsuite || die PYTHONPATH="${S}" "${PYTHON}" pep8.py --doctest -v || die } + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} 1.27 dev-python/pep8/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pep8/ChangeLog?rev=1.27&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pep8/ChangeLog?rev=1.27&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pep8/ChangeLog?r1=1.26&r2=1.27 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- ChangeLog 3 May 2014 08:36:17 -0000 1.26 +++ ChangeLog 4 May 2014 08:08:36 -0000 1.27 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/pep8 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v 1.26 2014/05/03 08:36:17 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pep8/ChangeLog,v 1.27 2014/05/04 08:08:36 idella4 Exp $ + + 04 May 2014; Ian Delaney <[email protected]> pep8-1.5.6.ebuild: + drop py2.7 add py3.4 pypy support, doc build *pep8-1.5.6 (03 May 2014)
