diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-31 22:39:40 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-31 22:39:40 +0000 |
commit | 5a51beed1c85e7a5f9a4d7ae40bbd369a7f0a547 (patch) | |
tree | 7db6b0b228f4f766925faebc8bd7743513796404 | |
parent | Fix prev. commit (diff) | |
download | gentoo-2-5a51beed1c85e7a5f9a4d7ae40bbd369a7f0a547.tar.gz gentoo-2-5a51beed1c85e7a5f9a4d7ae40bbd369a7f0a547.tar.bz2 gentoo-2-5a51beed1c85e7a5f9a4d7ae40bbd369a7f0a547.zip |
Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pyltxml/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyltxml/pyltxml-1.3-r1.ebuild | 35 |
2 files changed, 27 insertions, 14 deletions
diff --git a/dev-python/pyltxml/ChangeLog b/dev-python/pyltxml/ChangeLog index d9e57a5707bd..e798b39cd665 100644 --- a/dev-python/pyltxml/ChangeLog +++ b/dev-python/pyltxml/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyltxml # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyltxml/ChangeLog,v 1.9 2010/10/31 22:24:31 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyltxml/ChangeLog,v 1.10 2010/10/31 22:39:40 arfrever Exp $ + + 31 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyltxml-1.3-r1.ebuild: + Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. 31 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -pyltxml-1.3.ebuild: diff --git a/dev-python/pyltxml/pyltxml-1.3-r1.ebuild b/dev-python/pyltxml/pyltxml-1.3-r1.ebuild index 1c88f0f946a6..a691080dcef3 100644 --- a/dev-python/pyltxml/pyltxml-1.3-r1.ebuild +++ b/dev-python/pyltxml/pyltxml-1.3-r1.ebuild @@ -1,27 +1,36 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyltxml/pyltxml-1.3-r1.ebuild,v 1.5 2007/07/11 06:19:47 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyltxml/pyltxml-1.3-r1.ebuild,v 1.6 2010/10/31 22:39:40 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils -S="${WORKDIR}/PyLTXML-${PV}" 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 +SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/PyLTXML-${PV}.tar.gz" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc" +KEYWORDS="ppc x86" IUSE="" -DEPEND=">=dev-lang/python-2.2.2 - =dev-libs/ltxml-1.2.5" + +DEPEND="=dev-libs/ltxml-1.2.5" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/PyLTXML-${PV}" + DOCS="00README" +PYTHON_MODNAME="PyLTXML" + +src_prepare() { + distutils_src_prepare -src_unpack() { - unpack ${A} - cd ${S} - sed -i \ + sed \ -e s':projects/ltg/projects/lcontrib/include:usr/include:' \ -e s':projects/ltg/projects/lcontrib/lib:usr/lib/ltxml12:' \ - setup.py \ - || die "sed failed on setup.py" + -i setup.py || die "sed failed" } |