Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312179 Details for
Bug 416479
dev-python/mwlib-0.13.7 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
mwlib.patch (text/plain), 2.65 KB, created by
Ian Delaney (RETIRED)
on 2012-05-18 09:21:29 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-05-18 09:21:29 UTC
Size:
2.65 KB
patch
obsolete
>diff -ur ../mwlib.orig/mwlib-0.13.7.ebuild ../mwlib/mwlib-0.13.7.ebuild >--- ../mwlib.orig/mwlib-0.13.7.ebuild 2012-05-18 16:54:22.155648502 +0800 >+++ ../mwlib/mwlib-0.13.7.ebuild 2012-05-18 17:06:14.854629866 +0800 >@@ -2,12 +2,12 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.13.6.ebuild,v 1.1 2012/04/19 09:54:31 patrick Exp $ > >-EAPI="3" >-PYTHON_DEPEND="2:2.5" >+EAPI="4" >+PYTHON_DEPEND="2:2.6" > SUPPORT_PYTHON_ABIS="1" >-RESTRICT_PYTHON_ABIS="2.4 2.5 3.* 2.7-pypy-* *-jython" >-DISTUTILS_SRC_TEST="py.test" >-inherit distutils >+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" >@@ -16,32 +16,67 @@ > LICENSE="BSD" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="" >+IUSE="doc" > >-RDEPEND="dev-lang/perl >- >=dev-python/flup-1.0 >- dev-python/imaging >- >=dev-python/lockfile-0.8 >+RDEPEND="dev-python/imaging > dev-python/lxml > =dev-python/odfpy-0.9* > >=dev-python/pyPdf-1.12 > >=dev-python/pyparsing-1.4.11 > >=dev-python/timelib-0.2 >- >=dev-python/twisted-9.0.0-r1 >- >=dev-python/twisted-web-9.0.0 >- >=dev-python/webob-0.9 > virtual/latex-base >- || ( dev-lang/python:2.7 dev-lang/python:2.6 >=dev-python/simplejson-1.3 )" >+ || ( dev-lang/python:2.7 dev-lang/python:2.6 >=dev-python/simplejson-2.5 ) >+ dev-python/gevent >+ >=dev-python/bottle-0.10 >+ dev-python/apipkg >+ >=dev-python/qserve-0.2.7 >+ dev-python/roman >+ >=dev-python/py-1.4 >+ dev-python/sqlite3dbm" > DEPEND="${RDEPEND} >+ app-arch/unzip >+ doc? ( dev-python/sphinx ) > dev-python/setuptools" > > PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") > > src_prepare() { >+ # mwlib.apipkg is actually used. >+ sed -e 's/, "apipkg"//' -i setup.py >+ > distutils_src_prepare >+ # Disable test which requires installed mw-zip script. >+ rm -f tests/test_nuwiki.py >+ rm -f tests/test_redirect.py >+ rm -f tests/test_zipwiki.py >+ epatch "${FILESDIR}"/test.patch > } > > src_compile() { > distutils_src_compile > use doc && emake -C docs html > } >+ >+src_test() { >+ # Though DISTUTILS_SRC_TEST=py.test ought work, it errors out. This works >+ testing() { >+ local exit_status=0 >+# PYTHONPATH="$(find build-${PYTHON_ABI} -name mwlib)}/":$PYTHONPATH/test >+ for test in tests/test_*.py >+ do >+ py.test $test -v || exit_status=1 >+ done >+ return $exit_status >+ } >+ python_execute_function testing >+} >+ >+src_install() { >+ distutils_src_install >+ if use doc; then >+ dohtml -r docs/_build/html/ >+ docompress -x usr/share/doc/${P}/doctrees/ >+ insinto usr/share/doc/${P}/ >+ doins -r docs/_build/doctrees >+ fi >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 416479
:
312179
|
312239