diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-10-14 01:03:10 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-10-14 08:06:35 +0200 |
commit | 5b6edb4a3b74a81ee8d238aaabe59b8d8ff8246f (patch) | |
tree | f2de3644b75e298ceeaed790daab2aa73e57d62f /dev-python/docutils | |
parent | dev-python/setuptools: Partially restore ~arch keywords (diff) | |
download | gentoo-5b6edb4a3b74a81ee8d238aaabe59b8d8ff8246f.tar.gz gentoo-5b6edb4a3b74a81ee8d238aaabe59b8d8ff8246f.tar.bz2 gentoo-5b6edb4a3b74a81ee8d238aaabe59b8d8ff8246f.zip |
dev-python/*: Restore keywords and un-revbump for py3.5
Restore keywords that were removed unnecessarily, and collapse
unnecessary revbumps on packages with added python3.5 support.
Diffstat (limited to 'dev-python/docutils')
-rw-r--r-- | dev-python/docutils/docutils-0.12-r1.ebuild | 70 | ||||
-rw-r--r-- | dev-python/docutils/docutils-0.12.ebuild | 5 |
2 files changed, 3 insertions, 72 deletions
diff --git a/dev-python/docutils/docutils-0.12-r1.ebuild b/dev-python/docutils/docutils-0.12-r1.ebuild deleted file mode 100644 index 470ac18e3148..000000000000 --- a/dev-python/docutils/docutils-0.12-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python Documentation Utilities" -HOMEPAGE="http://docutils.sourceforge.net/ https://pypi.python.org/pypi/docutils" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD-2 GPL-3 public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -DEPEND="dev-python/pygments[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - -DISTUTILS_NO_PARALLEL_BUILD=1 - -python_compile_all() { - # Generate html docs from reStructured text sources. - - # Place html4css1.css in base directory to ensure that the generated reference to it is correct. - cp docutils/writers/html4css1/html4css1.css . || die - - cd tools || die - "${PYTHON}" buildhtml.py --input-encoding=utf-8 \ - --stylesheet-path=../html4css1.css, --traceback ../docs || die -} - -python_test() { - if python_is_python3; then - pushd test3 > /dev/null || die - else - pushd test > /dev/null || die - fi - "${PYTHON}" alltests.py || die "Testing failed with ${EPYTHON}" - popd > /dev/null || die -} - -python_install() { - distutils-r1_python_install - - # Install tools. - python_doscript tools/{buildhtml,quicktest}.py -} - -install_txt_doc() { - local doc="${1}" - local dir="txt/$(dirname ${doc})" - docinto "${dir}" - dodoc "${doc}" -} - -python_install_all() { - local DOCS=( *.txt ) - local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) - - distutils-r1_python_install_all - - local doc - while IFS= read -r -d '' doc; do - install_txt_doc "${doc}" - done < <(find docs tools -name '*.txt' -print0) -} diff --git a/dev-python/docutils/docutils-0.12.ebuild b/dev-python/docutils/docutils-0.12.ebuild index 8b8eaebcc115..e579edfa94cc 100644 --- a/dev-python/docutils/docutils-0.12.ebuild +++ b/dev-python/docutils/docutils-0.12.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 |