Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/simpy: ChangeLog simpy-2.3.ebuild
Date: Tue, 28 Feb 2012 21:26:10
Message-Id: 20120228212600.7D25F2004B@flycatcher.gentoo.org
1 jlec 12/02/28 21:26:00
2
3 Modified: ChangeLog simpy-2.3.ebuild
4 Log:
5 Fix building of man pages, patch provided by Ian Delaney, #398165
6
7 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-python/simpy/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simpy/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simpy/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simpy/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 21 Feb 2012 03:48:01 -0000 1.4
23 +++ ChangeLog 28 Feb 2012 21:26:00 -0000 1.5
24 @@ -1,6 +1,9 @@
25 # ChangeLog for dev-python/simpy
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.4 2012/02/21 03:48:01 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.5 2012/02/28 21:26:00 jlec Exp $
29 +
30 + 28 Feb 2012; Justin Lecher <jlec@g.o> simpy-2.3.ebuild:
31 + Fix building of man pages, patch provided by Ian Delaney, #398165
32
33 21 Feb 2012; Patrick Lauer <patrick@g.o> simpy-2.3.ebuild:
34 Restricting py2.5
35
36
37
38 1.6 dev-python/simpy/simpy-2.3.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild?rev=1.6&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild?rev=1.6&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild?r1=1.5&r2=1.6
43
44 Index: simpy-2.3.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild,v
47 retrieving revision 1.5
48 retrieving revision 1.6
49 diff -u -r1.5 -r1.6
50 --- simpy-2.3.ebuild 21 Feb 2012 03:48:01 -0000 1.5
51 +++ simpy-2.3.ebuild 28 Feb 2012 21:26:00 -0000 1.6
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild,v 1.5 2012/02/21 03:48:01 patrick Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.ebuild,v 1.6 2012/02/28 21:26:00 jlec Exp $
57
58 EAPI=4
59
60 @@ -22,11 +22,12 @@
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
63 LICENSE="LGPL-2.1"
64 -IUSE="test"
65 +IUSE="test doc"
66
67 RDEPEND=""
68 -DEPEND="test? ( dev-python/pytest )"
69 -
70 +DEPEND="
71 + doc? ( <=dev-python/sphinx-1.0.7 )
72 + test? ( dev-python/pytest )"
73 S="${WORKDIR}/${MY_P}"
74
75 src_test() {
76 @@ -38,14 +39,14 @@
77
78 src_install() {
79 distutils_src_install
80 + dodoc AUTHORS.txt CHANGES.txt README.txt
81
82 ## fails with current sphinx
83 -# cd docs
84 -# emake man && doman build/man/*
85 -#
86 -# if use doc; then
87 -# emake dirhtml singlehtml && dohtml -r build/html/* build/singlehtml/*
88 -# emake text changes && dodoc -r build/{text,changes}/*
89 -# emake latexpdf && dodoc -r build/latex*/*
90 -# fi
91 +# PYTHONPATH=.. emake man
92 +# doman build/man/*
93 +
94 + if use doc; then
95 + cd docs
96 + PYTHONPATH=.. emake html && dohtml -r html/* build/doctrees/*
97 + fi
98 }