summaryrefslogtreecommitdiff
blob: 99c6e56780f2cca70d78fde69639ed92b5f4edb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.12.13.ebuild,v 1.2 2010/10/30 05:20:00 arfrever Exp $

EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"

inherit distutils

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}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-lang/perl
	>=dev-python/flup-1.0
	dev-python/imaging
	>=dev-python/lockfile-0.8
	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 )"
DEPEND="${RDEPEND}
	dev-python/setuptools"

PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")