--- pyodbc-2.1.7.orig/debian/python-pyodbc.install
+++ pyodbc-2.1.7/debian/python-pyodbc.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2.*/*-packages/pyodbc.so
--- pyodbc-2.1.7.orig/debian/rules
+++ pyodbc-2.1.7/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+build/python-pyodbc-dbg::
+ set -e; \
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg ./setup.py build; \
+ done
+
+install/python-pyodbc-dbg::
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-pyodbc-dbg; \
+ done
+ find debian/python-pyodbc-dbg \
+ ! -type d ! -name '*_d.so' | xargs rm -f
+ find debian/python-pyodbc-dbg -depth -empty -exec rmdir {} \;
+
+
+binary-predeb/python-pyodbc-dbg::
+ rm -rf debian/python-pyodbc-dbg/usr/share/doc/python-pyodbc-dbg
+ ln -s python-pyodbc debian/python-pyodbc-dbg/usr/share/doc/python-pyodbc-dbg
+
+clean::
+ rm -rf build
--- pyodbc-2.1.7.orig/debian/watch
+++ pyodbc-2.1.7/debian/watch
@@ -0,0 +1,5 @@
+version=3
+
+http://pyodbc.googlecode.com/ files/pyodbc-(.*)\.zip
+
+
--- pyodbc-2.1.7.orig/debian/compat
+++ pyodbc-2.1.7/debian/compat
@@ -0,0 +1 @@
+7
--- pyodbc-2.1.7.orig/debian/control
+++ pyodbc-2.1.7/debian/control
@@ -0,0 +1,44 @@
+Source: pyodbc
+Section: python
+Priority: optional
+Maintainer: Deepak Tripathi <apenguinlinux@gmail.com>
+Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 7.0.50~), python-all-dev (>= 2.3.5-11), unixodbc-dev, python-support, python-all-dbg
+Standards-Version: 3.8.4
+XS-Python-Version: all
+Homepage: http://code.google.com/p/pyodbc/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyodbc/rtrunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyodbc/trunk/
+
+Package: python-pyodbc
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Description: Python module for ODBC database access
+ A Python DB API 2 module for ODBC. No 3rd party libraries are required.
+ Only native Python datatypes are used, such as decimal and datetime.
+ It implements the Python Database API Specification v2.0.
+ For example:
+ import pyodbc
+ Next, create a connection by passing an ODBC connection string to the
+ connect method. This step causes ODBC to load the database driver (the SQL
+ Server driver in this example) and connect to the database.
+ cnxn = pyodbc.connect('DSN=northwind')
+
+Package: python-pyodbc-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: python-pyodbc (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Description: Python module for ODBC database access - Debugging symbols
+ A Python DB API 2 module for ODBC. No 3rd party libraries are required.
+ Only native Python datatypes are used, such as decimal and datetime.
+ It implements the Python Database API Specification v2.0.
+ For example:
+ import pyodbc
+ Next, create a connection by passing an ODBC connection string to the
+ connect method. This step causes ODBC to load the database driver (the SQL
+ Server driver in this example) and connect to the database.
+ cnxn = pyodbc.connect('DSN=northwind')
+ .
+ This package contains debugging symbols.
--- pyodbc-2.1.7.orig/debian/copyright
+++ pyodbc-2.1.7/debian/copyright
@@ -0,0 +1,40 @@
+This work was packaged for Debian by:
+
+ Deepak Tripathi <apenguinlinux@gmail.com> on Mon, 08 Feb 2010 04:54:56 +0000
+
+It was downloaded from http://code.google.com/p/pyodbc/
+
+Upstream Author(s):
+
+ Author: Michael Kleehammer
+ Author-email: michael@kleehammer.com
+
+Copyright:
+
+ Copyright (c) 2004-2008 Michael Kleehammer
+
+License:
+
+ MIT License:
+
+ 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.
+
+ 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.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Deepak Tripathi <apenguinlinux@gmail.com> and is licensed
+ under the GPL, see `/usr/share/common-licenses/GPL-2'.
+
+
--- pyodbc-2.1.7.orig/debian/changelog
+++ pyodbc-2.1.7/debian/changelog
@@ -0,0 +1,12 @@
+pyodbc (2.1.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Deepak Tripathi <apenguinlinux@gmail.com> Mon, 05 Apr 2010 08:59:22 +0000
+
+pyodbc (2.1.6-1) unstable; urgency=low
+
+ * Initial release (Closes: #455266)
+ * Repacked source to orig.tar.gz from zip
+
+ -- Deepak Tripathi <apenguinlinux@gmail.com> Mon, 08 Feb 2010 04:54:56 +0000
--- pyodbc-2.1.7.orig/debian/pycompat
+++ pyodbc-2.1.7/debian/pycompat
@@ -0,0 +1 @@
+2
--- pyodbc-2.1.7.orig/debian/docs
+++ pyodbc-2.1.7/debian/docs
@@ -0,0 +1 @@
+README.rst
--- pyodbc-2.1.7.orig/debian/source/format
+++ pyodbc-2.1.7/debian/source/format
@@ -0,0 +1 @@
+1.0