summaryrefslogtreecommitdiff
path: root/repo/aubio/unversioned-python.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
commit2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch)
treeedb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo/aubio/unversioned-python.patch
parent66c326b6d65388e9f1003715ad9675505f01f9d2 (diff)
added ardour
Diffstat (limited to 'repo/aubio/unversioned-python.patch')
-rw-r--r--repo/aubio/unversioned-python.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/aubio/unversioned-python.patch b/repo/aubio/unversioned-python.patch
new file mode 100644
index 0000000..b397926
--- /dev/null
+++ b/repo/aubio/unversioned-python.patch
@@ -0,0 +1,24 @@
+ff --git a/tests/create_tests_source.py b/tests/create_tests_source.py
+index 1feb1443..2c5560f4 100755
+--- a/tests/create_tests_source.py
++++ b/tests/create_tests_source.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!/usr/bin/python3
+
+ """ Create a simple stereo file containing a sine tone at 441 Hz, using only
+ python's built-in modules. """
+diff --git a/tests/wscript_build b/tests/wscript_build
+index c99a051e..d3fd0633 100644
+--- a/tests/wscript_build
++++ b/tests/wscript_build
+@@ -13,7 +13,7 @@ test_sound_abspath = bld.path.get_bld().make_node(test_sound_target)
+ test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\')
+
+ b = bld(name='create_tests_source',
+- rule='python ${SRC} ${TGT}',
++ rule='python3 ${SRC} ${TGT}',
+ source='create_tests_source.py',
+ target=test_sound_target)
+ # use post() to create the task, keep a reference to it
+