diff options
author | 2010-07-23 19:53:35 +0000 | |
---|---|---|
committer | 2010-07-23 19:53:35 +0000 | |
commit | 0b97e7c9c5a0f102d0ac10075f40e72cba208618 (patch) | |
tree | b655e9b174590859a6290e7777a607059860ecba /dev-python/apse | |
parent | Use virtual/jpeg. (diff) | |
download | gentoo-2-0b97e7c9c5a0f102d0ac10075f40e72cba208618.tar.gz gentoo-2-0b97e7c9c5a0f102d0ac10075f40e72cba208618.tar.bz2 gentoo-2-0b97e7c9c5a0f102d0ac10075f40e72cba208618.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/apse')
-rw-r--r-- | dev-python/apse/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/apse/apse-0.2-r1.ebuild | 29 |
2 files changed, 26 insertions, 11 deletions
diff --git a/dev-python/apse/ChangeLog b/dev-python/apse/ChangeLog index 5f66077bcd77..1fa25a046574 100644 --- a/dev-python/apse/ChangeLog +++ b/dev-python/apse/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/apse -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apse/ChangeLog,v 1.9 2008/05/12 07:36:30 hawking Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apse/ChangeLog,v 1.10 2010/07/23 19:53:35 arfrever Exp $ + + 23 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + apse-0.2-r1.ebuild: + Set SUPPORT_PYTHON_ABIS. *apse-0.2-r1 (12 May 2008) diff --git a/dev-python/apse/apse-0.2-r1.ebuild b/dev-python/apse/apse-0.2-r1.ebuild index 4c2ad575ba3a..d3852e0c33a6 100644 --- a/dev-python/apse/apse-0.2-r1.ebuild +++ b/dev-python/apse/apse-0.2-r1.ebuild @@ -1,28 +1,39 @@ -# Copyright 1999-2008 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/apse/apse-0.2-r1.ebuild,v 1.1 2008/05/12 07:36:30 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apse/apse-0.2-r1.ebuild,v 1.2 2010/07/23 19:53:35 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils -MY_PN="${PN/apse/Apse}" + +MY_PN="Apse" +MY_P="${MY_PN}-${PV}" DESCRIPTION="Approximate String Matching in Python." HOMEPAGE="http://www.personal.psu.edu/staff/i/u/iua1/python/apse/" -SRC_URI="http://www.personal.psu.edu/staff/i/u/iua1/python/${PN}/dist/${MY_PN}-${PV}.tar.gz" +SRC_URI="http://www.personal.psu.edu/staff/i/u/iua1/python/${PN}/dist/${MY_P}.tar.gz" LICENSE="GPL-2" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="" DEPEND="dev-lang/swig" RDEPEND="" -S=${WORKDIR}/${MY_PN}-${PV} +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") -PYTHON_MODNAME="Apse" DOCS="README* *agrep" +PYTHON_MODNAME="Apse.py" src_test() { - PYTHONPATH="$(ls -d build/lib.*)" ${python} test/test_Apse.py ||\ - die "tests failed." + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test/test_Apse.py + } + python_execute_function testing } |