From: | "Jesus Rivero (neurogeek)" <neurogeek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/sphinx: ChangeLog sphinx-0.4.2.ebuild sphinx-0.3.ebuild |
Date: | Fri, 01 Aug 2008 06:51:33 |
Message-Id: | E1KOoU6-0007iS-0P@stork.gentoo.org |
1 | neurogeek 08/08/01 06:51:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sphinx-0.4.2.ebuild |
5 | Removed: sphinx-0.3.ebuild |
6 | Log: |
7 | Version bump. Added tests and DEPEND on nose. Fixes bugs #230599 and #231365. Removed older version |
8 | (Portage version: 2.2_rc3/cvs/Linux 2.6.18-gentoo-r3 i686) |
9 | |
10 | Revision Changes Path |
11 | 1.5 dev-python/sphinx/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/ChangeLog?rev=1.5&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/ChangeLog?rev=1.5&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/ChangeLog?r1=1.4&r2=1.5 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v |
20 | retrieving revision 1.4 |
21 | retrieving revision 1.5 |
22 | diff -u -r1.4 -r1.5 |
23 | --- ChangeLog 29 Jun 2008 09:42:36 -0000 1.4 |
24 | +++ ChangeLog 1 Aug 2008 06:51:29 -0000 1.5 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for dev-python/sphinx |
27 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.4 2008/06/29 09:42:36 armin76 Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.5 2008/08/01 06:51:29 neurogeek Exp $ |
30 | + |
31 | +*sphinx-0.4.2 (01 Aug 2008) |
32 | + |
33 | + 01 Aug 2008; Jesus Rivero <neurogeek@g.o> -sphinx-0.3.ebuild, |
34 | + +sphinx-0.4.2.ebuild: |
35 | + Version bump. Added tests and DEPEND on nose. Fixes bugs #230599 and |
36 | + #231365. Removed older version |
37 | |
38 | 29 Jun 2008; Raúl Porcel <armin76@g.o> sphinx-0.3.ebuild: |
39 | Add ~ia64/~sparc wrt #229393 |
40 | |
41 | |
42 | |
43 | 1.1 dev-python/sphinx/sphinx-0.4.2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.4.2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.4.2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: sphinx-0.4.2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2008 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.4.2.ebuild,v 1.1 2008/08/01 06:51:29 neurogeek Exp $ |
53 | |
54 | inherit distutils |
55 | |
56 | MY_PN="Sphinx" |
57 | MY_P="${MY_PN}-${PV}" |
58 | |
59 | DESCRIPTION="A tool that makes it easy to create intelligent and beautiful documentation for Python projects." |
60 | HOMEPAGE="http://sphinx.pocoo.org/" |
61 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
62 | LICENSE="BSD" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
65 | IUSE="doc test" |
66 | |
67 | DEPEND="!sparc? ( !ppc? ( !ia64? ( test? ( dev-python/nose ) ) ) ) |
68 | >=dev-python/pygments-0.8 |
69 | >=dev-python/jinja-1.1 |
70 | >=dev-python/docutils-0.4 |
71 | dev-python/setuptools" |
72 | |
73 | RDEPEND="${DEPEND}" |
74 | |
75 | S="${WORKDIR}/${MY_P}" |
76 | |
77 | src_compile() { |
78 | DOCS="CHANGES" |
79 | distutils_src_compile |
80 | |
81 | if use doc ; then |
82 | cd doc |
83 | PYTHONPATH="../" emake SPHINXBUILD="${python} ../sphinx-build.py" html || die "making docs failed" |
84 | fi |
85 | } |
86 | |
87 | src_install() { |
88 | distutils_src_install |
89 | if use doc ; then |
90 | dohtml -A txt -r doc/_build/html/* |
91 | fi |
92 | } |
93 | |
94 | src_test() { |
95 | mkdir tests/root/_build |
96 | PYTHONPATH=. ${python} tests/run.py || die "Tests failed" |
97 | } |