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