--- piston-mini-client-0.7.5.orig/debian/README.source +++ piston-mini-client-0.7.5/debian/README.source @@ -0,0 +1,3 @@ +See /usr/share/doc/quilt/README.source + + -- Barry Warsaw , Thu, 16 Jan 2014 15:47:33 -0500 --- piston-mini-client-0.7.5.orig/debian/changelog +++ piston-mini-client-0.7.5/debian/changelog @@ -0,0 +1,126 @@ +piston-mini-client (0.7.5-0ubuntu2) trusty; urgency=medium + + * d/patches/lp1269931.patch: Fix a PEP 8 complaint causing test_pep8.py + to fail. (LP: #1269931) + * d/control: Add B-D on quilt. + * d/README.source: Added. + + -- Barry Warsaw Thu, 16 Jan 2014 15:33:50 -0500 + +piston-mini-client (0.7.5-0ubuntu1) raring; urgency=low + + * New upstream release. + - Fixes oneconf-service AttributeError crash. [Dmitry Shachnev] + (LP: #1105215) + * debian/control: + - Update Standards-Version to 3.9.4. + - Update debhelper version dependency to silence lintian. + + -- Barry Warsaw Tue, 26 Feb 2013 16:48:47 -0500 + +piston-mini-client (0.7.3+bzr68-0ubuntu1) raring; urgency=low + + [ Michael Vogt ] + * new bzr snapshot: + - py3 support + - new PistonRequester API + * add python3 packages + + [ Barry Warsaw ] + * lp:~barry/piston-mini-client/lp1077083: + - Switch from python-oauth to python-oauthlib (LP: #1077083) + * Improve nosetest integration. + + -- Michael Vogt Wed, 28 Nov 2012 09:39:43 +0100 + +piston-mini-client (0.7.2+bzr57-0ubuntu2) quantal; urgency=low + + * initial upload to quantal + + -- Michael Vogt Mon, 04 Jun 2012 16:54:35 +0200 + +piston-mini-client (0.7.2+bzr57-0ubuntu1) precise-proposed; urgency=low + + * Fix race when multiple piston-mini-client helpers try to create + a cache directory (LP: #803280) + + -- Michael Vogt Tue, 22 May 2012 17:46:32 +0200 + +piston-mini-client (0.7.2-0ubuntu1) precise; urgency=low + + * new upstream bugfix release + + -- Michael Vogt Mon, 02 Apr 2012 21:33:30 +0200 + +piston-mini-client (0.6+bzr48-0ubuntu1) oneiric; urgency=low + + * new bzr snapshot of the pending release: + - work with http proxies that do not support CONNECT type of + proxy (CONNECT acl/support is still required for https) + (LP: #863717) + + -- Michael Vogt Tue, 04 Oct 2011 16:50:29 +0200 + +piston-mini-client (0.5+bzr45-0ubuntu1) oneiric; urgency=low + + * new bzr snapshot of the pending release: + - add support for the {http,https}_proxy environment (LP: #742564) + - improve debug output + - improve documentation + - tiny and backward compatible API clenaup for as_serializable + + -- Michael Vogt Tue, 27 Sep 2011 17:28:59 +0200 + +piston-mini-client (0.5+bzr41-0ubuntu1) oneiric; urgency=low + + * new bzr snapshot that supports overriding the httplib2 + signature checks + + -- Michael Vogt Thu, 11 Aug 2011 17:26:42 +0200 + +piston-mini-client (0.5-0ubuntu1) oneiric; urgency=low + + * new upstream release + + -- Michael Vogt Tue, 09 Aug 2011 13:46:08 +0200 + +piston-mini-client (0.3+bzr32-0ubuntu1) natty; urgency=low + + * updated to include fix for "filename too long" on ecryptfs + homedirs + + -- Michael Vogt Fri, 01 Apr 2011 13:07:28 +0200 + +piston-mini-client (0.3~bzr31-0ubuntu1) natty; urgency=low + + * initial upload into natty + + -- Michael Vogt Wed, 23 Mar 2011 09:10:58 +0100 + +piston-mini-client (0.1+bzr29-0ubuntu1) natty; urgency=low + + * new bzr snapshot + * debian/control: + - add python-oauth as dependency + + -- Michael Vogt Mon, 14 Feb 2011 16:07:38 +0100 + +piston-mini-client (0.1+bzr25-0ubuntu1) natty; urgency=low + + * new bzr snapshot + * debian/control: + - add python-httplib2 as dependency + + -- Michael Vogt Fri, 28 Jan 2011 09:15:31 +0100 + +piston-mini-client (0.1+bzr22-0ubuntu1) natty; urgency=low + + * new bzr snapshot that fixes 304 response codes + + -- Michael Vogt Wed, 22 Dec 2010 21:33:53 +0100 + +piston-mini-client (0.1+bzr21-0ubuntu1) natty; urgency=low + + * initial upload + + -- Michael Vogt Fri, 10 Dec 2010 19:04:22 +0100 --- piston-mini-client-0.7.5.orig/debian/compat +++ piston-mini-client-0.7.5/debian/compat @@ -0,0 +1 @@ +9 --- piston-mini-client-0.7.5.orig/debian/control +++ piston-mini-client-0.7.5/debian/control @@ -0,0 +1,49 @@ +Source: piston-mini-client +Section: python +Priority: extra +Maintainer: Michael Vogt +Build-Depends: debhelper (>= 9), + quilt, + python-all, + python3-all, + python-setuptools, + python3-setuptools, + python-oauthlib, + python3-oauthlib, + python-httplib2, + python3-httplib2, + python-mock, + python3-mock, + python-nose, + python3-nose, + pep8 +Standards-Version: 3.9.4 +Homepage: https://launchpad.net/piston-mini-client +Vcs-Bzr: lp:piston-mini-client +Vcs-Browser: https://code.launchpad.net/piston-mini-client +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.1 + +Package: python-piston-mini-client +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + python-oauthlib, + python-httplib2 +Description: library for writing clients for Django's Piston REST APIs + This package provides a small generic library for writing clients for + Django's Piston REST APIs. + . + This is the Python 2 version. + +Package: python3-piston-mini-client +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3-oauthlib, + python3-httplib2 +Description: library for writing clients for Django's Piston REST APIs + This package provides a small generic library for writing clients for + Django's Piston REST APIs. + . + This is the Python 3 version. --- piston-mini-client-0.7.5.orig/debian/copyright +++ piston-mini-client-0.7.5/debian/copyright @@ -0,0 +1,15 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=59 +Source: https://launchpad.net/piston-mini-client + +Files: * +Copyright: Copyright (c) 2010,2011 Canonical +License: LGPL-3 + +License: LGPL-3 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-3'. --- piston-mini-client-0.7.5.orig/debian/patches/lp1269931.patch +++ piston-mini-client-0.7.5/debian/patches/lp1269931.patch @@ -0,0 +1,18 @@ +Description: PEP 8 complains about the indentation in this module, causing + test_pep8.py to fail. +Author: Barry Warsaw +Bug: https://bugs.launchpad.net/piston-mini-client/+bug/1269931 + +--- a/piston_mini_client/validators.py ++++ b/piston_mini_client/validators.py +@@ -41,8 +41,8 @@ + "Argument '%s' must be a string" % varname) + if not re.match(pattern, kwargs[varname]): + raise ValidationException( +- "Argument '%s' must match pattern '%s'" % (varname, +- pattern)) ++ "Argument '%s' must match pattern '%s'" % ++ (varname, pattern)) + elif required: + raise ValidationException( + "Required named argument '%s' missing" % varname) --- piston-mini-client-0.7.5.orig/debian/patches/series +++ piston-mini-client-0.7.5/debian/patches/series @@ -0,0 +1 @@ +lp1269931.patch --- piston-mini-client-0.7.5.orig/debian/python-piston-mini-client.install +++ piston-mini-client-0.7.5/debian/python-piston-mini-client.install @@ -0,0 +1 @@ +usr/lib/python2.* \ No newline at end of file --- piston-mini-client-0.7.5.orig/debian/python3-piston-mini-client.install +++ piston-mini-client-0.7.5/debian/python3-piston-mini-client.install @@ -0,0 +1 @@ +usr/lib/python3* \ No newline at end of file --- piston-mini-client-0.7.5.orig/debian/rules +++ piston-mini-client-0.7.5/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +PYTHON2=$(shell pyversions -vr) +PYTHON3=$(shell py3versions -vr) + + +%: + dh $@ --with=python2,python3 + +# BOILERPLATE +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +test-python%: + python$* setup.py nosetests + +override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) +endif + +build-python%: + python$* setup.py build + +override_dh_auto_build: $(PYTHON3:%=build-python%) + dh_auto_build + +install-python%: + python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb + +override_dh_auto_install: $(PYTHON3:%=install-python%) + dh_auto_install + +override_dh_auto_clean: + dh_auto_clean + rm -rf build + rm -rf *.egg-info --- piston-mini-client-0.7.5.orig/debian/watch +++ piston-mini-client-0.7.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/p/piston-mini-client/piston-mini-client-(.+).tar.gz \ No newline at end of file --- piston-mini-client-0.7.5.orig/piston_mini_client/validators.py +++ piston-mini-client-0.7.5/piston_mini_client/validators.py @@ -41,8 +41,8 @@ "Argument '%s' must be a string" % varname) if not re.match(pattern, kwargs[varname]): raise ValidationException( - "Argument '%s' must match pattern '%s'" % (varname, - pattern)) + "Argument '%s' must match pattern '%s'" % + (varname, pattern)) elif required: raise ValidationException( "Required named argument '%s' missing" % varname)