[DRE-commits] [ruby-github-markup] 08/13: depend on python2.7 and change shebang of rest2html python script
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Apr 16 21:25:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-github-markup.
commit bbd05efb790a7c38c268a1008fde58bc108a7226
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Apr 16 18:53:11 2014 +0200
depend on python2.7 and change shebang of rest2html python script
---
debian/control | 2 +-
debian/patches/0004-python.patch | 12 ++++++++++++
debian/patches/series | 1 +
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 756c38e..7cca4e0 100644
--- a/debian/control
+++ b/debian/control
@@ -32,7 +32,7 @@ Depends:
ruby | ruby-interpreter,
asciidoctor (>= 0.1.4-1~),
ruby-org (>= 0.9.1-2~),
- python,
+ python2.7,
python-docutils,
rdoc,
ruby-creole,
diff --git a/debian/patches/0004-python.patch b/debian/patches/0004-python.patch
new file mode 100644
index 0000000..d3f1362
--- /dev/null
+++ b/debian/patches/0004-python.patch
@@ -0,0 +1,12 @@
+Description: use a shebang with a proper python2 version
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-04-16
+
+--- a/lib/github/commands/rest2html
++++ b/lib/github/commands/rest2html
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2 -S
++#!/usr/bin/python2.7 -S
+ """
+ rest2html - A small wrapper file for parsing ReST files at GitHub.
+
diff --git a/debian/patches/series b/debian/patches/series
index 5e511cc..ec01e0c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0002-Update-pod-markup-test-output.patch
+0004-python.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-github-markup.git
More information about the Pkg-ruby-extras-commits
mailing list