[med-svn] [pycorrfit] 01/02: d/patches/fix_python_path.patch: adjust path to module location
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Wed Sep 3 15:33:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository pycorrfit.
commit 6a702af3e97636e29957c86eed2baa0fedb7253c
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Wed Sep 3 17:24:56 2014 +0200
d/patches/fix_python_path.patch: adjust path to module location
---
debian/patches/fix_python_path.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/fix_python_path.patch b/debian/patches/fix_python_path.patch
new file mode 100644
index 0000000..2ec5cb3
--- /dev/null
+++ b/debian/patches/fix_python_path.patch
@@ -0,0 +1,15 @@
+From: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
+Subject: fix path for PyCorrFit module
+--- pycorrfit.orig/bin/pycorrfit
++++ pycorrfit/bin/pycorrfit
+@@ -1,8 +1,8 @@
+ #!/bin/sh
+ # debian
+-if [ -f "/usr/share/pyshared/pycorrfit/PyCorrFit.py" ]
++if [ -f "/usr/lib/python2.7/dist-packages/pycorrfit/PyCorrFit.py" ]
+ then
+- python /usr/share/pyshared/pycorrfit/PyCorrFit.py
++ python /usr/lib/python2.7/dist-packages/pycorrfit/PyCorrFit.py
+ elif [ -f "/usr/local/lib/python2.7/dist-packages/pycorrfit/PyCorrFit.py" ]
+ # pip
+ then
diff --git a/debian/patches/series b/debian/patches/series
index 48df457..6ceac18 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix_python_path.patch
wx-migration-tools.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pycorrfit.git
More information about the debian-med-commit
mailing list