Hi,

I sent this to the maintainer a few days ago, but haven't heard anything
back. This updates py-gdata to the latest version, 2.0.10 and removes
an annoying DeprecationWarning when used under Python-2.6 with googlecl.

Ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-gdata/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    26 Oct 2009 11:37:51 -0000      1.8
+++ Makefile    16 Jun 2010 11:50:11 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=       Python client library for Google data APIs
 
-MODPY_EGG_VERSION=2.0.4
+MODPY_EGG_VERSION=2.0.10
 DISTNAME=      gdata-${MODPY_EGG_VERSION}
 PKGNAME=       py-gdata-${MODPY_EGG_VERSION}
 CATEGORIES=    devel
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-gdata/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    26 Oct 2009 11:37:51 -0000      1.6
+++ distinfo    16 Jun 2010 11:50:11 -0000
@@ -1,5 +1,5 @@
-MD5 (gdata-2.0.4.tar.gz) = Qdwg9Gqp1lhN+yaPfEtzuA==
-RMD160 (gdata-2.0.4.tar.gz) = iX0HERkl4ukKvBieqpCpiU/e+HA=
-SHA1 (gdata-2.0.4.tar.gz) = B1V1GQ87rp9S2hSGDd1McZvvBSk=
-SHA256 (gdata-2.0.4.tar.gz) = zNUoNOBnCtyz4T+W62HWGiWnepsN7aAessMoXobXOE8=
-SIZE (gdata-2.0.4.tar.gz) = 1284173
+MD5 (gdata-2.0.10.tar.gz) = EYYR7vTpfwJd01G7qwG+4g==
+RMD160 (gdata-2.0.10.tar.gz) = jF/cPzaQE/iyGfleemL0gFtuY18=
+SHA1 (gdata-2.0.10.tar.gz) = s+sxH4RMGIofX1mbXNwucy14x5Y=
+SHA256 (gdata-2.0.10.tar.gz) = K4/6G8bjbPa840x3USELtTwllAyALcUwZN8OhasbtCc=
+SIZE (gdata-2.0.10.tar.gz) = 1628244
Index: patches/patch-tests_gdata_tests_client_test_py
===================================================================
RCS file: patches/patch-tests_gdata_tests_client_test_py
diff -N patches/patch-tests_gdata_tests_client_test_py
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-tests_gdata_tests_client_test_py      16 Jun 2010 11:50:11 
-0000
@@ -0,0 +1,22 @@
+$OpenBSD$
+--- tests/gdata_tests/client_test.py.orig      Sat Apr 17 05:45:13 2010
++++ tests/gdata_tests/client_test.py   Wed Jun 16 21:43:59 2010
+@@ -215,7 +215,8 @@ class RequestTest(unittest.TestCase):
+     self.assertEqual(response.getheader('Echo-Host'), 'example.net:8080')
+     # A Uri with path set to None should default to /.
+     self.assertEqual(response.getheader('Echo-Uri'), '/')
+-    self.assertEqual(response.getheader('Echo-Scheme'), 'http')
++    # See http://code.google.com/p/gdata-python-client/issues/detail?id=371
++    self.assertEqual(response.getheader('Echo-Scheme'), 'https')
+     self.assertEqual(response.getheader('Echo-Method'), 'POST')
+     self.assertEqual(response.getheader('Content-Type'), 'text/plain')
+     self.assertEqual(response.getheader('X'), '1')
+@@ -226,7 +227,7 @@ class RequestTest(unittest.TestCase):
+     response = client.request(uri='/new/path?p=1', http_request=http_request)
+     self.assertEqual(response.getheader('Echo-Host'), 'example.net:8080')
+     self.assertEqual(response.getheader('Echo-Uri'), '/new/path?p=1')
+-    self.assertEqual(response.getheader('Echo-Scheme'), 'http')
++    self.assertEqual(response.getheader('Echo-Scheme'), 'https')
+     self.assertEqual(response.read(), 'test')
+ 
+   def test_gdata_version_header(self):
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-gdata/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   26 Oct 2009 11:37:51 -0000      1.6
+++ pkg/PLIST   16 Jun 2010 11:50:11 -0000
@@ -80,6 +80,11 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/Crypto/test.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/acl/
+lib/python${MODPY_VERSION}/site-packages/gdata/acl/__init__.py
+lib/python${MODPY_VERSION}/site-packages/gdata/acl/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/acl/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/acl/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/alt/
 lib/python${MODPY_VERSION}/site-packages/gdata/alt/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/alt/__init__.pyc
