--- pbs-0.95.orig/debian/python3-pbs.docs
+++ pbs-0.95/debian/python3-pbs.docs
@@ -0,0 +1,2 @@
+README.md
+AUTHORS.md
--- pbs-0.95.orig/debian/compat
+++ pbs-0.95/debian/compat
@@ -0,0 +1 @@
+8
--- pbs-0.95.orig/debian/rules
+++ pbs-0.95/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
+%:
+ dh $@ --with python2,python3
+
+override_dh_auto_build:
+ set -ex; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py setup.py build; \
+ done
+
+override_dh_auto_install:
+ set -ex; \
+ for py in $(PYVERS); do \
+ $$py setup.py install --skip-build --no-compile \
+ --root debian/python-pbs \
+ --install-layout=deb; \
+ done
+ set -ex; \
+ for py in $(PY3VERS); do \
+ $$py setup.py install --skip-build --no-compile \
+ --root debian/python3-pbs \
+ --install-layout=deb; \
+ done
--- pbs-0.95.orig/debian/docs
+++ pbs-0.95/debian/docs
@@ -0,0 +1,2 @@
+README.md
+AUTHORS.md
--- pbs-0.95.orig/debian/control
+++ pbs-0.95/debian/control
@@ -0,0 +1,30 @@
+Source: pbs
+Section: python
+Priority: extra
+Maintainer: Nick Moffitt <nick@zork.net>
+Build-Depends: debhelper (>= 8.0.0), python-all, python-setuptools, python3-all, python3-setuptools
+X-Python-Version: >= 2.6
+Standards-Version: 3.9.2
+Homepage: https://github.com/amoffat/pbs
+
+Package: python-pbs
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: Python 2 module for executing shell commands as functions
+ PBS is a unique subprocess wrapper that maps your system programs to
+ Python functions dynamically. PBS helps you write shell scripts in
+ Python by giving you the good features of Bash (easy command calling,
+ easy piping) with all the power and flexibility of Python.
+ .
+ This package contains the library for Python 2.x.
+
+Package: python3-pbs
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Python 3 module for executing shell commands as functions
+ PBS is a unique subprocess wrapper that maps your system programs to
+ Python functions dynamically. PBS helps you write shell scripts in
+ Python by giving you the good features of Bash (easy command calling,
+ easy piping) with all the power and flexibility of Python.
+ .
+ This package contains the library for Python 3.x.
--- pbs-0.95.orig/debian/changelog
+++ pbs-0.95/debian/changelog
@@ -0,0 +1,60 @@
+pbs (0.95-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Nick Moffitt <nick@zork.net> Fri, 17 Feb 2012 12:43:30 +0000
+
+pbs (0.90-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Nick Moffitt <nick@zork.net> Sun, 05 Feb 2012 00:23:17 +0000
+
+pbs (0.81-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fix license revision numbers in copyright file for consistency.
+
+ -- Nick Moffitt <nick@zork.net> Fri, 03 Feb 2012 22:47:47 +0000
+
+pbs (0.80-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Nick Moffitt <nick@zork.net> Fri, 03 Feb 2012 09:12:42 +0000
+
+pbs (0.75-2) unstable; urgency=low
+
+ * Added debian/python3-pbs.docs to match debian/docs
+
+ -- Nick Moffitt <nick@zork.net> Thu, 02 Feb 2012 20:22:40 +0000
+
+pbs (0.75-1) unstable; urgency=low
+
+ * New Upstream Version
+ * Include AUTHORS file in docs
+ * Fix debian/copyright to match upstream LICENSE.txt
+ * Incorporate mentoring advice on cleaning up debian/rules and
+ debian/control from Luca Falavigna <dktrkranz@debian.org>
+ * Require at least python 2.6 to support context managers without
+ __future__ imports
+
+ -- Nick Moffitt <nick@zork.net> Thu, 02 Feb 2012 18:54:21 +0000
+
+pbs (0.71-2) unstable; urgency=low
+
+ * Add support for Python 3
+
+ -- Nick Moffitt <nick@zork.net> Thu, 02 Feb 2012 09:32:07 +0000
+
+pbs (0.71-1) unstable; urgency=low
+
+ * New Upstream Version
+
+ -- Nick Moffitt <nick@zork.net> Wed, 01 Feb 2012 23:19:59 +0000
+
+pbs (0.7-1) unstable; urgency=low
+
+ * Initial release (Closes: #658287, #658308)
+
+ -- Nick Moffitt <nick@zork.net> Wed, 01 Feb 2012 21:15:29 +0000
--- pbs-0.95.orig/debian/copyright
+++ pbs-0.95/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: pbs
+Source: http://pypi.python.org/pypi/pbs/
+
+Files: *
+Copyright: 2011-2012 Andrew Moffat <andrew.robert.moffat@gmail.com>
+License: X11
+ 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.
+
+Files: debian/*
+Copyright: 2012 Nick Moffitt <nick@zork.net>
+License: GPL-3.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
--- pbs-0.95.orig/debian/watch
+++ pbs-0.95/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://pypi.python.org/packages/source/p/pbs/pbs-(.*)\.tar\.gz
--- pbs-0.95.orig/debian/source/format
+++ pbs-0.95/debian/source/format
@@ -0,0 +1 @@
+1.0