summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-04 19:31:06 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-04 19:31:06 +0000
commit5745ce5f9c5bf7f0fb06cb15cb4b6f91100eb8c5 (patch)
tree31e3c89636faf122a94d82974a33b7a0369594aa /dev-python/pyasn1
parentTweak build process (diff)
downloadgentoo-2-5745ce5f9c5bf7f0fb06cb15cb4b6f91100eb8c5.tar.gz
gentoo-2-5745ce5f9c5bf7f0fb06cb15cb4b6f91100eb8c5.tar.bz2
gentoo-2-5745ce5f9c5bf7f0fb06cb15cb4b6f91100eb8c5.zip
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14182-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyasn1')
-rw-r--r--dev-python/pyasn1/ChangeLog10
-rw-r--r--dev-python/pyasn1/pyasn1-0.0.9a.ebuild (renamed from dev-python/pyasn1/pyasn1-0.0.7a.ebuild)20
2 files changed, 21 insertions, 9 deletions
diff --git a/dev-python/pyasn1/ChangeLog b/dev-python/pyasn1/ChangeLog
index 2435dcd48106..a0e3c56823bc 100644
--- a/dev-python/pyasn1/ChangeLog
+++ b/dev-python/pyasn1/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyasn1
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/ChangeLog,v 1.6 2008/06/23 06:30:39 dev-zero Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/ChangeLog,v 1.7 2009/09/04 19:31:06 arfrever Exp $
+
+*pyasn1-0.0.9a (04 Sep 2009)
+
+ 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -pyasn1-0.0.7a.ebuild, +pyasn1-0.0.9a.ebuild:
+ Version bump. Set SUPPORT_PYTHON_ABIS.
*pyasn1-0.0.8a (23 Jun 2008)
diff --git a/dev-python/pyasn1/pyasn1-0.0.7a.ebuild b/dev-python/pyasn1/pyasn1-0.0.9a.ebuild
index a3a092621456..22cf9929557a 100644
--- a/dev-python/pyasn1/pyasn1-0.0.7a.ebuild
+++ b/dev-python/pyasn1/pyasn1-0.0.9a.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.0.7a.ebuild,v 1.1 2007/09/10 05:19:01 mjolnir Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.0.9a.ebuild,v 1.1 2009/09/04 19:31:06 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -15,17 +18,20 @@ IUSE=""
DEPEND=""
RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
DOCS="CHANGES"
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/suite.py
+ }
+ python_execute_function testing
+}
+
src_install() {
distutils_src_install
dohtml doc/*
insinto /usr/share/doc/${PF}
doins -r examples
}
-
-src_test() {
- export PYTHONPATH="${PYTHONPATH}:${S}/build/lib"
- python test/suite.py || die "tests failed"
-}