Package: cwiid
Version: 0.6.00+svn201-3.1
Followup-For: Bug #785989
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Convert to dh-python2.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), 
(100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-18-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru cwiid-0.6.00+svn201/debian/control.in cwiid-0.6.00+svn201/debian/control.in
--- cwiid-0.6.00+svn201/debian/control.in	2011-04-23 18:27:34.000000000 -0400
+++ cwiid-0.6.00+svn201/debian/control.in	2015-05-28 01:40:45.000000000 -0400
@@ -4,7 +4,7 @@
 Maintainer: Romain Beauxis <to...@rastageeks.org>
 XS-Python-Version: all
 Build-Depends: @cdbs@, 
-               python-all-dev, python, python-support, 
+               python-all-dev (>= 2.6.6-3~), dh-python, 
                libbluetooth-dev, libgtk2.0-dev, flex, bison
 Standards-Version: 3.9.2
 Homepage: http://abstrakraft.org/cwiid/
@@ -12,8 +12,6 @@
 Package: python-cwiid
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}, libcwiid1 (>= ${binary:Version}), ${misc:Depends}
-XB-Python-Version: ${python:Versions}
-Provides: ${python:Provides}
 Section: python
 Description: library to interface with the wiimote
  CWiid is a working userspace driver along with various
diff -Nru cwiid-0.6.00+svn201/debian/rules cwiid-0.6.00+svn201/debian/rules
--- cwiid-0.6.00+svn201/debian/rules	2014-02-16 02:45:51.000000000 -0500
+++ cwiid-0.6.00+svn201/debian/rules	2015-05-28 01:34:07.000000000 -0400
@@ -25,7 +25,7 @@
 #LDFLAGS := -Wl,--as-needed -lbluetooth -lrt
 
 binary-install/python-cwiid::
-	dh_pysupport -ppython-cwiid
+	dh_python2 -ppython-cwiid
 
 configure/lswm::
 	mkdir -p $(CURDIR)/debian/tmp/usr/bin

Reply via email to