Package: bluewho
Version: 0.1-1
Followup-For: Bug #785964
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 -u bluewho-0.1/debian/control bluewho-0.1/debian/control
--- bluewho-0.1/debian/control
+++ bluewho-0.1/debian/control
@@ -4,11 +4,11 @@
 Maintainer: Fabio Castelli <mufl...@vbsimple.net>
 Uploaders: Python Applications Packaging Team <python-apps-t...@lists.alioth.debian.org>
 Standards-Version: 3.8.3
-Build-Depends: cdbs (>= 0.4.49), python (>= 2.5), debhelper (>= 7)
-Build-Depends-Indep: python-support (>=0.6)
+Build-Depends: python (>= 2.6.6-3~), dh-python, debhelper (>= 7)
 Homepage: http://code.google.com/p/bluewho/
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/bluewho/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/bluewho/trunk/
+X-Python-Version: >= 2.5
 
 Package: bluewho
 Architecture: all
reverted:
--- bluewho-0.1/debian/pyversions
+++ bluewho-0.1.orig/debian/pyversions
@@ -1 +0,0 @@
-2.5-
diff -u bluewho-0.1/debian/rules bluewho-0.1/debian/rules
--- bluewho-0.1/debian/rules
+++ bluewho-0.1/debian/rules
@@ -2,11 +2,5 @@
+%:
+	dh $@ --with python2
 
-DEB_PYTHON_SYSTEM=pysupport
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib=/usr/share/bluewho
-
-clean::
-	rm -rf build/
-
+override_dh_auto_install:
+	python setup.py install --force --root=/tmp/buildd/bluewho-0.1/debian/bluewho --no-compile -O0 --install-layout=deb --install-lib=/usr/share/bluewho
reverted:
--- bluewho-0.1/debian/pycompat
+++ bluewho-0.1.orig/debian/pycompat
@@ -1 +0,0 @@
-2

Reply via email to