[liblinear] 71/123: Added patch for namespace switch

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit 38f3164a3ce479dab732f8346e54652497d67686
Author: Christian Kastner <debian at kvr.at>
Date:   Fri Mar 11 19:49:06 2011 +0100

    Added patch for namespace switch
    
    Couldn't be avoided after all...
---
 debian/patches/0004-Python-namespace-change.patch | 25 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0004-Python-namespace-change.patch b/debian/patches/0004-Python-namespace-change.patch
new file mode 100644
index 0000000..6e3b339
--- /dev/null
+++ b/debian/patches/0004-Python-namespace-change.patch
@@ -0,0 +1,25 @@
+From: Christian Kastner <debian at kvr.at>
+Date: Fri, 11 Mar 2011 19:45:52 +0100
+Subject: [PATCH] Python namespace change
+
+As indicated in NEWS for python-liblinear.
+
+Forwarded: not needed, this change will be in next upstream release.
+Last-Update: 2011-03-11
+---
+ python/linearutil.py |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/python/linearutil.py b/python/linearutil.py
+index 949ba60..90e7a41 100644
+--- a/python/linearutil.py
++++ b/python/linearutil.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env python
+ 
+-from linear import *
++from liblinear import *
+ 
+ def svm_read_problem(data_file_name):
+ 	"""
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 563556b..a206cf1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Properly-build-shared-and-static-libraries-programs.patch
 0003-Add-missing-solver-to-Python-bindings.patch
+0004-Python-namespace-change.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list