summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-07 20:38:46 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-07 20:38:46 +0000
commit7e021578399d31168e9aba1b1f72b5a3615bbaa3 (patch)
treed88dfc02e3ec4dacd494c3871014b6e1252c9aa3 /dev-python/paramiko
parentRemove a flex file to avoid collision with icc (bug #288038) (diff)
downloadgentoo-2-7e021578399d31168e9aba1b1f72b5a3615bbaa3.tar.gz
gentoo-2-7e021578399d31168e9aba1b1f72b5a3615bbaa3.tar.bz2
gentoo-2-7e021578399d31168e9aba1b1f72b5a3615bbaa3.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14516-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/paramiko')
-rw-r--r--dev-python/paramiko/ChangeLog6
-rw-r--r--dev-python/paramiko/paramiko-1.7.5.ebuild21
2 files changed, 18 insertions, 9 deletions
diff --git a/dev-python/paramiko/ChangeLog b/dev-python/paramiko/ChangeLog
index add072f6087b..8dd65d0d51c0 100644
--- a/dev-python/paramiko/ChangeLog
+++ b/dev-python/paramiko/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/paramiko
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/ChangeLog,v 1.38 2009/09/07 20:43:40 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/ChangeLog,v 1.39 2009/10/07 20:38:46 arfrever Exp $
+
+ 07 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ paramiko-1.7.5.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*paramiko-1.7.5 (07 Sep 2009)
diff --git a/dev-python/paramiko/paramiko-1.7.5.ebuild b/dev-python/paramiko/paramiko-1.7.5.ebuild
index 0158b949e6e1..dd928eb217ce 100644
--- a/dev-python/paramiko/paramiko-1.7.5.ebuild
+++ b/dev-python/paramiko/paramiko-1.7.5.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.7.5.ebuild,v 1.1 2009/09/07 20:43:40 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.7.5.ebuild,v 1.2 2009/10/07 20:38:46 arfrever Exp $
-NEED_PYTHON=2.3
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils
@@ -17,14 +18,22 @@ IUSE="doc examples"
RDEPEND=">=dev-python/pycrypto-1.9_alpha6"
DEPEND="${RDEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
-src_unpack() {
- distutils_src_unpack
+src_prepare() {
+ distutils_src_prepare
epatch "${FILESDIR}"/${PN}-1.6.3-no-setuptools.patch
epatch "${FILESDIR}"/${PN}-1.7.2-tests_cleanup.patch
}
+src_test() {
+ testing() {
+ "$(PYTHON)" test.py --verbose
+ }
+ python_execute_function testing
+}
+
src_install() {
distutils_src_install
@@ -35,7 +44,3 @@ src_install() {
doins -r demos
fi
}
-
-src_test() {
- "${python}" test.py --verbose || die "tests failed"
-}