[liblinear] 69/123: Implemented Python namespace change in anticipation of 1.8

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 385925c7b7d7f6dd3401ef9d96f2acce83a02537
Author: Christian Kastner <debian at kvr.at>
Date:   Fri Mar 11 19:28:49 2011 +0100

    Implemented Python namespace change in anticipation of 1.8
---
 debian/python-liblinear.NEWS    | 10 ++++++++++
 debian/python-liblinear.dirs    |  1 +
 debian/python-liblinear.install |  2 --
 debian/rules                    | 10 +++++++++-
 4 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/debian/python-liblinear.NEWS b/debian/python-liblinear.NEWS
new file mode 100644
index 0000000..0aa3cfa
--- /dev/null
+++ b/debian/python-liblinear.NEWS
@@ -0,0 +1,10 @@
+python-liblinear (1.7+dfsg-1) unstable; urgency=low
+
+  NAMEPSACE CHANGE
+
+  In 1.6, we moved the Python bindings to their own namespace.
+  Upstream has now confirmed a similar namespace move for the 1.8. Since we
+  are currently incompatible with upstream anyway, the namespace for 1.7 has
+  been changed to the one agreed on with upstream for 1.8+.
+
+ -- Christian Kastner <debian at kvr.at>  Fri, 11 Mar 2011 19:23:05 +0100
diff --git a/debian/python-liblinear.dirs b/debian/python-liblinear.dirs
new file mode 100644
index 0000000..9eeccc3
--- /dev/null
+++ b/debian/python-liblinear.dirs
@@ -0,0 +1 @@
+usr/share/pyshared
diff --git a/debian/python-liblinear.install b/debian/python-liblinear.install
deleted file mode 100644
index 4fbb7a2..0000000
--- a/debian/python-liblinear.install
+++ /dev/null
@@ -1,2 +0,0 @@
-python/linear.py usr/share/pyshared/liblinear
-python/linearutil.py usr/share/pyshared/liblinear
diff --git a/debian/rules b/debian/rules
index bb8671d..f68a778 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,15 @@ override_dh_makeshlibs:
 	dh_makeshlibs
 
 
+# This is temporary. See debian/python-liblinear.NEWS for a rationale.
+override_dh_install:
+	dh_install
+	cp python/linear.py \
+		debian/python-liblinear/usr/share/pyshared/liblinear.py
+	cp python/linearutil.py \
+		debian/python-liblinear/usr/share/pyshared/liblinearutil.py
+
+
 override_dh_compress:
 	dh_compress -Xexamples
 
@@ -74,4 +83,3 @@ get-orig-source:
 			liblinear-$(UPVER).orig
 	
 	rm -rf liblinear-$(UPVER).orig 
-

-- 
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