summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-02-28 21:26:00 +0000
committerJustin Lecher <jlec@gentoo.org>2012-02-28 21:26:00 +0000
commit3a83968c594292264aed36bee01b05514ee4748c (patch)
treee61650d98fe369a790afa92d08cef9d4a111f4dd /dev-python/simpy
parentpaxmared on the pax_kernel use flag so it works on the hardened profile (diff)
downloadgentoo-2-3a83968c594292264aed36bee01b05514ee4748c.tar.gz
gentoo-2-3a83968c594292264aed36bee01b05514ee4748c.tar.bz2
gentoo-2-3a83968c594292264aed36bee01b05514ee4748c.zip
Fix building of man pages, patch provided by Ian Delaney, #398165
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/simpy')
-rw-r--r--dev-python/simpy/ChangeLog5
-rw-r--r--dev-python/simpy/simpy-2.3.ebuild25
2 files changed, 17 insertions, 13 deletions
diff --git a/dev-python/simpy/ChangeLog b/dev-python/simpy/ChangeLog
index 4574f926def2..6b235769d02f 100644
--- a/dev-python/simpy/ChangeLog
+++ b/dev-python/simpy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/simpy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.4 2012/02/21 03:48:01 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.5 2012/02/28 21:26:00 jlec Exp $
+
+ 28 Feb 2012; Justin Lecher <jlec@gentoo.org> simpy-2.3.ebuild:
+ Fix building of man pages, patch provided by Ian Delaney, #398165
21 Feb 2012; Patrick Lauer <patrick@gentoo.org> simpy-2.3.ebuild:
Restricting py2.5
diff --git a/dev-python/simpy/simpy-2.3.ebuild b/dev-python/simpy/simpy-2.3.ebuild
index 1eb8e76732b0..0db8f0d3770d 100644
--- a/dev-python/simpy/simpy-2.3.ebuild
+++ b/dev-python/simpy/simpy-2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild,v 1.5 2012/02/21 03:48:01 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild,v 1.6 2012/02/28 21:26:00 jlec Exp $
EAPI=4
@@ -22,11 +22,12 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="LGPL-2.1"
-IUSE="test"
+IUSE="test doc"
RDEPEND=""
-DEPEND="test? ( dev-python/pytest )"
-
+DEPEND="
+ doc? ( <=dev-python/sphinx-1.0.7 )
+ test? ( dev-python/pytest )"
S="${WORKDIR}/${MY_P}"
src_test() {
@@ -38,14 +39,14 @@ src_test() {
src_install() {
distutils_src_install
+ dodoc AUTHORS.txt CHANGES.txt README.txt
## fails with current sphinx
-# cd docs
-# emake man && doman build/man/*
-#
-# if use doc; then
-# emake dirhtml singlehtml && dohtml -r build/html/* build/singlehtml/*
-# emake text changes && dodoc -r build/{text,changes}/*
-# emake latexpdf && dodoc -r build/latex*/*
-# fi
+# PYTHONPATH=.. emake man
+# doman build/man/*
+
+ if use doc; then
+ cd docs
+ PYTHONPATH=.. emake html && dohtml -r html/* build/doctrees/*
+ fi
}