summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-05-08 23:29:42 +0000
committerMike Gilbert <floppym@gentoo.org>2012-05-08 23:29:42 +0000
commit6a9cd0ae17cb18655fcb89a981b57cd5e12f1a74 (patch)
treeb33699b6d7ef283e5f1567677dec6974fddd48d5 /dev-python/docutils
parentDepend on dev-python/oauthlib for bug 415173 by candrews. Drop arm keyword du... (diff)
downloadgentoo-2-6a9cd0ae17cb18655fcb89a981b57cd5e12f1a74.tar.gz
gentoo-2-6a9cd0ae17cb18655fcb89a981b57cd5e12f1a74.tar.bz2
gentoo-2-6a9cd0ae17cb18655fcb89a981b57cd5e12f1a74.zip
Synchronize with ebuild from Progress Overlay. Patch by Arfrever. Drop amd64-fbsd keyword due to dependency on dev-python/pygments.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/docutils')
-rw-r--r--dev-python/docutils/ChangeLog6
-rw-r--r--dev-python/docutils/docutils-0.9.ebuild27
2 files changed, 17 insertions, 16 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog
index 2be12e07495d..a5655351e47b 100644
--- a/dev-python/docutils/ChangeLog
+++ b/dev-python/docutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/docutils
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.151 2012/05/08 21:48:07 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.152 2012/05/08 23:29:42 floppym Exp $
+
+ 08 May 2012; Mike Gilbert <floppym@gentoo.org> docutils-0.9.ebuild:
+ Synchronize with ebuild from Progress Overlay. Patch by Arfrever. Drop
+ amd64-fbsd keyword due to dependency on dev-python/pygments.
08 May 2012; Mike Gilbert <floppym@gentoo.org> docutils-0.9.ebuild:
Remove obsolete comment.
diff --git a/dev-python/docutils/docutils-0.9.ebuild b/dev-python/docutils/docutils-0.9.ebuild
index ce231497edb2..ee13a95d8ac9 100644
--- a/dev-python/docutils/docutils-0.9.ebuild
+++ b/dev-python/docutils/docutils-0.9.ebuild
@@ -1,21 +1,21 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.9.ebuild,v 1.2 2012/05/08 21:48:07 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.9.ebuild,v 1.3 2012/05/08 23:29:42 floppym Exp $
-EAPI="3"
+EAPI="4"
SUPPORT_PYTHON_ABIS="1"
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython"
-inherit distutils eutils
+inherit distutils
DESCRIPTION="Docutils - Python Documentation Utilities"
HOMEPAGE="http://docutils.sourceforge.net/ http://pypi.python.org/pypi/docutils"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SRC_URI+=" glep? ( mirror://gentoo/glep-0.4-r1.tbz2 )"
-LICENSE="BSD-2 GPL-3 PSF-2 public-domain"
+LICENSE="BSD-2 GPL-3 public-domain"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~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"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~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="glep"
RDEPEND="dev-python/pygments"
@@ -23,11 +23,11 @@ DEPEND="dev-python/setuptools
${RDEPEND}"
DOCS="*.txt"
-PYTHON_MODNAME="docutils roman.py"
GLEP_SRC="${WORKDIR}/glep-0.4-r1"
src_prepare() {
+ distutils_src_prepare
sed -e "s/from distutils.core/from setuptools/" -i setup.py || die "sed setup.py failed"
}
@@ -36,9 +36,6 @@ src_compile() {
# Generate html docs from reStructured text sources.
- # Make roman.py available for process of building of documentation.
- ln -s extras/roman.py
-
# Place html4css1.css in base directory to ensure that the generated reference to it is correct.
cp docutils/writers/html4css1/html4css1.css .
@@ -50,7 +47,7 @@ src_compile() {
popd > /dev/null
# Clean up after building of documentation.
- rm roman.py html4css1.css
+ rm html4css1.css
}
src_test() {
@@ -97,16 +94,16 @@ src_install() {
# Install Gentoo GLEP tools.
if use glep; then
- dobin "${GLEP_SRC}/glep.py" || die "dobin failed"
+ dobin "${GLEP_SRC}/glep.py"
installation_of_glep_tools() {
insinto $(python_get_sitedir)/docutils/readers
- newins "${GLEP_SRC}/glepread.py" glep.py || die "newins reader failed"
+ newins "${GLEP_SRC}/glepread.py" glep.py
insinto $(python_get_sitedir)/docutils/transforms
- newins "${GLEP_SRC}/glepstrans.py" gleps.py || die "newins transform failed"
+ newins "${GLEP_SRC}/glepstrans.py" gleps.py
insinto $(python_get_sitedir)/docutils/writers
- doins -r "${GLEP_SRC}/glep_html" || die "doins writer failed"
+ doins -r "${GLEP_SRC}/glep_html"
}
- python_execute_function --action-message 'Installation of GLEP tools with $(python_get_implementation_and_version)...' installation_of_glep_tools
+ python_execute_function --action-message 'Installation of GLEP tools with $(python_get_implementation_and_version)' installation_of_glep_tools
fi
}