Dear maintainer,

I've prepared an NMU for ncap (versioned as 1.9.1-1.1) and
uploaded it to DELAYED/5.

On Tue, Nov 17, 2009 at 03:33:24PM -0500, Robert Edmonds wrote:
> Jakub Wilk wrote:
> > Starting from Python 2.6, the installation paths for distutils have
> > changed. /usr/local is now used by default.
>
> huh, ok.  that sounds like it will break a lot of packages.

sadly yes :(

> > The attached patch fixes this problem. However, please consider also
> > switching from python-central to python-support:
> > http://wiki.debian.org/DebianPython/central2support
>
> wow, i wonder if debian will ever have a stable method of building
> python packages.

We (as in python modules/apps teams) are trying to stadardize on python-support,
so we are advertising that such a switch is really welcome.

Additionally, we'd be happy if you would consider joining such teams to maintain
you python-related packages. Feel free to ask me any questions or doubts about
it.

Regards.
diff -u ncap-1.9.1/debian/rules ncap-1.9.1/debian/rules
--- ncap-1.9.1/debian/rules
+++ ncap-1.9.1/debian/rules
@@ -13,5 +13,5 @@
 override_dh_auto_install:
 	dh_auto_install
-	cd pyncap && for python in $(shell pyversions -r); do $$python setup.py install --root=../debian/python-ncap; done
+	cd pyncap && for python in $(shell pyversions -r); do $$python setup.py install --root=../debian/python-pyncap --install-layout=deb; done
 
 binary: binary-arch binary-indep
diff -u ncap-1.9.1/debian/changelog ncap-1.9.1/debian/changelog
--- ncap-1.9.1/debian/changelog
+++ ncap-1.9.1/debian/changelog
@@ -1,3 +1,16 @@
+ncap (1.9.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload, in preparation of Python 2.6 transition
+  * debian/control
+    - bump python-all-dev versioned depends
+  * debian/rules
+    - pass '--install-layout=deb' to 'setup.py install'
+  * debian/{control, rules}
+    - renamed python-ncap to python-pyncap, as per Python Policy for binary
+      packages names
+
+ -- Sandro Tosi <[email protected]>  Sat, 05 Dec 2009 10:36:45 +0100
+
 ncap (1.9.1-1) unstable; urgency=low
 
   * Initial release; closes: #545791.
diff -u ncap-1.9.1/debian/control ncap-1.9.1/debian/control
--- ncap-1.9.1/debian/control
+++ ncap-1.9.1/debian/control
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Robert S. Edmonds <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.3.5-11),
+Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.5.4-1~),
  python-central (>= 0.5.6), autotools-dev, autoconf, automake, libtool,
  libbind4-dev, libpcap0.8-dev, python-pyrex
 Standards-Version: 3.8.3
@@ -48,10 +48,12 @@
  .
  This package contains the ncaptool command line program.
 
-Package: python-ncap
+Package: python-pyncap
 Section: python
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Replaces: python-ncap
+Conflicts: python-ncap
 XB-Python-Version: ${python:Versions}
 Description: Python bindings for libncap
  ncap is a network capture library like libpcap (on which it is based)

Reply via email to