@@ -90,6 +95,10 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/analytics/
 lib/python${MODPY_VERSION}/site-packages/gdata/analytics/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/analytics/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/analytics/client.py
+lib/python${MODPY_VERSION}/site-packages/gdata/analytics/client.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/analytics/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/analytics/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/analytics/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/analytics/service.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/apps/
@@ -136,13 +145,24 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/books/
 lib/python${MODPY_VERSION}/site-packages/gdata/books/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/books/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/books/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/books/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/books/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/books/service.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/calendar/
 lib/python${MODPY_VERSION}/site-packages/gdata/calendar/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/calendar/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/calendar/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/calendar/service.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/__init__.py
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/client.py
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/client.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/calendar_resource/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/client.py
 lib/python${MODPY_VERSION}/site-packages/gdata/client.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/codesearch/
@@ -153,21 +173,38 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/contacts/
 lib/python${MODPY_VERSION}/site-packages/gdata/contacts/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/contacts/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/contacts/client.py
+lib/python${MODPY_VERSION}/site-packages/gdata/contacts/client.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/contacts/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/contacts/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/contacts/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/contacts/service.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/core.py
+lib/python${MODPY_VERSION}/site-packages/gdata/core.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/data.py
 lib/python${MODPY_VERSION}/site-packages/gdata/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/docs/
 lib/python${MODPY_VERSION}/site-packages/gdata/docs/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/docs/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/docs/client.py
+lib/python${MODPY_VERSION}/site-packages/gdata/docs/client.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/docs/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/docs/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/docs/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/docs/service.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/dublincore/
+lib/python${MODPY_VERSION}/site-packages/gdata/dublincore/__init__.py
+lib/python${MODPY_VERSION}/site-packages/gdata/dublincore/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/dublincore/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/dublincore/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/exif/
 lib/python${MODPY_VERSION}/site-packages/gdata/exif/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/exif/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/finance/
 lib/python${MODPY_VERSION}/site-packages/gdata/finance/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/finance/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/finance/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/finance/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/finance/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/finance/service.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/gauth.py
@@ -175,6 +212,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/geo/
 lib/python${MODPY_VERSION}/site-packages/gdata/geo/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/geo/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/geo/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/geo/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/health/
 lib/python${MODPY_VERSION}/site-packages/gdata/health/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/health/__init__.pyc
@@ -190,11 +229,23 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/media/
 lib/python${MODPY_VERSION}/site-packages/gdata/media/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/media/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/media/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/media/data.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/notebook/
+lib/python${MODPY_VERSION}/site-packages/gdata/notebook/__init__.py
+lib/python${MODPY_VERSION}/site-packages/gdata/notebook/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/notebook/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/notebook/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/oauth/
 lib/python${MODPY_VERSION}/site-packages/gdata/oauth/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/oauth/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/oauth/rsa.py
 lib/python${MODPY_VERSION}/site-packages/gdata/oauth/rsa.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/opensearch/
+lib/python${MODPY_VERSION}/site-packages/gdata/opensearch/__init__.py
+lib/python${MODPY_VERSION}/site-packages/gdata/opensearch/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/opensearch/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/opensearch/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/photos/
 lib/python${MODPY_VERSION}/site-packages/gdata/photos/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/photos/__init__.pyc
@@ -364,11 +415,15 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/
 lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/webmastertools/service.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/youtube/
 lib/python${MODPY_VERSION}/site-packages/gdata/youtube/__init__.py
 lib/python${MODPY_VERSION}/site-packages/gdata/youtube/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/gdata/youtube/data.py
+lib/python${MODPY_VERSION}/site-packages/gdata/youtube/data.pyc
 lib/python${MODPY_VERSION}/site-packages/gdata/youtube/service.py
 lib/python${MODPY_VERSION}/site-packages/gdata/youtube/service.pyc
 share/doc/py-gdata/
@@ -386,7 +441,10 @@ share/doc/py-gdata/atom.mock_service.htm
 share/doc/py-gdata/atom.service.html
 share/doc/py-gdata/atom.token_store.html
 share/doc/py-gdata/atom.url.html
+share/doc/py-gdata/gdata.acl.data.html
 share/doc/py-gdata/gdata.alt.appengine.html
+share/doc/py-gdata/gdata.analytics.client.html
+share/doc/py-gdata/gdata.analytics.data.html
 share/doc/py-gdata/gdata.analytics.html
 share/doc/py-gdata/gdata.analytics.service.html
 share/doc/py-gdata/gdata.apps.adminsettings.html
