Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/mwlib: mwlib-0.14.1.ebuild ChangeLog
Date: Tue, 30 Oct 2012 07:44:28
Message-Id: 20121030074415.206E121600@flycatcher.gentoo.org
1 patrick 12/10/30 07:44:15
2
3 Modified: ChangeLog
4 Added: mwlib-0.14.1.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.18 dev-python/mwlib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 29 Aug 2012 07:42:13 -0000 1.17
24 +++ ChangeLog 30 Oct 2012 07:44:14 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/mwlib
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.17 2012/08/29 07:42:13 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.18 2012/10/30 07:44:14 patrick Exp $
30 +
31 +*mwlib-0.14.1 (30 Oct 2012)
32 +
33 + 30 Oct 2012; Patrick Lauer <patrick@g.o> +mwlib-0.14.1.ebuild:
34 + Bump
35
36 *mwlib-0.14.0 (29 Aug 2012)
37
38
39
40
41 1.1 dev-python/mwlib/mwlib-0.14.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib/mwlib-0.14.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mwlib/mwlib-0.14.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mwlib-0.14.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.14.1.ebuild,v 1.1 2012/10/30 07:44:14 patrick Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="2:2.6"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
57 DISTUTILS_SRC_TEST=py.test
58
59 inherit distutils eutils
60
61 DESCRIPTION="Tools for parsing Mediawiki content to other formats"
62 HOMEPAGE="http://code.pediapress.com/wiki/wiki http://pypi.python.org/pypi/mwlib"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="doc"
69
70 RDEPEND="dev-python/lxml
71 =dev-python/odfpy-0.9*
72 dev-python/pyPdf
73 dev-python/pyparsing
74 dev-python/timelib
75 virtual/latex-base
76 >=dev-python/simplejson-2.5
77 dev-python/gevent
78 dev-python/bottle
79 dev-python/apipkg
80 dev-python/qserve
81 dev-python/roman
82 dev-python/py
83 dev-python/sqlite3dbm"
84 DEPEND="${RDEPEND}
85 dev-python/setuptools
86 app-arch/unzip
87 doc? ( dev-python/sphinx )"
88
89 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
90
91 DOCS="changelog.rst"
92
93 src_prepare() {
94 # mwlib.apipkg is actually used.
95 sed -e 's/, "apipkg"//' -i setup.py || die
96
97 # Execute odflint script.
98 sed \
99 -e "/def _get_odflint_module():/,/odflint = _get_odflint_module()/d" \
100 -e "s/odflint.lint(path)/os.system('odflint %s' % path)/" \
101 -i tests/test_odfwriter.py || die
102
103 distutils_src_prepare
104
105 # Disable test which requires installed mw-zip script.
106 rm -f tests/test_{nuwiki,redirect,zipwiki}.py
107 # Disable render test that fails for no apparent reason
108 rm -f tests/test_render.py
109 }
110
111 src_compile() {
112 distutils_src_compile
113 if use doc; then
114 emake -C docs html
115 fi
116 }
117
118 src_test() {
119 distutils_src_test tests
120 }
121
122 src_install() {
123 distutils_src_install
124 if use doc; then
125 dohtml -r docs/_build/html/
126 fi
127 }