From f3ffc9554adeb2443bdcc4abbccf0ef8646434f6 Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Sat, 11 Dec 2021 13:35:10 +0300 Subject: [PATCH] python-nuitka: Update to 0.6.18.3 --- ...01-nuitka-0.6.18-restore-console-scripts.patch | 15 ++++++++++++--- mingw-w64-python-nuitka/PKGBUILD | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/mingw-w64-python-nuitka/001-nuitka-0.6.18-restore-console-scripts.patch b/mingw-w64-python-nuitka/001-nuitka-0.6.18-restore-console-scripts.patch index a6caa9a5e1..08268a805a 100644 --- a/mingw-w64-python-nuitka/001-nuitka-0.6.18-restore-console-scripts.patch +++ b/mingw-w64-python-nuitka/001-nuitka-0.6.18-restore-console-scripts.patch @@ -1,12 +1,21 @@ diff --git a/setup.py b/setup.py -index fd2cfdd20..9c6dfa29f 100644 +index d9a7b7b38..45c40bf0b 100644 --- a/setup.py +++ b/setup.py -@@ -268,13 +268,10 @@ else: +@@ -41,7 +41,7 @@ from nuitka.PythonFlavors import isMSYS2MingwPython + scripts = [] + + # For Windows, there are batch files to launch Nuitka. +-if os.name == "nt" and not isMSYS2MingwPython(): ++if os.name == "nt": + scripts += ["misc/nuitka.bat", "misc/nuitka-run.bat"] + + +@@ -274,13 +274,10 @@ else: binary_suffix = "%d" % sys.version_info[0] --if os.name == "nt": +-if os.name == "nt" and not isMSYS2MingwPython(): - console_scripts = [] -else: - console_scripts = [ diff --git a/mingw-w64-python-nuitka/PKGBUILD b/mingw-w64-python-nuitka/PKGBUILD index 94c1a8dec9..7739fa5068 100644 --- a/mingw-w64-python-nuitka/PKGBUILD +++ b/mingw-w64-python-nuitka/PKGBUILD @@ -6,7 +6,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=0.6.18.1 +pkgver=0.6.18.3 pkgrel=1 pkgdesc="Python to native compiler (mingw-w64)" arch=('any') @@ -18,7 +18,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") source=("https://nuitka.net/releases/Nuitka-${pkgver}.tar.gz" '001-nuitka-0.6.18-restore-console-scripts.patch') noextract=(Nuitka-$pkgver.tar.gz) -sha256sums=('8e266e3f08c6b361a2ba0415e825baf55811cb8f524e81ac6f34cd10b3ede250' +sha256sums=('6828e6fed5cf97311980b27f58ea186ffbf6521753247e4d3d45173224dd7d16' 'SKIP') prepare() {