diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-04 16:41:05 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-04 16:41:05 +0000 |
commit | e1dcf991dca88ddcb17738d6dfd37ff38fb5b499 (patch) | |
tree | 17645729ea26878fa11808b74bb7730beb4afc9d /dev-python | |
parent | Don't check for /proc/acpi anymore wrt #295854. (diff) | |
download | gentoo-2-e1dcf991dca88ddcb17738d6dfd37ff38fb5b499.tar.gz gentoo-2-e1dcf991dca88ddcb17738d6dfd37ff38fb5b499.tar.bz2 gentoo-2-e1dcf991dca88ddcb17738d6dfd37ff38fb5b499.zip |
Fix building of documentation (bug #300788).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/buildutils/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/buildutils/buildutils-0.3.ebuild | 14 |
2 files changed, 16 insertions, 6 deletions
diff --git a/dev-python/buildutils/ChangeLog b/dev-python/buildutils/ChangeLog index d70561c6d262..99b4555ff91c 100644 --- a/dev-python/buildutils/ChangeLog +++ b/dev-python/buildutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/buildutils -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/ChangeLog,v 1.7 2009/10/10 11:58:20 grobian Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/ChangeLog,v 1.8 2010/04/04 16:41:05 arfrever Exp $ + + 04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + buildutils-0.3.ebuild: + Fix building of documentation (bug #300788). 10 Oct 2009; Fabian Groffen <grobian@gentoo.org> buildutils-0.3.ebuild: Merge from Prefix diff --git a/dev-python/buildutils/buildutils-0.3.ebuild b/dev-python/buildutils/buildutils-0.3.ebuild index 817344e6e5ed..88830f315df6 100644 --- a/dev-python/buildutils/buildutils-0.3.ebuild +++ b/dev-python/buildutils/buildutils-0.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/buildutils-0.3.ebuild,v 1.4 2010/02/06 14:39:48 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/buildutils-0.3.ebuild,v 1.5 2010/04/04 16:41:05 arfrever Exp $ -EAPI="2" +EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" @@ -25,12 +25,15 @@ RESTRICT_PYTHON_ABIS="3.*" src_prepare() { distutils_src_prepare - # pudge command is disabled by default, enable it. + # Enable pudge command. epatch "${FILESDIR}/${P}-pudge_addcommand.patch" + + sed -e "s/buildutils.command.publish/buildutils.publish_command.publish/" -i buildutils/test/test_publish.py || die "sed failed" } src_compile() { distutils_src_compile + if use doc; then einfo "Generation of documentation" "$(PYTHON -f)" setup.py pudge || die "Generation of documentation failed" @@ -39,5 +42,8 @@ src_compile() { src_install() { distutils_src_install - use doc && dohtml -r doc/html/* + + if use doc; then + dohtml -r doc/html/* || die "dohtml failed" + fi } |