diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-05-04 08:08:36 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-05-04 08:08:36 +0000 |
commit | ec7c3e73d8b8584d8ff975240b45ed55befce1f3 (patch) | |
tree | f44e5dec95f6a99e1c9bebb712a9de64b80b9e67 /dev-python/pep8 | |
parent | Apply upstream fix to make it compatible with vala-0.24 (diff) | |
download | gentoo-2-ec7c3e73d8b8584d8ff975240b45ed55befce1f3.tar.gz gentoo-2-ec7c3e73d8b8584d8ff975240b45ed55befce1f3.tar.bz2 gentoo-2-ec7c3e73d8b8584d8ff975240b45ed55befce1f3.zip |
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)
Diffstat (limited to 'dev-python/pep8')
-rw-r--r-- | dev-python/pep8/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/pep8/pep8-1.5.6.ebuild | 18 |
2 files changed, 17 insertions, 6 deletions
diff --git a/dev-python/pep8/ChangeLog b/dev-python/pep8/ChangeLog index db392b9e379d..85d54c188d65 100644 --- a/dev-python/pep8/ChangeLog +++ b/dev-python/pep8/ChangeLog @@ -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 <idella4@gentoo.org> pep8-1.5.6.ebuild: + drop py2.7 add py3.4 pypy support, doc build *pep8-1.5.6 (03 May 2014) diff --git a/dev-python/pep8/pep8-1.5.6.ebuild b/dev-python/pep8/pep8-1.5.6.ebuild index 2d6fb2eaa48a..13f16b33d6dd 100644 --- a/dev-python/pep8/pep8-1.5.6.ebuild +++ b/dev-python/pep8/pep8-1.5.6.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/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 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" 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 +} |