--- python-mhash-1.4.orig/debian/pycompat
+++ python-mhash-1.4/debian/pycompat
@@ -0,0 +1 @@
+2
--- python-mhash-1.4.orig/debian/copyright
+++ python-mhash-1.4/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Soren Hansen <soren@ubuntu.com> on
+Thu, 10 Sep 2009 15:47:00 +0200
+
+ python-mhash - python mhash library interface
+
+ Copyright (c) 2002 Gustavo Niemeyer <niemeyer@conectiva.com>
+
+ This library 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 2.1 of the License, or (at your option) any later version.
+
+ This library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+Debian packaging is Copyright 2009 Canonical Ltd. and licensed like
+python-mhash itself.
--- python-mhash-1.4.orig/debian/python-mhash.install
+++ python-mhash-1.4/debian/python-mhash.install
@@ -0,0 +1 @@
+usr/lib/python2*
--- python-mhash-1.4.orig/debian/watch
+++ python-mhash-1.4/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://labix.org/python-mhash /download/python-mhash/python-mhash-(.*).tar.gz
--- python-mhash-1.4.orig/debian/control
+++ python-mhash-1.4/debian/control
@@ -0,0 +1,30 @@
+Source: python-mhash
+Section: python
+Priority: optional
+Maintainer: Soren Hansen <soren@ubuntu.com>
+Build-Depends: cdbs, debhelper (>= 5.0.38), python-all-dev, python-all-dbg, python-support, libmhash-dev
+Standards-Version: 3.8.3
+Homepage: http://labix.org/python-mhash
+
+Package: python-mhash
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for libmhash
+ python-mhash is a comprehensive Python interface to the mhash library, which
+ provides a uniform interface to access several hashing algorithms such as MD4,
+ MD5, SHA1, SHA160, and many others.
+
+Package: python-mhash-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: python-mhash (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Description: debugging symbols for Python bindings for libmhash
+ python-mhash is a comprehensive Python interface to the mhash library, which
+ provides a uniform interface to access several hashing algorithms such as MD4,
+ MD5, SHA1, SHA160, and many others.
+ .
+ This package contains the debugging symbols for python-mhash.
+
--- python-mhash-1.4.orig/debian/pyversions
+++ python-mhash-1.4/debian/pyversions
@@ -0,0 +1 @@
+2.3-
--- python-mhash-1.4.orig/debian/rules
+++ python-mhash-1.4/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+DEB_DH_INSTALL_SOURCEDIR:=debian/tmp
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+clean::
+ rm -rf build
+
+$(patsubst %,build/%,$(DEB_DBG_PACKAGES))::
+ set -e; \
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg $(DEB_PYTHON_SETUP_CMD) build; \
+ done
+
+$(patsubst %,install/%,$(DEB_DBG_PACKAGES))::
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg $(DEB_PYTHON_SETUP_CMD) install --root $(CURDIR)/debian/$(cdbs_curpkg); \
+ done
+ find debian/$(cdbs_curpkg) \
+ ! -type d ! -name '*_d.so' | xargs rm -f
+ find debian/$(cdbs_curpkg) -depth -empty -exec rmdir {} \;
+
+$(patsubst %,binary-predeb/%,$(DEB_DBG_PACKAGES))::
+ rm -rf debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)
+ ln -s $(subst -dbg,,$(cdbs_curpkg)) debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)
--- python-mhash-1.4.orig/debian/changelog
+++ python-mhash-1.4/debian/changelog
@@ -0,0 +1,24 @@
+python-mhash (1.4-1) unstable; urgency=low
+
+ * Upload to Debian. (Closes: #554048)
+ * Add python-mhash-dbg package.
+ * Add watch file.
+ * Change priority to optional.
+
+ -- Soren Hansen <soren@ubuntu.com> Fri, 06 Nov 2009 10:22:49 +0100
+
+python-mhash (1.4-0ubuntu2) karmic; urgency=low
+
+ * Add Build-Dependency on python-all-dev to also build the extension
+ for Python 2.5.
+ * Add an explicit XS-Python-Version header instead of relying on
+ defaults.
+
+ -- Soren Hansen <soren@ubuntu.com> Fri, 11 Sep 2009 09:17:22 +0200
+
+python-mhash (1.4-0ubuntu1) karmic; urgency=low
+
+ * Initial release (FFe: LP: #427581).
+
+ -- Soren Hansen <soren@ubuntu.com> Tue, 08 Sep 2009 11:42:26 +0200
+
--- python-mhash-1.4.orig/debian/compat
+++ python-mhash-1.4/debian/compat
@@ -0,0 +1 @@
+5