diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-05-02 05:21:43 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-05-02 05:21:43 +0000 |
commit | d9f153656e766a11f55ee04a24876826a8f82d7d (patch) | |
tree | 166090ea459f07b8eef036871b1b73ac4ef1b8a3 | |
parent | Unmasking of celery-3.0.19 (diff) | |
download | gentoo-2-d9f153656e766a11f55ee04a24876826a8f82d7d.tar.gz gentoo-2-d9f153656e766a11f55ee04a24876826a8f82d7d.tar.bz2 gentoo-2-d9f153656e766a11f55ee04a24876826a8f82d7d.zip |
Bump
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, unsigned Manifest commit)
-rw-r--r-- | dev-python/mwlib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/mwlib/mwlib-0.15.7.ebuild | 80 |
2 files changed, 86 insertions, 1 deletions
diff --git a/dev-python/mwlib/ChangeLog b/dev-python/mwlib/ChangeLog index 8465081da390..66ef8b6d350b 100644 --- a/dev-python/mwlib/ChangeLog +++ b/dev-python/mwlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/mwlib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.22 2013/04/02 07:01:33 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.23 2013/05/02 05:21:43 patrick Exp $ + +*mwlib-0.15.7 (02 May 2013) + + 02 May 2013; Patrick Lauer <patrick@gentoo.org> +mwlib-0.15.7.ebuild: + Bump *mwlib-0.15.6 (02 Apr 2013) diff --git a/dev-python/mwlib/mwlib-0.15.7.ebuild b/dev-python/mwlib/mwlib-0.15.7.ebuild new file mode 100644 index 000000000000..2c977f41d6bb --- /dev/null +++ b/dev-python/mwlib/mwlib-0.15.7.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.15.7.ebuild,v 1.1 2013/05/02 05:21:43 patrick Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython" +DISTUTILS_SRC_TEST=py.test + +inherit distutils eutils + +DESCRIPTION="Tools for parsing Mediawiki content to other formats" +HOMEPAGE="http://code.pediapress.com/wiki/wiki http://pypi.python.org/pypi/mwlib" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="dev-python/lxml + =dev-python/odfpy-0.9* + dev-python/pyPdf + virtual/pyparsing + dev-python/timelib + virtual/latex-base + >=dev-python/simplejson-2.5 + dev-python/gevent + dev-python/bottle + dev-python/apipkg + dev-python/qserve + dev-python/roman + dev-python/py + dev-python/sqlite3dbm" +DEPEND="${RDEPEND} + dev-python/setuptools + app-arch/unzip + doc? ( dev-python/sphinx )" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +DOCS="changelog.rst" + +src_prepare() { + # mwlib.apipkg is actually used. + sed -e 's/, "apipkg"//' -i setup.py || die + + # Execute odflint script. + sed \ + -e "/def _get_odflint_module():/,/odflint = _get_odflint_module()/d" \ + -e "s/odflint.lint(path)/os.system('odflint %s' % path)/" \ + -i tests/test_odfwriter.py || die + + distutils_src_prepare + + # Disable test which requires installed mw-zip script. + rm -f tests/test_{nuwiki,redirect,zipwiki}.py + # Disable render test that fails for no apparent reason + rm -f tests/test_render.py +} + +src_compile() { + distutils_src_compile + if use doc; then + emake -C docs html + fi +} + +src_test() { + distutils_src_test tests +} + +src_install() { + distutils_src_install + if use doc; then + dohtml -r docs/_build/html/ + fi +} |