summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-23 19:53:35 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-23 19:53:35 +0000
commit8bfd6976a128db6c3fa5a0a6b26dfcf69402b1f3 (patch)
tree0d7fd4c0c2fb39c1ab31954cda439dadd411c274 /dev-python/apse
parentUse virtual/jpeg. (diff)
downloadhistorical-8bfd6976a128db6c3fa5a0a6b26dfcf69402b1f3.tar.gz
historical-8bfd6976a128db6c3fa5a0a6b26dfcf69402b1f3.tar.bz2
historical-8bfd6976a128db6c3fa5a0a6b26dfcf69402b1f3.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/apse')
-rw-r--r--dev-python/apse/ChangeLog8
-rw-r--r--dev-python/apse/Manifest14
-rw-r--r--dev-python/apse/apse-0.2-r1.ebuild29
3 files changed, 28 insertions, 23 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/Manifest b/dev-python/apse/Manifest
index 90ec5959b032..bb5083785d18 100644
--- a/dev-python/apse/Manifest
+++ b/dev-python/apse/Manifest
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST Apse-0.2.tar.gz 18005 RMD160 eefb7692fa5ee1c1280a26e0c12f565e5c01be2c SHA1 335bb4f2758a4cc47748fbb05dfec8df929a02a0 SHA256 cacdb5fa76bc63998bae65c858797423d8b5c047290a762ab9e299097faa983f
-EBUILD apse-0.2-r1.ebuild 765 RMD160 5350c04e35413c76f20e8ee3d20a125e8dc4c37c SHA1 22851a71e402c7ef9c16b88d85eca441e838fa93 SHA256 ad1a84b682a12d36f15a32a25d2c1c7acdd187e7f6c1507026927c59fd990273
-MISC ChangeLog 1296 RMD160 2d499d5676780da456a667743e0a9144a90fc570 SHA1 9e5b93b96a5986255f16ec5f7c8c9ae67df92d60 SHA256 0b289cd7b10cf7cc0db514dfba5b093c304e8a37fdb661bc1cfc2f56ab3c8581
+EBUILD apse-0.2-r1.ebuild 932 RMD160 c27f1f761eaf1d29390fb69e0ded30c1f1c44987 SHA1 f465bcbe2cbad20c79426882899f6d17b316368b SHA256 0434a0d2c7719429befdeee5018334feab886f485ec091d909251451c08b3eb8
+MISC ChangeLog 1421 RMD160 383d360685692bb3f57149eb6a3ffc340e258eb5 SHA1 57901c07ab276d68012a2385b19f78751f88fb52 SHA256 a0b819ea6e3ddbe8673b0bdb7c1b5990bcc31e2b02c59a13f6bde465dc974571
MISC metadata.xml 1029 RMD160 8615babf92a6aebc4dbe373d67c5576c68ed0517 SHA1 ecbd00d058598656d2f69640cf43e37dd54cd7ec SHA256 74034df15cd42f97d6b591ee44d6f4bfcebdf4aedf4e759a41c29960514ab1a7
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkgn84UACgkQQU4yORhF8iCpoACeIH0ojBxlO5kdskYHCkZy2dpD
-oPsAoMK3aio9Iwy9nv7AfxMeInuPacfs
-=S/mc
------END PGP SIGNATURE-----
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
}