From 945e0c7799af808e377d0463ba5c62650f11a63a Mon Sep 17 00:00:00 2001 From: fosslinux Date: Wed, 2 Sep 2020 06:53:40 +1000 Subject: [PATCH] PyInstaller: update to 4.0, fix bootstrap. The bootstrap binaries are coded in C and distributed pre-compiled for x86_64 and i686. PyInstaller was noarch and using these bootstrap binaries. This caused PyInstaller to essentially not work properly for most packages on non-x86_64 and i686. Recompile the bootstrap binaries and remove noarch. Closes: #24597 [via git-merge-pr] --- srcpkgs/PyInstaller/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/PyInstaller/template b/srcpkgs/PyInstaller/template index ad2dadf10f3..f88f5ac2790 100644 --- a/srcpkgs/PyInstaller/template +++ b/srcpkgs/PyInstaller/template @@ -1,14 +1,20 @@ # Template file for 'PyInstaller' pkgname=PyInstaller -version=3.6 +version=4.0 revision=1 -archs=noarch +wrksrc="pyinstaller-${version}" build_style=python3-module hostmakedepends="python3-setuptools" +makedepends="zlib-devel" depends="python3 python3-altgraph" short_desc="Bundles a Python application and dependencies into one package" maintainer="Alex Childs " license="GPL-2.0-only" homepage="http://www.pyinstaller.org" -distfiles="${PYPI_SITE}/P/PyInstaller/PyInstaller-${version}.tar.gz" -checksum=3730fa80d088f8bb7084d32480eb87cbb4ddb64123363763cf8f2a1378c1c4b7 +changelog="https://pyinstaller.readthedocs.io/en/v4.0/CHANGES.html" +distfiles="https://github.com/pyinstaller/pyinstaller/releases/download/v${version}/pyinstaller-${version}.tar.gz" +checksum=970beb07115761d5e4ec317c1351b712fd90ae7f23994db914c633281f99bab0 + +post_extract() { + rm -rf PyInstaller/bootloader/* +}