Package: tunesviewer
Version: 1.4.99.2-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Dear Maintainer,

Your package currently doesn't use dh-python2, which fixes shebangs in the
Python files and adds proper .rtupdate, prerm, and postinst files to the
package to make sure that the files are cleaned/compiled/removed properly.
It also automatically calculates the dependency on Python for the package.

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

  * Use dh-python2.
  * Remove dependency on python-support.

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 tunesviewer-1.4.99.2/debian/control tunesviewer-1.4.99.2/debian/control
--- tunesviewer-1.4.99.2/debian/control	2012-08-27 02:33:19.000000000 -0400
+++ tunesviewer-1.4.99.2/debian/control	2015-05-27 23:17:16.000000000 -0400
@@ -6,20 +6,20 @@
 Priority: optional
 Build-Depends:
  debhelper (>= 8),
- python
+ python (>= 2.6.6-3~),
+ dh-python
 Standards-Version: 3.9.3
 Homepage: http://tunesviewer.sf.net/
 
 Package: tunesviewer
 Architecture: all
 Depends:
- python (>= 2.6),
  python-gtk2 (>= 2.16),
  python-lxml (>= 2.0),
  python-notify,
- python-support (>= 0.90),
  python-webkit (>= 1.1),
- ${misc:Depends}
+ ${misc:Depends},
+ ${python:Depends}
 Recommends:
  rhythmbox-plugins (>= 0.12)
 Suggests:
diff -Nru tunesviewer-1.4.99.2/debian/rules tunesviewer-1.4.99.2/debian/rules
--- tunesviewer-1.4.99.2/debian/rules	2012-08-27 02:33:19.000000000 -0400
+++ tunesviewer-1.4.99.2/debian/rules	2015-05-27 23:09:33.000000000 -0400
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with python2
 
 override_dh_installchangelogs:
 	dh_installchangelogs doc/changelog

Reply via email to