summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-19 18:41:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-20 02:09:49 +0000
commit38711b157c6da018ca8f491f0f24a2c2dcb29388 (patch)
tree575969a73b6d20e7e76d093390e26d3767c2c8da /user
parent6673a9fe4a97181c9b5ff782170995eb5f70be8c (diff)
downloadpackages-38711b157c6da018ca8f491f0f24a2c2dcb29388.tar.gz
packages-38711b157c6da018ca8f491f0f24a2c2dcb29388.tar.bz2
packages-38711b157c6da018ca8f491f0f24a2c2dcb29388.tar.xz
packages-38711b157c6da018ca8f491f0f24a2c2dcb29388.zip
user/openmsx: Fix Python 3 invocation
Diffstat (limited to 'user')
-rw-r--r--user/openmsx/APKBUILD4
-rw-r--r--user/openmsx/python3-bang.patch48
2 files changed, 51 insertions, 1 deletions
diff --git a/user/openmsx/APKBUILD b/user/openmsx/APKBUILD
index 5e29f657e..e3afba25d 100644
--- a/user/openmsx/APKBUILD
+++ b/user/openmsx/APKBUILD
@@ -13,6 +13,7 @@ makedepends="python3"
subpackages=""
source="https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-$pkgver-source.tar.gz
python3.patch
+ python3-bang.patch
"
builddir="$srcdir/$pkgname-$pkgver-source"
@@ -31,4 +32,5 @@ package() {
}
sha512sums="e455f99f32d1daa77157def4f109dd1456169ae2b527290035b6a52f591c13fb7464fd221e00eb46bf03f51e8d0101de08a9e47cebe2430ad05a840ab235973e openmsx-0.3.1-source.tar.gz
-b6690158831cb3da9e0e65a523529ee0bb694a4a8b23c89f615b2481601a71fd84caecf29430054e69afa3ffcb53cf8dd5826358d7ef89429c661dd4d47bbb74 python3.patch"
+b6690158831cb3da9e0e65a523529ee0bb694a4a8b23c89f615b2481601a71fd84caecf29430054e69afa3ffcb53cf8dd5826358d7ef89429c661dd4d47bbb74 python3.patch
+f981aff74f9cd33650641badd977f38c1cbbc749198a45ca016de3be83d8bec6c4f82c0614340a11f7bda7b4b98d48e26fd03a74bbf233af6deb588874d34145 python3-bang.patch"
diff --git a/user/openmsx/python3-bang.patch b/user/openmsx/python3-bang.patch
new file mode 100644
index 000000000..1d1865165
--- /dev/null
+++ b/user/openmsx/python3-bang.patch
@@ -0,0 +1,48 @@
+--- openmsx-0.3.1-source/scripts/authorlist.py.old 2019-03-19 02:49:32.870000000 +0000
++++ openmsx-0.3.1-source/scripts/authorlist.py 2019-03-19 02:52:10.400000000 +0000
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # This file is part of the OpenMSX music set for OpenTTD.
+ # OpenMSX is free content; you can redistribute it and/or modify it under the terms of the
+--- openmsx-0.3.1-source/scripts/md5list.py.old 2019-03-19 02:49:32.870000000 +0000
++++ openmsx-0.3.1-source/scripts/md5list.py 2019-03-19 02:52:11.970000000 +0000
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # This file is part of the OpenMSX music set for OpenTTD.
+ # OpenMSX is free content; you can redistribute it and/or modify it under the terms of the
+--- openmsx-0.3.1-source/scripts/midifiles.py.old 2019-03-19 02:49:32.870000000 +0000
++++ openmsx-0.3.1-source/scripts/midifiles.py 2019-03-19 02:52:13.280000000 +0000
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # This file is part of the OpenMSX music set for OpenTTD.
+ # OpenMSX is free content; you can redistribute it and/or modify it under the terms of the
+--- openmsx-0.3.1-source/scripts/namelist.py.old 2019-03-19 02:49:32.870000000 +0000
++++ openmsx-0.3.1-source/scripts/namelist.py 2019-03-19 02:52:15.160000000 +0000
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # This file is part of the OpenMSX music set for OpenTTD.
+ # OpenMSX is free content; you can redistribute it and/or modify it under the terms of the
+--- openmsx-0.3.1-source/scripts/playlist.py.old 2019-03-19 02:49:32.870000000 +0000
++++ openmsx-0.3.1-source/scripts/playlist.py 2019-03-19 02:52:17.780000000 +0000
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # This file is part of the OpenMSX music set for OpenTTD.
+ # OpenMSX is free content; you can redistribute it and/or modify it under the terms of the
+--- openmsx-0.3.1-source/scripts/sanitize_list.py.old 2019-03-19 02:49:32.870000000 +0000
++++ openmsx-0.3.1-source/scripts/sanitize_list.py 2019-03-19 02:52:19.350000000 +0000
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python3
+ #
+ # This file is part of the OpenMSX music set for OpenTTD.
+ # OpenMSX is free content; you can redistribute it and/or modify it under the terms of the