summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-12-21 11:23:47 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-12-21 11:23:47 +0000
commitc56834b8615046579d5cf6fa334fba3c36a93805 (patch)
treef7010e4b03bc5e68c3c665e7654d0ab35f039dc6 /dev-python/python-yadis
parentVersion bump, drop old (diff)
downloadhistorical-c56834b8615046579d5cf6fa334fba3c36a93805.tar.gz
historical-c56834b8615046579d5cf6fa334fba3c36a93805.tar.bz2
historical-c56834b8615046579d5cf6fa334fba3c36a93805.zip
Replaced test patch with new one by Ian Delaney, bug 297111
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-python/python-yadis')
-rw-r--r--dev-python/python-yadis/ChangeLog10
-rw-r--r--dev-python/python-yadis/Manifest6
-rw-r--r--dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch49
-rw-r--r--dev-python/python-yadis/python-yadis-1.1.0-r1.ebuild (renamed from dev-python/python-yadis/python-yadis-1.1.0.ebuild)7
4 files changed, 65 insertions, 7 deletions
diff --git a/dev-python/python-yadis/ChangeLog b/dev-python/python-yadis/ChangeLog
index 6fb7a3e76588..b05bfc2a3c74 100644
--- a/dev-python/python-yadis/ChangeLog
+++ b/dev-python/python-yadis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/python-yadis
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/ChangeLog,v 1.3 2010/07/08 17:05:54 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/ChangeLog,v 1.4 2011/12/21 11:23:47 maksbotan Exp $
+
+*python-yadis-1.1.0-r1 (21 Dec 2011)
+
+ 21 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> -python-yadis-1.1.0.ebuild,
+ +python-yadis-1.1.0-r1.ebuild, files/python-yadis-1.1.0-gentoo-test.patch:
+ Replaced test patch with new one by Ian Delaney, bug 297111
08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
python-yadis-1.1.0.ebuild:
diff --git a/dev-python/python-yadis/Manifest b/dev-python/python-yadis/Manifest
index eb02bc68520d..c378fc38e505 100644
--- a/dev-python/python-yadis/Manifest
+++ b/dev-python/python-yadis/Manifest
@@ -1,5 +1,5 @@
-AUX python-yadis-1.1.0-gentoo-test.patch 622 RMD160 eda76e284211d98b3d9c22a3b3a24def473c1bd8 SHA1 c084dd04097d44da3658dedd8b023f9234fc97e6 SHA256 fc56ec7322401613d3292197ccff5b03953f132a092ad4bd1c91fa3cae67d4d0
+AUX python-yadis-1.1.0-gentoo-test.patch 2953 RMD160 14d942682a7393c9b7e4f260821164103ad27ba8 SHA1 b8370d6f6d83b8dda69b16c99de5c50934d228a0 SHA256 24a674c9905e488f72722d5685edeb4b34cdc3fac79e4b5d6be53a12201c8656
DIST python-yadis-1.1.0.tar.gz 192569 RMD160 ff04b96abbdb2839658361f25a8513d371184023 SHA1 c114a208deb5938e85cd13662d515f159291275c SHA256 1f9e9c55e82ac0025030e9bb0bcc4e2344ad4b26e6fd0aee10690fb18a3ca307
-EBUILD python-yadis-1.1.0.ebuild 1007 RMD160 064bf9a1491c190d0aa87a2f3078c2da5e3c8001 SHA1 3f00801d195200fde9a029233cbb70b591f6ffeb SHA256 d0cee29a3e3c12e959af3aa438ca8a6f3681b009d97b7d9dc16ae6666d5f9849
-MISC ChangeLog 664 RMD160 6794cb225b5b099affbaebdda1afc343f6101afd SHA1 650d11bb274b3995aed6ca12a3c2835353816154 SHA256 00dfdb44f31092447cc8b20c6010aa36780fb8605d1c95167798b4f3d215780d
+EBUILD python-yadis-1.1.0-r1.ebuild 1108 RMD160 70f1018e9c134669b2dc844f9466f77264384a0b SHA1 b866993d137bbdeafd158a9da8ebac6d0ea3870c SHA256 14e7bfabd7ce32545c8e12435ee56fe0c02541dc45cd7980064f2a50e0a41ca3
+MISC ChangeLog 923 RMD160 c62333ce4f59c163f0c58ec74a32a9ecff1546cf SHA1 864ff01f68757870977b8c1daf9ff855df558834 SHA256 1f83fd9f22bd9573c6670e4a6512e1ad20055b1dded9cefd704e90b5c9e21e06
MISC metadata.xml 228 RMD160 bb4f087d1ed592bdbf20297419cc716016f59049 SHA1 243486b7005166bae5d703bcbafaac34a94c512a SHA256 b885c5a0d10953f5f9e1bf9907fd6a7cb74c1c1914527455d4a4e738972eb911
diff --git a/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch b/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch
index c073758fc3b6..bfb2463a6663 100644
--- a/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch
+++ b/dev-python/python-yadis/files/python-yadis-1.1.0-gentoo-test.patch
@@ -23,3 +23,52 @@
echo -n 'Running tests... '
if ! python ${YDIR}/yadis/test/runtests ; then
+diff -ur python-yadis-1.1.0.orig/yadis/test/test_xri.py python-yadis-1.1.0/yadis/test/test_xri.py
+--- yadis/test/test_xri.py 2006-12-09 06:17:12.000000000 +0900
++++ yadis/test/test_xri.py 2011-11-16 22:03:07.254992928 +0800
+@@ -45,7 +45,7 @@
+ expected = 'l%C2%A1m'
+ self.failUnlessEqual(xri.iriToURI(s), expected)
+ else:
+- def test_iri_to_url(self):
++ def test_iri_to_url2(self):
+ s = u'l\xa1m\U00101010n'
+ expected = 'l%C2%A1m%F4%81%80%90n'
+ self.failUnlessEqual(xri.iriToURI(s), expected)
+diff -ur /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0.orig/yadis/etxrd.py /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0/yadis/etxrd.py
+--- yadis/etxrd.py 2006-12-09 06:17:12.000000000 +0900
++++ yadis/etxrd.py 2011-11-16 22:26:21.386992510 +0800
+@@ -23,12 +23,12 @@
+ from elementtree.ElementTree import ElementTree
+
+ # Use expat if it's present. Otherwise, use xmllib
+-try:
+- from xml.parsers.expat import ExpatError as XMLError
+- from elementtree.ElementTree import XMLTreeBuilder
+-except ImportError:
+- from elementtree.SimpleXMLTreeBuilder import TreeBuilder as XMLTreeBuilder
+- from xmllib import Error as XMLError
++#try
++# from xml.parsers.expat import ExpatError as XMLError
++# from elementtree.ElementTree import XMLTreeBuilder
++#except ImportError:
++from elementtree.SimpleXMLTreeBuilder import TreeBuilder as XMLTreeBuilder
++from xmllib import Error as XMLError
+
+ from yadis import xri
+
+diff -ur /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0.orig/yadis/test/test_etxrd.py /mnt/gen2/tmpdir/portage/dev-python/python-yadis-1.1.0/work/python-yadis-1.1.0/yadis/test/test_etxrd.py
+--- yadis/test/test_etxrd.py 2006-12-09 06:17:12.000000000 +0900
++++ yadis/test/test_etxrd.py 2011-11-16 22:29:00.896992462 +0800
+@@ -40,9 +40,9 @@
+ def _getServices(self, flt=None):
+ return list(services.applyFilter(self.yadis_url, self.xmldoc, flt))
+
+- def testParse(self):
++# def testParse(self):
+ """Make sure that parsing succeeds at all"""
+- services = self._getServices()
++# services = self._getServices()
+
+ def testParseOpenID(self):
+ """Parse for OpenID services with a transformer function"""
diff --git a/dev-python/python-yadis/python-yadis-1.1.0.ebuild b/dev-python/python-yadis/python-yadis-1.1.0-r1.ebuild
index 664809ca6de1..4f68d1ff6a6d 100644
--- a/dev-python/python-yadis/python-yadis-1.1.0.ebuild
+++ b/dev-python/python-yadis/python-yadis-1.1.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/python-yadis-1.1.0.ebuild,v 1.4 2010/07/08 17:05:54 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/python-yadis-1.1.0-r1.ebuild,v 1.1 2011/12/21 11:23:47 maksbotan Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -33,6 +33,9 @@ src_prepare() {
src_test() {
testing() {
+ if [[ ${PYTHON_ABI} != "2.7" ]]; then
+ ewarn "Tests are known to fail on ${PYTHON_ABI}"
+ fi
./admin/runtests
}
python_execute_function testing