[petsc] 03/05: convert python1.5 script header to plain python

Drew Parsons dparsons at moszumanska.debian.org
Thu Oct 8 02:44:43 UTC 2015


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

dparsons pushed a commit to branch master
in repository petsc.

commit fab2a3118edc41cedb54733231c0c408ab87788a
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue Oct 6 01:59:13 2015 +0800

    convert python1.5 script header to plain python
    
    The automated python handling (dh_python2 etc) can't deal with
    the reference to python1.5 in bin/parseargs.py.  There is nothing
    specific to python1.5 in the script, so treat it as default python.
---
 debian/patches/python_header | 12 ++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/python_header b/debian/patches/python_header
new file mode 100644
index 0000000..d0443aa
--- /dev/null
+++ b/debian/patches/python_header
@@ -0,0 +1,12 @@
+Index: petsc/bin/parseargs.py
+===================================================================
+--- petsc.orig/bin/parseargs.py
++++ petsc/bin/parseargs.py
+@@ -1,5 +1,5 @@
+-#!/usr/bin/env python1.5
+-#!/bin/env python1.5
++#!/usr/bin/env python
++#!/bin/env python
+ # $Id: parseargs.py,v 1.1 1999/11/12 22:30:17 balay Exp $
+ #
+ #  Parses the argument list, and searches for the specified argument.
diff --git a/debian/patches/series b/debian/patches/series
index 3f8d4b4..22ae27c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ clean-no-double-colon.patch
 hypre.patch
 nocleanup.patch
 g++-4.8.patch
+python_header

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git



More information about the debian-science-commits mailing list