[arch-commits] Commit in nuitka/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Oct 26 10:39:33 UTC 2021
Date: Tuesday, October 26, 2021 @ 10:39:32
Author: dvzrv
Revision: 1033734
upgpkg: nuitka 0.6.17.4-1: Upgrade to 0.6.17.4.
Rely on /usr/lib/os-release instead of /etc/os-release as the latter is not around in our build environment.
Remove non-existing test targets.
Modified:
nuitka/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-26 10:38:26 UTC (rev 1033733)
+++ PKGBUILD 2021-10-26 10:39:32 UTC (rev 1033734)
@@ -3,8 +3,8 @@
# Contributor: Panagiotis Mavrogiorgos <pmav99 at gmail.com>
pkgname=nuitka
-pkgver=0.6.16.4
-pkgrel=2
+pkgver=0.6.17.4
+pkgrel=1
pkgdesc='Python compiler with full language support and CPython compatibility'
arch=(any)
url='https://nuitka.net/'
@@ -17,8 +17,15 @@
'pyside2: for using Qt5 APIs')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/N/${pkgname^}/${pkgname^}-${pkgver}.tar.gz")
-b2sums=('96992903d89a70921ab92ce4c5fa4b547b67cf0133098cce0fafc8037ca9d0b627fb21f9cc98e112d26766b39b023e1aef1a3eceff71f32d7f6a30db7314882d')
+sha512sums=('0f86def4243aa37d409d0820b8868fdf70528ee47844ef37b692da4c2e66f530e6710d2b5490003e8697a1e7dac9e3bdbe3f5a321b8a4c20259b178734b916e4')
+b2sums=('2a30e62584323d1b1acb4cc1c9214e1bd20b9942c457368e0ac70d8f87524b503ec1a65880b6005c76b88aa4bbc55a1fd1c724fb354548d0f32c2747987ae7ba')
+prepare() {
+ cd ${pkgname^}-$pkgver
+ # in our build environment /etc/os-release will not exist, but /usr/lib/os-release will
+ sed -e 's|/etc/os-release|/usr/lib/os-release|' -i nuitka/utils/Utils.py
+}
+
build() {
cd ${pkgname^}-$pkgver
python setup.py build
@@ -28,7 +35,7 @@
cd ${pkgname^}-$pkgver
# skip tests for other interpreters and those that require network access
# NOTE: the test uses "strace", which is currently not supported by the reproducible build system
- ./tests/run-tests --no-other-python --skip-reflection-test --skip-onefile-tests --skip-other-cpython-tests
+ ./tests/run-tests --no-other-python --skip-onefile-tests --skip-other-cpython-tests
}
package() {
More information about the arch-commits
mailing list