summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2015-04-05 22:07:31 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2015-04-05 22:07:31 +0000
commite550d1fbdb1219d9a59b9bce8949a8a8ef31cb1d (patch)
tree63c9dedcc90e8904d28a3cb6c636d2d438fcef41 /net
parentb7b707331b710e39794dcf3d7f761fc82323e4f5 (diff)
downloadpkgsrc-e550d1fbdb1219d9a59b9bce8949a8a8ef31cb1d.tar.gz
Update net/py-dropbox to 2.2.0.
Changes in 2.2.0 (2014-09-16) ----------------------------- - Support for Datastore sharing - `DropboxClient.get_file()`: Add support for `start`, `length` parameters. - Add support for the /longpoll_delta API - Add direct support for /chunked_upload and /commit_chunked_upload APIs - Fix error handling in ChunkedUploader - Make tests compatible with py.test - Various docstring updates (including OAuth 1->2 example) - Fix encoding issues in example/cli_client.py - Fix unicode handling for URL parameters Changes in 2.1.0 (2014-06-03) ----------------------------- - The datastore API now includes size accessors to allow you to check the size of your data and avoid the syncing limits. - The datastore Date() constructor now truncates timestamps to the supported resolution, i.e. milliseconds. - The datastore `await*()` calls now use POST instead of GET. - Datastore IDs, table IDs, record IDs and field names may be 64 characters (increased from 32 characters). Before taking advantage of the new size limits ensure your application is fully upgraded to SDKs with this support. - Option to `include_media_info` has been added to `DropboxClient.metadata()` and `DropboxClient.delta()`. Changes in 2.0.0 (2013-12-19) ----------------------------- - Add the Datastore API. - Upgrade OAuth 1 tokens with `DropboxClient.create_oauth2_access_token` and `DropboxClient.disable_oauth2_access_token`. - `DropboxClient.thumbnail()`: Fix `size` identifiers. - `DropboxClient.delta()`: Add support for `path_prefix` parameter. - Connection reuse/pooling using urllib3. - Updated SSL settings. - Various documentation reformatting. Changes in 1.6 (2013-07-07) ---------------- - Added OAuth 2 support (use DropboxOAuth2Flow). OAuth 1 still works. - Added a Flask-based example. - Fixed many minor bugs. Changes in 1.5.1 (2012-8-20) ----------------- - Fixed packaging. - Got rid of debug prints. Changes in 1.5 (2012-8-15) -------------------------- - Support for uploading large files via /chunked_upload Changes in 1.4.1 (2012-5-16) ---------------------------- - Increase metadata() file list limit to 25,000 (used to be 10,000). - Removed debug prints from search() call. Oops. - Cleanup to make more compatible with Python 3. Changes in 1.4 (2012-3-26) -------------------------- - Add support for the /delta API. - Add support for the "copy ref" API. Changes in 1.3 (2012-1-11) -------------------------- - Adds a method to the SDK that returns the file metadata when downloading a file or its thumbnail. - Validate server's SSL certificate against CAs in included certificate file. Changes in 1.2 (2011-10-17) --------------------------- - Fixes for bugs found during beta period - Improved README to include steps to remove the v0 SDK if upgrading Changes in 1.1 (2011-8-16) -------------------------- - Fixed version number - Updated CHANGELOG to be more detailed Changes in 1.0 (2011-7-11) -------------------------- - Backwards compatibility broken - Completely removed 'callback' and 'status\_in\_response' parameters - Change 'sandbox' references to 'app\_folder' - Refactored auth.py and renamed it session.py - Updated SDK to Dropbox API Version 1, supporting all calls - Added 'rev' parameter to metadata and get\_file - Added 'parent\_rev' parameter to put\_file - Added search, share, media, revisions, and restore - put\_file uses /files\_put instead of multipart POST and now takes a full path - Removed methods for calls that were removed from v1 of the REST API - Removed 'root' input parameter for all calls - Changed return format for calls - On error (non-200 response), an exception is raised - On success, the JSON is parsed and a Python dict or list is returned - Updated examples - Renamed 'bin' directory to 'example' - Heavily tweaked the CLI example - Added a web app example - Removed reliance on config files - Assorted bugfixes and improvements - Buffers large file uploads better in put\_file - Improved path normalization - All calls are now made over SSL - Fully documented code for Pydoc generation - Added a CHANGELOG - Changed the distribution name from 'dropbox-client' to 'dropbox-python-sdk'
Diffstat (limited to 'net')
-rw-r--r--net/py-dropbox/Makefile9
-rw-r--r--net/py-dropbox/PLIST12
-rw-r--r--net/py-dropbox/distinfo8
3 files changed, 16 insertions, 13 deletions
diff --git a/net/py-dropbox/Makefile b/net/py-dropbox/Makefile
index 33ec417b027..fd1ea341657 100644
--- a/net/py-dropbox/Makefile
+++ b/net/py-dropbox/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2013/11/30 09:40:00 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2015/04/05 22:07:31 hiramatsu Exp $
-DISTNAME= dropbox-python-sdk-1.6
-PKGNAME= ${PYPKGPREFIX}-dropbox-1.6
-PKGREVISION= 1
+DISTNAME= dropbox-python-sdk-2.2.0
+PKGNAME= ${PYPKGPREFIX}-dropbox-2.2.0
CATEGORIES= net
-MASTER_SITES= https://www.dropbox.com/static/developers/
+MASTER_SITES= https://www.dropbox.com/developers/downloads/sdks/core/python/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/net/py-dropbox/PLIST b/net/py-dropbox/PLIST
index 67417c15309..014249cb49f 100644
--- a/net/py-dropbox/PLIST
+++ b/net/py-dropbox/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2013/11/30 00:01:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/04/05 22:07:31 hiramatsu Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/dropbox/__init__.py
${PYSITELIB}/dropbox/__init__.pyc
@@ -9,6 +10,9 @@ ${PYSITELIB}/dropbox/__init__.pyo
${PYSITELIB}/dropbox/client.py
${PYSITELIB}/dropbox/client.pyc
${PYSITELIB}/dropbox/client.pyo
+${PYSITELIB}/dropbox/datastore.py
+${PYSITELIB}/dropbox/datastore.pyc
+${PYSITELIB}/dropbox/datastore.pyo
${PYSITELIB}/dropbox/rest.py
${PYSITELIB}/dropbox/rest.pyc
${PYSITELIB}/dropbox/rest.pyo
@@ -19,9 +23,6 @@ ${PYSITELIB}/dropbox/six.py
${PYSITELIB}/dropbox/six.pyc
${PYSITELIB}/dropbox/six.pyo
${PYSITELIB}/dropbox/trusted-certs.crt
-${PYSITELIB}/dropbox/util.py
-${PYSITELIB}/dropbox/util.pyc
-${PYSITELIB}/dropbox/util.pyo
${PYSITELIB}/tests/__init__.py
${PYSITELIB}/tests/__init__.pyc
${PYSITELIB}/tests/__init__.pyo
@@ -30,6 +31,9 @@ ${PYSITELIB}/tests/server.key
${PYSITELIB}/tests/test_client.py
${PYSITELIB}/tests/test_client.pyc
${PYSITELIB}/tests/test_client.pyo
+${PYSITELIB}/tests/test_datastore.py
+${PYSITELIB}/tests/test_datastore.pyc
+${PYSITELIB}/tests/test_datastore.pyo
${PYSITELIB}/tests/test_rest.py
${PYSITELIB}/tests/test_rest.pyc
${PYSITELIB}/tests/test_rest.pyo
diff --git a/net/py-dropbox/distinfo b/net/py-dropbox/distinfo
index e3e7d555675..bf1456e9c2c 100644
--- a/net/py-dropbox/distinfo
+++ b/net/py-dropbox/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2013/11/26 20:32:24 drochner Exp $
+$NetBSD: distinfo,v 1.2 2015/04/05 22:07:31 hiramatsu Exp $
-SHA1 (dropbox-python-sdk-1.6.zip) = 5ff17e9a6d52c8d80bbc7efd1f2fbe8c10fa68dd
-RMD160 (dropbox-python-sdk-1.6.zip) = 04998dfa2224bbad26f4e2745a7e5430bcbff687
-Size (dropbox-python-sdk-1.6.zip) = 812016 bytes
+SHA1 (dropbox-python-sdk-2.2.0.zip) = 16fc4f2c9e37f49a00cc23d1df4aea9c29ed83c0
+RMD160 (dropbox-python-sdk-2.2.0.zip) = 84abbcc17b16ec0d2707e2ad45d94d9f80daf570
+Size (dropbox-python-sdk-2.2.0.zip) = 691948 bytes