summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sudsds')
-rw-r--r--dev-python/sudsds/ChangeLog5
-rw-r--r--dev-python/sudsds/sudsds-1.0.1.ebuild13
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/
}