1 |
djc 13/07/27 16:44:17 |
2 |
|
3 |
Modified: Babel-1.2.ebuild ChangeLog |
4 |
Log: |
5 |
Fix documentation, bug 478362 (thanks bkohler@×××××.com). |
6 |
|
7 |
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key 6B065BFB) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-python/Babel/Babel-1.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/Babel/Babel-1.2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/Babel/Babel-1.2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/Babel/Babel-1.2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: Babel-1.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/Babel/Babel-1.2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- Babel-1.2.ebuild 27 Jul 2013 11:12:28 -0000 1.1 |
23 |
+++ Babel-1.2.ebuild 27 Jul 2013 16:44:17 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/Babel/Babel-1.2.ebuild,v 1.1 2013/07/27 11:12:28 djc Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Babel/Babel-1.2.ebuild,v 1.2 2013/07/27 16:44:17 djc Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
@@ -14,20 +14,20 @@ |
33 |
LICENSE="BSD" |
34 |
SLOT="0" |
35 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
36 |
-IUSE="test" |
37 |
+IUSE="doc test" |
38 |
|
39 |
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] |
40 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
41 |
DEPEND="${DEPEND} |
42 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
43 |
test? ( >=dev-python/pytest-2.3.5 )" |
44 |
|
45 |
-HTML_DOCS=( doc/. ) |
46 |
- |
47 |
python_prepare_all() { |
48 |
# Make the tests use implementation-specific datadir, |
49 |
# because they try to write in it. |
50 |
sed -e '/datadir =/s:os\.path\.dirname(__file__):os.environ["BUILD_DIR"]:' \ |
51 |
-i tests/messages/test_frontend.py || die |
52 |
+ sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die |
53 |
distutils-r1_python_prepare_all |
54 |
} |
55 |
|
56 |
@@ -37,3 +37,12 @@ |
57 |
export BUILD_DIR |
58 |
py.test |
59 |
} |
60 |
+ |
61 |
+python_compile_all() { |
62 |
+ use doc && emake -C docs html |
63 |
+} |
64 |
+ |
65 |
+python_install_all() { |
66 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
67 |
+ distutils-r1_python_install_all |
68 |
+} |
69 |
|
70 |
|
71 |
|
72 |
1.49 dev-python/Babel/ChangeLog |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/Babel/ChangeLog?rev=1.49&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/Babel/ChangeLog?rev=1.49&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/Babel/ChangeLog?r1=1.48&r2=1.49 |
77 |
|
78 |
Index: ChangeLog |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/Babel/ChangeLog,v |
81 |
retrieving revision 1.48 |
82 |
retrieving revision 1.49 |
83 |
diff -u -r1.48 -r1.49 |
84 |
--- ChangeLog 27 Jul 2013 11:12:28 -0000 1.48 |
85 |
+++ ChangeLog 27 Jul 2013 16:44:17 -0000 1.49 |
86 |
@@ -1,6 +1,9 @@ |
87 |
# ChangeLog for dev-python/Babel |
88 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/Babel/ChangeLog,v 1.48 2013/07/27 11:12:28 djc Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Babel/ChangeLog,v 1.49 2013/07/27 16:44:17 djc Exp $ |
91 |
+ |
92 |
+ 27 Jul 2013; Dirkjan Ochtman <djc@g.o> Babel-1.2.ebuild: |
93 |
+ Fix documentation, bug 478362 (thanks bkohler@×××××.com). |
94 |
|
95 |
*Babel-1.2 (27 Jul 2013) |