tags 616958 + patch
thanks

On Mon, 2011-03-07 at 00:50 +0000, Matthias Klose wrote:
> The package build-depends on python-central, which should be
> removed in time for the wheezy release.  dh_python2 should be used instead.
> dh_python2 installs into the same locations as pycentral, but
> avoids the creation and removal of symlinks at package installation
> and removal time, making the upgrade process more robust and faster.

Hi,

Attached is a patch to upgrade to dh_python2.

I also dropped the Conflicts/Replaces stuff because the -2.[34] packages
we never part of a stable release as far as I can tell.

Btw, the Vcs-Browser field should be updated to
  http://anonscm.debian.org/viewvc/pkg-bluetooth/packages/pybluez/trunk
but doesn't seem to work ATM (the SVN repository does work).

Thanks,

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --



Index: debian/changelog
===================================================================
--- debian/changelog	(revision 1181)
+++ debian/changelog	(working copy)
@@ -1,3 +1,12 @@
+pybluez (0.18-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Moved packaging from python-central to dh_python2 (Closes: #616958).
+  * Drop Conflicts/Replaces on ancient versions which never shipped in a
+    stable release.
+
+ -- Arthur de Jong <adej...@debian.org>  Sat, 03 Mar 2012 00:09:19 +0100
+
 pybluez (0.18-1) unstable; urgency=low
 
   [ Albert Huang ]
Index: debian/control
===================================================================
--- debian/control	(revision 1181)
+++ debian/control	(working copy)
@@ -3,20 +3,16 @@
 Priority: optional
 Maintainer: Debian Bluetooth Maintainers <pkg-bluetooth-maintain...@lists.alioth.debian.org>
 Uploaders: Albert Huang <alb...@csail.mit.edu>
-Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.3.5-6), python-all-dev (>= 2.3.5-11), libbluetooth-dev, python-central (>= 0.4.17)
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.6.6-3~), libbluetooth-dev
 Vcs-Svn: svn://svn.debian.org/pkg-bluetooth/packages/pybluez/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-bluetooth/packages/pybluez/trunk
 Homepage: http://pybluez.googlecode.com
 Standards-Version: 3.8.3
-XS-Python-Version: all
 
 Package: python-bluez
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Provides: python-bluetooth, ${python:Provides}
-Conflicts: python-bluetooth, python2.3-bluez (<< 0.7.1-3), python2.4-bluez (<< 0.7.1-3)
-Replaces: python2.3-bluez (<< 0.7.1-3), python2.4-bluez (<< 0.7.1-3)
-XB-Python-Version: ${python:Versions}
 Description: Python wrappers around BlueZ for rapid bluetooth development
  PyBluez is an effort to create Python wrappers around BlueZ to allow Python
  developers to use system bluetooth resources. PyBluez works on machines
Index: debian/rules
===================================================================
--- debian/rules	(revision 1181)
+++ debian/rules	(working copy)
@@ -40,7 +40,7 @@
 	done
 
 	rm -rf build
-	dh_clean 
+	dh_clean
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -62,7 +62,7 @@
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_pycentral
+	dh_python2
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
Index: debian/pycompat
===================================================================
--- debian/pycompat	(revision 1181)
+++ debian/pycompat	(working copy)
@@ -1 +0,0 @@
-2

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

Reply via email to