Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] PyInstaller: update to 4.0, fix bootstrap.
@ 2020-09-02  0:34 fosslinux
  2020-09-02 14:37 ` [PR PATCH] [Closed]: " ahesford
  0 siblings, 1 reply; 2+ messages in thread
From: fosslinux @ 2020-09-02  0:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

There is a new pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages PyInstaller-4.0
https://github.com/void-linux/void-packages/pull/24597

PyInstaller: update to 4.0, fix bootstrap.
Updated to 4.0. 

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.

A patch file from https://github.com/void-linux/void-packages/pull/24597.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-PyInstaller-4.0-24597.patch --]
[-- Type: text/x-diff, Size: 1740 bytes --]

From 4b34e0d403146c52f67049c48b3e369940ab5753 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
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.
---
 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 <misuchiru03+void@gmail.com>"
 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/*
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: PyInstaller: update to 4.0, fix bootstrap.
  2020-09-02  0:34 [PR PATCH] PyInstaller: update to 4.0, fix bootstrap fosslinux
@ 2020-09-02 14:37 ` ahesford
  0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2020-09-02 14:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

There's a closed pull request on the void-packages repository

PyInstaller: update to 4.0, fix bootstrap.
https://github.com/void-linux/void-packages/pull/24597

Description:
Updated to 4.0. 

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.

Issue found in noarch rebuild.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-02 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02  0:34 [PR PATCH] PyInstaller: update to 4.0, fix bootstrap fosslinux
2020-09-02 14:37 ` [PR PATCH] [Closed]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).