diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2013-06-16 16:26:51 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2013-06-16 16:26:51 +0000 |
commit | 96cca9ec1ddef8117c69f6fce82374a81811bfc0 (patch) | |
tree | 82995b9ae3cc76c22437fdebe8582cb0f064798f /devel/py-gdata/files/patch-src_atom-mock_service.py | |
parent | - Update to 0.7.0 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=321058
Diffstat (limited to 'devel/py-gdata/files/patch-src_atom-mock_service.py')
-rw-r--r-- | devel/py-gdata/files/patch-src_atom-mock_service.py | 13 |
1 files changed, 13 insertions, 0 deletions
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: |