File: 0002-Move-Python-bindings-to-package-liblinear.patch

package info (click to toggle)
liblinear 1.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 380 kB
  • ctags: 291
  • sloc: cpp: 2,064; ansic: 1,386; python: 317; makefile: 90
file content (26 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Christian Kastner <debian@kvr.at>
Date: Fri, 9 Jul 2010 20:30:30 +0200
Subject: [PATCH] Move Python bindings to package liblinear

Upstream ships its Python bindings with very generic names. To avoid possible
name collisions, they have been move to a package "liblinear".

Forwarded: no
Last-Update: 2010-07-09
---
 python/linearutil.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/linearutil.py b/python/linearutil.py
index 06cd1c3..77b510e 100644
--- a/python/linearutil.py
+++ b/python/linearutil.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-from linear import *
+from liblinear.linear import *
 
 def svm_read_problem(data_file_name):
 	"""
--