From 38711b157c6da018ca8f491f0f24a2c2dcb29388 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 19 Mar 2019 18:41:22 +0000 Subject: user/openmsx: Fix Python 3 invocation --- user/openmsx/APKBUILD | 4 +++- user/openmsx/python3-bang.patch | 48 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 user/openmsx/python3-bang.patch (limited to 'user') 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 -- cgit v1.2.3-70-g09d2