summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-19 19:57:18 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-19 19:57:18 +0000
commitc9b326aea6fcbe67b9c1be4b461735ea9224c24a (patch)
tree0c574cf21b6d4ec239570b53d768f3b05f988024 /dev-python/gdata
parentVersion bump. (diff)
downloadgentoo-2-c9b326aea6fcbe67b9c1be4b461735ea9224c24a.tar.gz
gentoo-2-c9b326aea6fcbe67b9c1be4b461735ea9224c24a.tar.bz2
gentoo-2-c9b326aea6fcbe67b9c1be4b461735ea9224c24a.zip
Delete older ebuild.
Diffstat (limited to 'dev-python/gdata')
-rw-r--r--dev-python/gdata/files/gdata-2.0.2-fix_tests.patch37
-rw-r--r--dev-python/gdata/gdata-2.0.2.ebuild51
2 files changed, 0 insertions, 88 deletions
diff --git a/dev-python/gdata/files/gdata-2.0.2-fix_tests.patch b/dev-python/gdata/files/gdata-2.0.2-fix_tests.patch
deleted file mode 100644
index 27115c1381cc..000000000000
--- a/dev-python/gdata/files/gdata-2.0.2-fix_tests.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- tests/atom_tests/core_test.py
-+++ tests/atom_tests/core_test.py
-@@ -398,6 +398,8 @@
- self.assertTrue(x.to_string().startswith('<x a="&#948;"'))
-
- def testOtherEncodingOnInputString(self):
-+ BIG_ENDIAN = 0
-+ LITTLE_ENDIAN = 1
- # Test parsing inner text.
- self.assertEqual(parse(u'<x>\u03b4</x>'.encode('utf-16')).text, u'\u03b4')
-
-@@ -409,12 +411,21 @@
- e = create('x', u'\u03b4'.encode('utf-16'))
- self.assertEqual(e.to_string(encoding='utf-16'), '<x>&#948;</x>')
- # Don't change the encoding until the we convert to an XML string.
-- self.assertEqual(e.text, '\xff\xfe\xb4\x03')
-+ # Allow either little-endian or big-endian byte orderings.
-+ self.assertTrue(e.text in ['\xff\xfe\xb4\x03', '\xfe\xff\x03\xb4'])
-+ endianness = LITTLE_ENDIAN
-+ if e.text == '\xfe\xff\x03\xb4':
-+ endianness = BIG_ENDIAN
- self.assertTrue(isinstance(e.text, str))
- self.assertTrue(isinstance(e.to_string(encoding='utf-16'), str))
-- self.assertEqual(
-- create('x', '\xff\xfe\xb4\x03').to_string(encoding='utf-16'),
-- '<x>&#948;</x>')
-+ if endianness == LITTLE_ENDIAN:
-+ self.assertEqual(
-+ create('x', '\xff\xfe\xb4\x03').to_string(encoding='utf-16'),
-+ '<x>&#948;</x>')
-+ else:
-+ self.assertEqual(
-+ create('x', '\xfe\xff\x03\xb4').to_string(encoding='utf-16'),
-+ '<x>&#948;</x>')
-
- def testOtherEncodingInTagsAndAttributes(self):
- self.assertEqual(
diff --git a/dev-python/gdata/gdata-2.0.2.ebuild b/dev-python/gdata/gdata-2.0.2.ebuild
deleted file mode 100644
index 56b310973851..000000000000
--- a/dev-python/gdata/gdata-2.0.2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gdata/gdata-2.0.2.ebuild,v 1.6 2009/10/12 19:25:26 jer Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils eutils
-
-MY_P="gdata-${PV}"
-
-DESCRIPTION="Python client library for Google data APIs"
-HOMEPAGE="http://code.google.com/p/gdata-python-client/"
-SRC_URI="http://gdata-python-client.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE="examples"
-
-DEPEND=""
-RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/elementtree )"
-
-RESTRICT_PYTHON_ABIS="3*"
-
-PYTHON_MODNAME="atom gdata"
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- distutils_src_prepare
- epatch "${FILESDIR}/${P}-fix_tests.patch"
-}
-
-src_test() {
- testing() {
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/run_data_tests.py -v || die "Data tests failed with Python ${PYTHON_ABI}"
-
- # run_service_tests.py requires interaction (and a valid Google account), so skip it.
- # PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/run_service_tests.py -v || die "Service tests failed with Python ${PYTHON_ABI}"
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r samples
- fi
-}