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