diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:31:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:31:26 +0000 |
commit | f686102cc3129b62339e3166afdf492015deee07 (patch) | |
tree | d0f5387a7b3c5b218b921f58a70db6067bc93e28 /debian/patches/0016-Update-shebangs.patch | |
parent | Adding upstream version 2.19+dfsg. (diff) | |
download | irker-f686102cc3129b62339e3166afdf492015deee07.tar.xz irker-f686102cc3129b62339e3166afdf492015deee07.zip |
Adding debian version 2.19+dfsg-1.debian/2.19+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/0016-Update-shebangs.patch | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/debian/patches/0016-Update-shebangs.patch b/debian/patches/0016-Update-shebangs.patch new file mode 100644 index 0000000..b7ed871 --- /dev/null +++ b/debian/patches/0016-Update-shebangs.patch @@ -0,0 +1,78 @@ +From: Neil Muller <drnlmuller+debian@gmail.com> +Date: Thu, 5 Sep 2019 18:08:51 +0200 +Subject: Update shebangs + +Change the shebangs to use python3 so we get the correct result +when we build the package. +--- + filter-example.py | 4 ++-- + filter-test.py | 4 ++-- + irk | 2 +- + irkerd | 2 +- + irkerhook.py | 2 +- + 5 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/filter-example.py b/filter-example.py +index 12908b4..094d0b7 100755 +--- a/filter-example.py ++++ b/filter-example.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # This is a trivial example of a metadata filter. + # All it does is change the name of the commit's author. + # It could do other things, including modifying the +@@ -9,5 +9,5 @@ metadata = json.loads(sys.argv[1]) + + metadata['author'] = "The Great and Powerful Oz" + +-print json.dumps(metadata) ++print(json.dumps(metadata)) + # end +diff --git a/filter-test.py b/filter-test.py +index 030d3d4..82c0660 100755 +--- a/filter-test.py ++++ b/filter-test.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # + # Test hook to launch an irker instance (if it doesn't already exist) + # just before shipping the notification. We start it in in another terminal +@@ -31,5 +31,5 @@ else: + + time.sleep(1.5) # Avoid a race condition + +-print json.dumps(metadata) ++print(json.dumps(metadata)) + # end +diff --git a/irk b/irk +index fc9e153..22918d6 100755 +--- a/irk ++++ b/irk +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # Illustrates how to test irkerd. + # + # First argument must be a channel URL. If it does not begin with "irc", +diff --git a/irkerd b/irkerd +index d42f56e..92ff8b1 100755 +--- a/irkerd ++++ b/irkerd +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + """ + irkerd - a simple IRC multiplexer daemon + +diff --git a/irkerhook.py b/irkerhook.py +index 661071b..bf697ab 100755 +--- a/irkerhook.py ++++ b/irkerhook.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # Copyright (c) 2012 Eric S. Raymond <esr@thyrsus.com> + # SPDX-License-Identifier: BSD-2-Clause + # |