Package: liblinear
Version: 1.8+dfsg-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu quantal ubuntu-patch

Dear Maintainer,

When reviewing liblinear for inclusion in Ubuntu main (nmap now Depends on
it), I noticed that it still used python-support.

Here's a patch to convert to the now-recommended dh_python2.  Thanks for
considering it.


-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 
'quantal')
Architecture: i386 (i686)

Kernel: Linux 3.5.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru liblinear-1.8+dfsg/debian/control liblinear-1.8+dfsg/debian/control
--- liblinear-1.8+dfsg/debian/control	2011-04-11 13:27:57.000000000 -0400
+++ liblinear-1.8+dfsg/debian/control	2012-07-02 16:47:29.000000000 -0400
@@ -4,13 +4,14 @@
 Uploaders: Chen-Tse Tsai <[email protected]>
 Build-Depends:
     debhelper (>= 7.0.50~),
-    python-support (>= 0.90),
+    python-all (>= 2.6.6-3~),
     libblas-dev
 Standards-Version: 3.9.2
 Section: libs
 Homepage: http://www.csie.ntu.edu.tw/~cjlin/liblinear/
 Vcs-Git: git://scm.kvr.at/git/pkg-liblinear.git
 Vcs-Browser: http://scm.kvr.at/git/?p=pkg-liblinear.git;a=summary
+X-Python-Version: >= 2.5
 
 Package: liblinear-dev
 Section: libdevel
diff -Nru liblinear-1.8+dfsg/debian/pyversions liblinear-1.8+dfsg/debian/pyversions
--- liblinear-1.8+dfsg/debian/pyversions	2011-04-11 13:27:57.000000000 -0400
+++ liblinear-1.8+dfsg/debian/pyversions	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-2.5-
diff -Nru liblinear-1.8+dfsg/debian/rules liblinear-1.8+dfsg/debian/rules
--- liblinear-1.8+dfsg/debian/rules	2011-04-11 13:27:57.000000000 -0400
+++ liblinear-1.8+dfsg/debian/rules	2012-07-02 16:13:59.000000000 -0400
@@ -29,7 +29,7 @@
 
 
 %:
-	dh $@ 
+	dh $@ --with=python2
 
 
 # Help out backporters on platforms not supporting c++ tags in symbols files

Reply via email to