@@ -406,29 +464,43 @@ share/doc/py-gdata/gdata.blogger.client.
 share/doc/py-gdata/gdata.blogger.data.html
 share/doc/py-gdata/gdata.blogger.html
 share/doc/py-gdata/gdata.blogger.service.html
+share/doc/py-gdata/gdata.books.data.html
 share/doc/py-gdata/gdata.books.html
 share/doc/py-gdata/gdata.books.service.html
+share/doc/py-gdata/gdata.calendar.data.html
 share/doc/py-gdata/gdata.calendar.html
 share/doc/py-gdata/gdata.calendar.service.html
+share/doc/py-gdata/gdata.calendar_resource.client.html
+share/doc/py-gdata/gdata.calendar_resource.data.html
 share/doc/py-gdata/gdata.client.html
 share/doc/py-gdata/gdata.codesearch.html
 share/doc/py-gdata/gdata.codesearch.service.html
+share/doc/py-gdata/gdata.contacts.client.html
+share/doc/py-gdata/gdata.contacts.data.html
 share/doc/py-gdata/gdata.contacts.html
 share/doc/py-gdata/gdata.contacts.service.html
 share/doc/py-gdata/gdata.data.html
+share/doc/py-gdata/gdata.docs.client.html
+share/doc/py-gdata/gdata.docs.data.html
 share/doc/py-gdata/gdata.docs.html
 share/doc/py-gdata/gdata.docs.service.html
+share/doc/py-gdata/gdata.dublincore.data.html
 share/doc/py-gdata/gdata.exif.html
+share/doc/py-gdata/gdata.finance.data.html
 share/doc/py-gdata/gdata.finance.html
 share/doc/py-gdata/gdata.finance.service.html
 share/doc/py-gdata/gdata.gauth.html
+share/doc/py-gdata/gdata.geo.data.html
 share/doc/py-gdata/gdata.geo.html
 share/doc/py-gdata/gdata.health.html
 share/doc/py-gdata/gdata.health.service.html
 share/doc/py-gdata/gdata.html
 share/doc/py-gdata/gdata.maps.client.html
 share/doc/py-gdata/gdata.maps.data.html
+share/doc/py-gdata/gdata.media.data.html
 share/doc/py-gdata/gdata.media.html
+share/doc/py-gdata/gdata.notebook.data.html
+share/doc/py-gdata/gdata.opensearch.data.html
 share/doc/py-gdata/gdata.photos.html
 share/doc/py-gdata/gdata.photos.service.html
 share/doc/py-gdata/gdata.projecthosting.client.html
@@ -444,11 +516,16 @@ share/doc/py-gdata/gdata.spreadsheets.da
 share/doc/py-gdata/gdata.test_config.html
 share/doc/py-gdata/gdata.test_config_template.html
 share/doc/py-gdata/gdata.urlfetch.html
+share/doc/py-gdata/gdata.webmastertools.data.html
 share/doc/py-gdata/gdata.webmastertools.html
 share/doc/py-gdata/gdata.webmastertools.service.html
+share/doc/py-gdata/gdata.youtube.data.html
 share/doc/py-gdata/gdata.youtube.html
 share/doc/py-gdata/gdata.youtube.service.html
 share/examples/py-gdata/
+share/examples/py-gdata/analytics/
+share/examples/py-gdata/analytics/account_feed_demo.py
+share/examples/py-gdata/analytics/data_feed_demo.py
 share/examples/py-gdata/apps/
 share/examples/py-gdata/apps/adminsettings_example.py
 share/examples/py-gdata/authsub/
@@ -485,6 +562,7 @@ share/examples/py-gdata/contacts/contact
 share/examples/py-gdata/contacts/profiles_example.py
 share/examples/py-gdata/docs/
 share/examples/py-gdata/docs/docs_example.py
+share/examples/py-gdata/docs/resumable_upload_sample.py
 share/examples/py-gdata/finance/
 share/examples/py-gdata/finance/test_finance.py
 share/examples/py-gdata/maps/
@@ -493,6 +571,7 @@ share/examples/py-gdata/mashups/
 share/examples/py-gdata/mashups/birthdaySample.py
 share/examples/py-gdata/oauth/
 share/examples/py-gdata/oauth/2_legged_oauth.py
+share/examples/py-gdata/oauth/TwoLeggedOAuthExample.py
 share/examples/py-gdata/oauth/oauth_example.py
 share/examples/py-gdata/oauth/oauth_on_appengine/
 share/examples/py-gdata/oauth/oauth_on_appengine/README.txt

Reply via email to