diff options
Diffstat (limited to 'dev-python/pyltxml/pyltxml-1.3-r1.ebuild')
-rw-r--r-- | dev-python/pyltxml/pyltxml-1.3-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pyltxml/pyltxml-1.3-r1.ebuild b/dev-python/pyltxml/pyltxml-1.3-r1.ebuild new file mode 100644 index 00000000000..f3bd3bc19b7 --- /dev/null +++ b/dev-python/pyltxml/pyltxml-1.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils + +DESCRIPTION="Bindings for LTXML libraries" +HOMEPAGE="http://www.ltg.ed.ac.uk/software/xml/" +SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/PyLTXML-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc x86" +IUSE="" + +DEPEND="=dev-libs/ltxml-1.2.5" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/PyLTXML-${PV}" + +DOCS="00README" +PYTHON_MODNAME="PyLTXML" + +src_prepare() { + distutils_src_prepare + + sed \ + -e s':projects/ltg/projects/lcontrib/include:usr/include:' \ + -e s':projects/ltg/projects/lcontrib/lib:usr/lib/ltxml12:' \ + -i setup.py || die "sed failed" +} |