From 96cca9ec1ddef8117c69f6fce82374a81811bfc0 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Sun, 16 Jun 2013 16:26:51 +0000 Subject: - update to 2.0.18 - apply all the patches unconditionally (we have no pythons less than 2.6) - avoid PYTHON_SITELIBDIR usage - tab -> space change in pkg-descr:WWW PR: 179609 Submitted by: rm (myself) Approved by: olivierd (maintainer) --- devel/py-gdata/files/patch-src_atom-mock_service.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devel/py-gdata/files/patch-src_atom-mock_service.py (limited to 'devel/py-gdata/files/patch-src_atom-mock_service.py') diff --git a/devel/py-gdata/files/patch-src_atom-mock_service.py b/devel/py-gdata/files/patch-src_atom-mock_service.py new file mode 100644 index 000000000000..eeeb6b64fb40 --- /dev/null +++ b/devel/py-gdata/files/patch-src_atom-mock_service.py @@ -0,0 +1,13 @@ +--- src/atom/mock_service.py.orig 2008-09-03 23:11:05.000000000 +0200 ++++ src/atom/mock_service.py 2009-11-03 21:39:47.358018717 +0100 +@@ -34,8 +34,8 @@ + real_request_handler = None + + def ConcealValueWithSha(source): +- import sha +- return sha.new(source[:-5]).hexdigest() ++ import hashlib ++ return hashlibsha1.new(source[:-5]).hexdigest() + + def DumpRecordings(conceal_func=ConcealValueWithSha): + if conceal_func: -- cgit v1.2.3