[Python-modules-commits] r29787 - in packages/python-vertica/trunk (13 files)

jbfavre-guest at users.alioth.debian.org jbfavre-guest at users.alioth.debian.org
Wed Jul 16 18:54:51 UTC 2014


    Date: Wednesday, July 16, 2014 @ 18:54:50
  Author: jbfavre-guest
Revision: 29787

[svn-inject] Application des modifications Debian (0.2.3-1) pour le tronc

Added:
  packages/python-vertica/trunk/debian/
  packages/python-vertica/trunk/debian/changelog
  packages/python-vertica/trunk/debian/compat
  packages/python-vertica/trunk/debian/control
  packages/python-vertica/trunk/debian/copyright
  packages/python-vertica/trunk/debian/patches/
  packages/python-vertica/trunk/debian/patches/python3_compatibility.patch
  packages/python-vertica/trunk/debian/patches/series
  packages/python-vertica/trunk/debian/py3dist-overrides
  packages/python-vertica/trunk/debian/rules
  packages/python-vertica/trunk/debian/source/
  packages/python-vertica/trunk/debian/source/format
  packages/python-vertica/trunk/debian/watch


Property changes on: packages/python-vertica/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-vertica/trunk/debian/changelog
===================================================================
--- packages/python-vertica/trunk/debian/changelog	                        (rev 0)
+++ packages/python-vertica/trunk/debian/changelog	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1,5 @@
+python-vertica (0.2.3-1) unstable; urgency=medium
+
+  * Closes: #754703
+
+ -- Jean Baptiste Favre <debian at jbfavre.org>  Mon, 16 Jun 2014 11:27:31 +0200

Added: packages/python-vertica/trunk/debian/compat
===================================================================
--- packages/python-vertica/trunk/debian/compat	                        (rev 0)
+++ packages/python-vertica/trunk/debian/compat	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1 @@
+8

Added: packages/python-vertica/trunk/debian/control
===================================================================
--- packages/python-vertica/trunk/debian/control	                        (rev 0)
+++ packages/python-vertica/trunk/debian/control	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1,30 @@
+Source: python-vertica
+Maintainer: Jean Baptiste Favre <debian at jbfavre.org>
+Section: contrib/python
+Priority: optional
+Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python-setuptools, debhelper (>= 8), dh-python, python3-all, python3-setuptools
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-vertica
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: native Python client for the Vertica database
+ HP Vertica is a commercial column-oriented database.
+ .
+ This package provides all the source, examples and documentation you need
+ to easily connect to and interact with Vertica.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-vertica
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: native Python client for the Vertica database (Python 3)
+ HP Vertica is a commercial column-oriented database.
+ .
+ This package provides all the source, examples and documentation you need
+ to easily connect to and interact with Vertica.
+ .
+ This is the Python 3 version of the package.

Added: packages/python-vertica/trunk/debian/copyright
===================================================================
--- packages/python-vertica/trunk/debian/copyright	                        (rev 0)
+++ packages/python-vertica/trunk/debian/copyright	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1,30 @@
+Files: *
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Uber Technologies, Inc.
+Upstream-Contact: alex.kim at uber.com
+Source: https://github.com/uber/vertica-python
+Copyright: Copyright (c) 2013 Uber Technologies, Inc.
+License: Expat
+
+Files: debian/*
+Copyright: 2014 Jean Baptiste Favre
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.

Added: packages/python-vertica/trunk/debian/patches/python3_compatibility.patch
===================================================================
--- packages/python-vertica/trunk/debian/patches/python3_compatibility.patch	                        (rev 0)
+++ packages/python-vertica/trunk/debian/patches/python3_compatibility.patch	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1,33 @@
+Description: Python3 syntax compatibility
+ Some syntax fixes with print() function and Exceptions
+ to make module python3 runnable.
+Author: Jean Baptiste Favre <debian at jbfavre.org>
+Origin: other
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: python-vertica/vertica_python/vertica/connection.py
+===================================================================
+--- python-vertica.orig/vertica_python/vertica/connection.py	2014-07-14 22:05:37.409188913 +0200
++++ python-vertica/vertica_python/vertica/connection.py	2014-07-14 22:06:32.729207649 +0200
+@@ -131,10 +131,10 @@
+             raise TypeError("invalid message: ({0})".format(message))
+ 
+         if getattr(self, 'debug', False):
+-            print "=> {0}".format(message)
++            print ( "=> {0}", format(message))
+         try:
+             self._socket().sendall(message.to_bytes())
+-        except Exception, e:
++        except Exception as e:
+             self.close_socket()
+             raise errors.ConnectionError(e.message)
+ 
+@@ -164,7 +164,7 @@
+                     raise errors.MessageError("Bad message size: {0}".format(size))
+                 message = BackendMessage.factory(type, self.read_bytes(size - 4))
+                 if getattr(self, 'debug', False):
+-                    print "<= {0}".format(message)
++                    print ("<= {0}", format(message))
+                 return message
+             else:
+                 self.close()

Added: packages/python-vertica/trunk/debian/patches/series
===================================================================
--- packages/python-vertica/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-vertica/trunk/debian/patches/series	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1 @@
+python3_compatibility.patch

Added: packages/python-vertica/trunk/debian/py3dist-overrides
===================================================================
--- packages/python-vertica/trunk/debian/py3dist-overrides	                        (rev 0)
+++ packages/python-vertica/trunk/debian/py3dist-overrides	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1 @@
+python_dateutil python3-dateutil

Added: packages/python-vertica/trunk/debian/rules
===================================================================
--- packages/python-vertica/trunk/debian/rules	                        (rev 0)
+++ packages/python-vertica/trunk/debian/rules	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=vertica
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild


Property changes on: packages/python-vertica/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-vertica/trunk/debian/source/format
===================================================================
--- packages/python-vertica/trunk/debian/source/format	                        (rev 0)
+++ packages/python-vertica/trunk/debian/source/format	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-vertica/trunk/debian/watch
===================================================================
--- packages/python-vertica/trunk/debian/watch	                        (rev 0)
+++ packages/python-vertica/trunk/debian/watch	2014-07-16 18:54:50 UTC (rev 29787)
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/<project>-$1\.tar\.gz/ \
+  https://github.com/uber/vertica-python/tags .*/v?(\d\S*)\.tar\.gz




More information about the Python-modules-commits mailing list