summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-20 15:09:35 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-20 15:09:35 +0000
commitb6aabe5fbc6a85b315aac1dbc1b2544018d1539b (patch)
tree4c0b0ac23bcd4f52ea636c69ffc340fb65670c68 /dev-python/gdata
parentChange the SRC_URIs to use cloud.github.com directly. This avoids issues with... (diff)
downloadgentoo-2-b6aabe5fbc6a85b315aac1dbc1b2544018d1539b.tar.gz
gentoo-2-b6aabe5fbc6a85b315aac1dbc1b2544018d1539b.tar.bz2
gentoo-2-b6aabe5fbc6a85b315aac1dbc1b2544018d1539b.zip
Fix tests (gdata issue #474).
(Portage version: 2.2.0_alpha9_p9/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/gdata')
-rw-r--r--dev-python/gdata/ChangeLog6
-rw-r--r--dev-python/gdata/gdata-2.0.13.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-python/gdata/ChangeLog b/dev-python/gdata/ChangeLog
index d871de7c4855..f843d8fb52c3 100644
--- a/dev-python/gdata/ChangeLog
+++ b/dev-python/gdata/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/gdata
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gdata/ChangeLog,v 1.81 2010/12/07 19:32:20 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gdata/ChangeLog,v 1.82 2010/12/20 15:09:35 arfrever Exp $
+
+ 20 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ gdata-2.0.13.ebuild:
+ Fix tests (gdata issue #474).
*gdata-2.0.13 (07 Dec 2010)
diff --git a/dev-python/gdata/gdata-2.0.13.ebuild b/dev-python/gdata/gdata-2.0.13.ebuild
index 09a1e3a02ba3..971b2f827a36 100644
--- a/dev-python/gdata/gdata-2.0.13.ebuild
+++ b/dev-python/gdata/gdata-2.0.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gdata/gdata-2.0.13.ebuild,v 1.1 2010/12/07 19:32:20 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gdata/gdata-2.0.13.ebuild,v 1.2 2010/12/20 15:09:35 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -27,6 +27,14 @@ S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="atom gdata"
+src_prepare() {
+ distutils_src_prepare
+
+ # http://code.google.com/p/gdata-python-client/issues/detail?id=474
+ # http://code.google.com/p/gdata-python-client/source/detail?r=0ead99676f39b214db3584ed418efb214f45c70d
+ sed -e "/http:\/\/docs\.google\.com\/feeds\/documents\/private\/full\//s/http/https/" -i tests/gdata_tests/docs_test.py || die "sed failed"
+}
+
src_test() {
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/run_data_tests.py -v || return 1