diff -u m2crypto-0.18.2/debian/changelog m2crypto-0.18.2/debian/changelog --- m2crypto-0.18.2/debian/changelog +++ m2crypto-0.18.2/debian/changelog @@ -1,3 +1,11 @@ +m2crypto (0.18.2-1ubuntu1) intrepid; urgency=low + + * debian/patches/01-inspect_import_missing.patch: inspect import missing + (LP: #242156) + * debian/rules,debian/control: added quilt dependency. + + -- Andrea Gasparini Tue, 01 Jul 2008 09:57:26 +0200 + m2crypto (0.18.2-1) unstable; urgency=low * New upstream release (Closes: #440837) diff -u m2crypto-0.18.2/debian/control m2crypto-0.18.2/debian/control --- m2crypto-0.18.2/debian/control +++ m2crypto-0.18.2/debian/control @@ -2,7 +2,7 @@ Section: python Priority: optional Maintainer: Dima Barsky -Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.4), libssl-dev (>= 0.9.7), swig (>= 1.3.24), python-setuptools (>=0.6c5-3) +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.4), libssl-dev (>= 0.9.7), swig (>= 1.3.24), python-setuptools (>=0.6c5-3), quilt Standards-Version: 3.7.2 Package: python-m2crypto diff -u m2crypto-0.18.2/debian/rules m2crypto-0.18.2/debian/rules --- m2crypto-0.18.2/debian/rules +++ m2crypto-0.18.2/debian/rules @@ -19,8 +19,12 @@ INSTALL_PROGRAM += -s endif +export QUILT_PATCHES=debian/patches +include /usr/share/quilt/quilt.make + + configure: configure-stamp -configure-stamp: +configure-stamp: patch dh_testdir # Add here commands to configure the package. @@ -37,7 +41,7 @@ touch build-stamp -clean: +clean: unpatch dh_testdir for version in $(versions); \ do python$$version setup.py clean -a; \ only in patch2: unchanged: --- m2crypto-0.18.2.orig/debian/patches/01-inspect_import_missing.patch +++ m2crypto-0.18.2/debian/patches/01-inspect_import_missing.patch @@ -0,0 +1,11 @@ +diff -Naurb m2crypto-0.18.2.orig/M2Crypto/m2urllib2.py m2crypto-0.18.2/M2Crypto/m2urllib2.py +--- m2crypto-0.18.2.orig/M2Crypto/m2urllib2.py 2008-06-30 18:14:54.000000000 +0200 ++++ m2crypto-0.18.2/M2Crypto/m2urllib2.py 2008-06-30 18:16:53.000000000 +0200 +@@ -16,6 +16,7 @@ + + import SSL + import httpslib ++import inspect + + class HTTPSHandler(AbstractHTTPHandler): + def __init__(self, ssl_context = None): only in patch2: unchanged: --- m2crypto-0.18.2.orig/debian/patches/series +++ m2crypto-0.18.2/debian/patches/series @@ -0,0 +1 @@ +01-inspect_import_missing.patch