diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-01-24 14:06:13 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-01-24 14:06:13 +0000 |
commit | b2a3a5b7dd8c2d51ec6b4c7685a28c4c8f6b265a (patch) | |
tree | 5677c218e8d98b524006b14f3dca96613a639983 /dev-python/sudsds | |
parent | os-headers dep too (diff) | |
download | gentoo-2-b2a3a5b7dd8c2d51ec6b4c7685a28c4c8f6b265a.tar.gz gentoo-2-b2a3a5b7dd8c2d51ec6b4c7685a28c4c8f6b265a.tar.bz2 gentoo-2-b2a3a5b7dd8c2d51ec6b4c7685a28c4c8f6b265a.zip |
Fixed build of docs, dropped un-needed die, fixes Bug #452822 by flameeyes
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/sudsds')
-rw-r--r-- | dev-python/sudsds/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/sudsds/sudsds-1.0.1.ebuild | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/dev-python/sudsds/ChangeLog b/dev-python/sudsds/ChangeLog index 1aa5b803ad2a..0366989e75b7 100644 --- a/dev-python/sudsds/ChangeLog +++ b/dev-python/sudsds/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/sudsds # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sudsds/ChangeLog,v 1.4 2013/01/07 11:58:16 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sudsds/ChangeLog,v 1.5 2013/01/24 14:06:13 idella4 Exp $ + + 24 Jan 2013; Ian Delaney <idella4@gentoo.org> sudsds-1.0.1.ebuild: + Fixed build of docs, dropped un-needed die, fixes Bug #452822 by flameeyes 07 Jan 2013; Tomáš Chvátal <scarabeus@gentoo.org> -sudsds-1.0.ebuild, sudsds-1.0.1.ebuild: diff --git a/dev-python/sudsds/sudsds-1.0.1.ebuild b/dev-python/sudsds/sudsds-1.0.1.ebuild index 69fdc849c653..ef8716b30b1f 100644 --- a/dev-python/sudsds/sudsds-1.0.1.ebuild +++ b/dev-python/sudsds/sudsds-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sudsds/sudsds-1.0.1.ebuild,v 1.2 2013/01/07 11:58:16 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sudsds/sudsds-1.0.1.ebuild,v 1.3 2013/01/24 14:06:13 idella4 Exp $ EAPI="4" PYTHON_DEPEND="2" @@ -25,16 +25,19 @@ RDEPEND="" src_compile() { distutils_src_compile + buildDocs() { + PYTHONPATH=$(ls -d build-${PYTHON_ABI}/lib/) \ + epydoc -n "Sudsds - ${DESCRIPTION}" -o doc ${PN} || die "Generation of documentation failed" + } + if use doc; then einfo "Generation of documentation" - epydoc -n "Sudsds - ${DESCRIPTION}" -o doc ${PN} || die "Generation of documentation failed" + python_execute_function -f buildDocs fi } src_install() { distutils_src_install - if use doc; then - dohtml -r doc/* || die "Installation of documentation failed" - fi + use doc && dohtml -r doc/ } |