[med-svn] [gnumed-client] 01/01: Set PYTHONPATH for gm-import_incoming

Andreas Tille tille at debian.org
Wed Apr 27 11:46:21 UTC 2016


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

tille pushed a commit to branch master
in repository gnumed-client.

commit 986f21cc320e08cdccb928e2ef3caef21080f56a
Author: Andreas Tille <tille at debian.org>
Date:   Wed Apr 27 13:46:09 2016 +0200

    Set PYTHONPATH for gm-import_incoming
---
 debian/changelog                                  |  6 ++++++
 debian/patches/10_pythonpath_in_shellscript.patch | 11 +++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9b5f5b1..fa8a918 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gnumed-client (1.6.5+dfsg-2) UNRELEASED; urgency=medium
+
+  * Set PYTHONPATH for gm-import_incoming
+
+ -- Andreas Tille <tille at debian.org>  Wed, 27 Apr 2016 13:45:32 +0200
+
 gnumed-client (1.6.5+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/patches/10_pythonpath_in_shellscript.patch b/debian/patches/10_pythonpath_in_shellscript.patch
index 0bd97e2..c023efe 100644
--- a/debian/patches/10_pythonpath_in_shellscript.patch
+++ b/debian/patches/10_pythonpath_in_shellscript.patch
@@ -20,3 +20,14 @@ Description: Adapt PYTHONPATH
  
  
  # source systemwide startup extension shell script if it exists
+--- a/external-tools/gm-import_incoming
++++ b/external-tools/gm-import_incoming
+@@ -19,7 +19,7 @@ OPTIONS=$@
+ # packages which install the GNUmed python modules into a path not
+ # already accessible for imports via sys.path (say, /usr/share/gnumed/)
+ # may need to adjust PYTHONPATH appropriately here
+-#export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}/usr/share/gnumed/"
++export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}/usr/share/gnumed/"
+ 
+ 
+ # now run the actual script

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gnumed-client.git



More information about the debian-med-commit mailing list