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