[med-svn] [mgltools-vision] 01/01: Fix shebang line of Python scripts

Andreas Tille tille at debian.org
Sat Dec 16 07:06:57 UTC 2017


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

tille pushed a commit to branch master
in repository mgltools-vision.

commit 4d8de08f942897b37a7bf2669475de86d25baea4
Author: Andreas Tille <tille at debian.org>
Date:   Sat Dec 16 08:02:25 2017 +0100

    Fix shebang line of Python scripts
---
 debian/changelog                 |  5 +++--
 debian/patches/fix_shebang.patch | 20 ++++++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index afb13ea..92505fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mgltools-vision (1.5.7+dfsg-1) UNRELEASED; urgency=medium
+mgltools-vision (1.5.7+dfsg-1) unstable; urgency=medium
 
   * Team upload.
   * Repack to remove lena.jpg again
@@ -7,8 +7,9 @@ mgltools-vision (1.5.7+dfsg-1) UNRELEASED; urgency=medium
   * Remove myself from Uploaders
   * Standards-Version: 4.1.2 (cme)
   * debhelper 10
+  * Fix shebang line of Python scripts
 
- -- Andreas Tille <tille at debian.org>  Sat, 16 Dec 2017 07:43:42 +0100
+ -- Andreas Tille <tille at debian.org>  Sat, 16 Dec 2017 07:53:15 +0100
 
 mgltools-vision (1.5.7-1) unstable; urgency=medium
 
diff --git a/debian/patches/fix_shebang.patch b/debian/patches/fix_shebang.patch
new file mode 100644
index 0000000..f1fc7db
--- /dev/null
+++ b/debian/patches/fix_shebang.patch
@@ -0,0 +1,20 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 16 Dec 2017 07:53:15 +0100
+Description: Fix shebang line
+
+--- a/Vision/doc/Examples/matplotlib/Axes_net.py
++++ b/Vision/doc/Examples/matplotlib/Axes_net.py
+@@ -1,4 +1,4 @@
+-#!/bin/ksh ~/.mgltools/pythonsh
++#!/usr/bin/python
+ ########################################################################
+ #
+ #    Vision Network - Python source code - file generated by vision
+--- a/Vision/doc/Examples/matplotlib/ImageFigure_net.py
++++ b/Vision/doc/Examples/matplotlib/ImageFigure_net.py
+@@ -1,4 +1,4 @@
+-#!/bin/ksh ~/.mgltools/pythonsh
++#!/usr/bin/python
+ ########################################################################
+ #
+ #    Vision Network - Python source code - file generated by vision
diff --git a/debian/patches/series b/debian/patches/series
index 7b11194..e744f5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 stupid_syntax_error.patch
 unversioned_shebang.patch
+fix_shebang.patch

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



More information about the debian-med-commit mailing list