Uploading to delayed 7 since there's non-RC changes in the diff.  Feel free to 
cancel the upload if you'd rather do it differently.

Scott K
diff -u python-pypcap-1.1.2+debian/debian/rules python-pypcap-1.1.2+debian/debian/rules
--- python-pypcap-1.1.2+debian/debian/rules
+++ python-pypcap-1.1.2+debian/debian/rules
@@ -44,7 +44,7 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_pycentral
+	dh_python2
 	dh_installchangelogs 
 	dh_installdocs
 	dh_installexamples
diff -u python-pypcap-1.1.2+debian/debian/changelog python-pypcap-1.1.2+debian/debian/changelog
--- python-pypcap-1.1.2+debian/debian/changelog
+++ python-pypcap-1.1.2+debian/debian/changelog
@@ -1,3 +1,12 @@
+python-pypcap (1.1.2+debian-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Detect libpcap in multiarch location, patch from Ubuntu; closes: #634420.
+  * Switch from python-central (deprecated) to dh_python2; closes: #617019.
+  * Add misc:Depends
+
+ -- Scott Kitterman <sc...@kitterman.com>  Tue, 13 Dec 2011 23:46:13 -0500
+
 python-pypcap (1.1.2+debian-2) unstable; urgency=low
 
   * Patch setup.py to search <pcap/pcap.h> as well as <pcap.h> for needed
diff -u python-pypcap-1.1.2+debian/debian/control python-pypcap-1.1.2+debian/debian/control
--- python-pypcap-1.1.2+debian/debian/control
+++ python-pypcap-1.1.2+debian/debian/control
@@ -2,16 +2,14 @@
 Section: python
 Priority: optional
 Maintainer: Robert S. Edmonds <edmo...@debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11),
- python-central (>= 0.5.6), python-pyrex, libpcap0.8-dev, quilt
+Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.6.6-3~),
+ python-pyrex, libpcap0.8-dev, quilt
 Standards-Version: 3.8.1
-XS-Python-Version: all
 
 Package: python-pypcap
 Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
 Description: object-oriented Python interface for libpcap
  pypcap is an objected-oriented Python interface for libpcap which
  supports packet injection and user callback functions.
diff -u python-pypcap-1.1.2+debian/debian/patches/series python-pypcap-1.1.2+debian/debian/patches/series
--- python-pypcap-1.1.2+debian/debian/patches/series
+++ python-pypcap-1.1.2+debian/debian/patches/series
@@ -2,0 +3 @@
+30_multiarch
only in patch2:
unchanged:
--- python-pypcap-1.1.2+debian.orig/debian/patches/30_multiarch
+++ python-pypcap-1.1.2+debian/debian/patches/30_multiarch
@@ -0,0 +1,15 @@
+Index: python-pypcap-1.1.2+debian/setup.py
+===================================================================
+--- python-pypcap-1.1.2+debian.orig/setup.py	2011-09-22 14:45:12.954708388 +0000
++++ python-pypcap-1.1.2+debian/setup.py	2011-09-22 14:45:36.964743618 +0000
+@@ -48,6 +48,10 @@
+                 incdirs = [ os.path.join(d, sd) ]
+                 if os.path.exists(os.path.join(d, sd, 'pcap.h')):
+                     cfg['include_dirs'] = [ os.path.join(d, sd) ]
++                    cfg['library_dirs'] = [ os.path.join(d, sd) ]
++                    cfg['libraries'] = [ 'pcap' ]
++                    self._write_config_h(cfg)
++                    return cfg
+                     for sd in ('lib', ''):
+                         for lib in (('pcap', 'libpcap.a'),
+                                     ('pcap', 'libpcap.dylib'),

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to