From: | "Dirkjan Ochtman (djc)" <djc@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/sphinx: sphinx-0.6.5.ebuild ChangeLog |
Date: | Tue, 02 Mar 2010 08:39:24 |
Message-Id: | E1NmNdO-0002WV-R0@stork.gentoo.org |
1 | djc 10/03/02 08:39:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sphinx-0.6.5.ebuild |
5 | Log: |
6 | Version bump dev-python/sphinx to 0.6.5. |
7 | (Portage version: 2.1.7.16/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.43 dev-python/sphinx/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/ChangeLog?rev=1.43&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/ChangeLog?rev=1.43&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/ChangeLog?r1=1.42&r2=1.43 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v |
19 | retrieving revision 1.42 |
20 | retrieving revision 1.43 |
21 | diff -u -r1.42 -r1.43 |
22 | --- ChangeLog 2 Mar 2010 02:44:11 -0000 1.42 |
23 | +++ ChangeLog 2 Mar 2010 08:39:17 -0000 1.43 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/sphinx |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.42 2010/03/02 02:44:11 jer Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.43 2010/03/02 08:39:17 djc Exp $ |
29 | + |
30 | +*sphinx-0.6.5 (02 Mar 2010) |
31 | + |
32 | + 02 Mar 2010; Dirkjan Ochtman <djc@g.o> +sphinx-0.6.5.ebuild: |
33 | + Version bump to 0.6.5. |
34 | |
35 | 02 Mar 2010; Jeroen Roovers <jer@g.o> sphinx-0.6.4.ebuild: |
36 | Stable for HPPA (bug #305185). |
37 | |
38 | |
39 | |
40 | 1.1 dev-python/sphinx/sphinx-0.6.5.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.6.5.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sphinx/sphinx-0.6.5.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: sphinx-0.6.5.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2010 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.5.ebuild,v 1.1 2010/03/02 08:39:17 djc Exp $ |
50 | |
51 | EAPI="2" |
52 | SUPPORT_PYTHON_ABIS="1" |
53 | |
54 | inherit distutils |
55 | |
56 | MY_PN="Sphinx" |
57 | MY_P="${MY_PN}-${PV}" |
58 | |
59 | DESCRIPTION="Tool to create documentation for Python projects" |
60 | HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx" |
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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" |
65 | IUSE="doc test latex" |
66 | |
67 | RDEPEND=">=dev-python/pygments-0.8 |
68 | >=dev-python/jinja2-2.1 |
69 | >=dev-python/docutils-0.4 |
70 | latex? ( dev-texlive/texlive-latexextra )" |
71 | DEPEND="${RDEPEND} |
72 | dev-python/setuptools |
73 | test? ( dev-python/nose )" |
74 | RESTRICT_PYTHON_ABIS="3.*" |
75 | |
76 | S="${WORKDIR}/${MY_P}" |
77 | |
78 | DOCS="CHANGES" |
79 | |
80 | src_compile() { |
81 | distutils_src_compile |
82 | |
83 | if use doc; then |
84 | cd doc |
85 | PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed" |
86 | fi |
87 | } |
88 | |
89 | src_test() { |
90 | testing() { |
91 | PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} |
92 | } |
93 | python_execute_function testing |
94 | } |
95 | |
96 | src_install() { |
97 | distutils_src_install |
98 | |
99 | if use doc; then |
100 | dohtml -A txt -r doc/_build/html/* || die "dohtml failed" |
101 | fi |
102 | } |
103 | |
104 | pkg_postinst() { |
105 | distutils_pkg_postinst |
106 | |
107 | # Generating the Grammar pickle to avoid on the fly generation causing sandbox violations (bug #266015) |
108 | generation_of_grammar_pickle() { |
109 | "$(PYTHON)" -c "from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${ROOT%/}${EPREFIX}$(python_get_sitedir)/sphinx/pycode/Grammar.txt')" \ |
110 | || die "Generation of grammar pickle failed" |
111 | } |
112 | python_execute_function --action-message 'Generation of Grammar pickle with Python ${PYTHON_ABI}...' generation_of_grammar_pickle |
113 | } |
114 | |
115 | pkg_postrm() { |
116 | distutils_pkg_postrm |
117 | |
118 | deletion_of_grammar_pickle() { |
119 | rm "${ROOT%/}${EPREFIX}$(python_get_sitedir)/sphinx/pycode"/Grammar*.pickle |
120 | } |
121 | python_execute_function --action-message 'Deletion of Grammar pickle with Python ${PYTHON_ABI}...' deletion_of_grammar_pickle |
122 | } |