summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-17 13:43:34 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-17 13:43:34 +0000
commit2ef880f136a9c1e947f3921f11b72e9f507940ea (patch)
treef2c97c9556ab12c01a610310592a34c06d6a2eba /dev-python/pycurl
parentVersion 9 was also bumped (Bug #254011) (diff)
downloadgentoo-2-2ef880f136a9c1e947f3921f11b72e9f507940ea.tar.gz
gentoo-2-2ef880f136a9c1e947f3921f11b72e9f507940ea.tar.bz2
gentoo-2-2ef880f136a9c1e947f3921f11b72e9f507940ea.zip
Fix tests (bug #310351).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r--dev-python/pycurl/ChangeLog6
-rw-r--r--dev-python/pycurl/pycurl-7.19.0.ebuild11
2 files changed, 11 insertions, 6 deletions
diff --git a/dev-python/pycurl/ChangeLog b/dev-python/pycurl/ChangeLog
index bb40ae8e8635..4b36a058eaa7 100644
--- a/dev-python/pycurl/ChangeLog
+++ b/dev-python/pycurl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pycurl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.63 2010/02/13 18:16:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/ChangeLog,v 1.64 2010/06/17 13:43:34 arfrever Exp $
+
+ 17 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pycurl-7.19.0.ebuild:
+ Fix tests (bug #310351).
13 Feb 2010; Raúl Porcel <armin76@gentoo.org> pycurl-7.19.0.ebuild:
Add ~s390/~sh
diff --git a/dev-python/pycurl/pycurl-7.19.0.ebuild b/dev-python/pycurl/pycurl-7.19.0.ebuild
index 6e5df770954a..df17b7275797 100644
--- a/dev-python/pycurl/pycurl-7.19.0.ebuild
+++ b/dev-python/pycurl/pycurl-7.19.0.ebuild
@@ -1,14 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.0.ebuild,v 1.14 2010/02/13 18:16:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.0.ebuild,v 1.15 2010/06/17 13:43:34 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="python binding for curl/libcurl"
-HOMEPAGE="http://pycurl.sourceforge.net/"
+HOMEPAGE="http://pycurl.sourceforge.net/ http://pypi.python.org/pypi/pycurl"
SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
@@ -18,13 +20,12 @@ IUSE="examples"
DEPEND=">=net-misc/curl-7.19.0"
RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
PYTHON_MODNAME="curl"
src_test() {
testing() {
- "$(PYTHON)" tests/test_internals.py -q
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests/test_internals.py -q
}
python_execute_function testing
}