Google API Client Library for Python Maintained by:nivit@FreeBSD.org Port Added: 16 Apr 2011 13:53:07 License: AL2
The Google API Client for Python is a client library for accessing
the adexchangebuyer, adexchangeseller, adsense, adsensehost, analytics,
androidpublisher, audit, bigquery, blogger, books, calendar, civicinfo,
compute, coordinate, customsearch, dfareporting, discovery, drive,
freebase, fusiontables, gan, groupsmigration, groupssettings, latitude,
licensing, oauth2, orkut, pagespeedonline, plus, prediction, reseller,
shopping, siteVerification, storage, taskqueue, tasks, translate,
urlshortener, webfonts, youtube, youtubeAnalytics APIs.
If you wish to use a Google API that is not in that list then you should
look at the Google Data APIs Python Client Library (devel/py-gdata).
WWW: http://developers.google.com/api-client-library/python/
To install the port:cd /usr/ports/www/py-google-api-python-client/ && make install clean To add the package:pkg_add -r py27-google-api-python-client
Configuration Options
===> The following configuration options are available for py27-google-api-python-client-1.1:
DJANGO=off: Use the library with Django
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
GAE=off: Use the library with Google App Engine
WEBTEST=off: Use WebTest helper to test WSGI apps (Python 2.6+)
===> Use 'make config' to modify these settings
Reason:
The port has been updated to 1.0.b8. This new version has important
changes which might break your code:
* apiclient.anyjson has moved to oauth2client.anyjson.
* Some calls, for example, taskqueue().lease() used to require
a parameter named body. In this new release only methods that
really need to send a body require a body parameter, and so
you may get errors about an unknown 'body' parameter in your call.
The solution is to remove the unneeded body={} parameter
See http://code.google.com/p/google-api-python-client/wiki/PyDoc for
more information.
Number of commits found: 6
Commit History - (may be incomplete: see SVNWeb link above for full details)
- Update to 1.0.c2
- Add patch files/patch-runsamples
- Convert to the new options framework
- Add security/py-openssl to RUN_DEPENDS
when option WEBTEST is on
- Add the option WITH_WEBTEST (default off)
- Define OPTIONSFILE to bypass infrastructure bug
- Include <bsd.port.options.mk>
- Install devel/py-simplejson only when Python version is
less than 2.6 [1]
- Install the (optional) dependency www/py-WebTest only
when the Python version is great than 2.5
- Remove all build dependencies [1]
Suggested by: rm [1]
- Update to 1.0.b8
- Add devel/py-simplejson to *_DEPENDS
- Add www/py-WebTest to RUN_DEPENDS
- Add LICENSE (AL2)
- Add some API names to pkg-descr
- Remove DISTNAME from Makefile
The Google API Client for Python is a client library for accessing
the Buzz, Latitude, Moderator, Diacritize, Translate, Custom Search,
Search API for Shopping, URL Shortener, and Prediction APIs.
If you wish to use a Google API that is not in that list then you should
look at the Google Data APIs Python Client Library (devel/py-gdata).
WWW: http://code.google.com/p/google-api-python-client/