[arch-commits] Commit in nuitka/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Jun 7 10:58:53 UTC 2022
Date: Tuesday, June 7, 2022 @ 10:58:53
Author: dvzrv
Revision: 1228444
upgpkg: nuitka 0.8.3-1: Upgrade to 0.8.3.
Switch to PEP517.
Modified:
nuitka/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 10:45:23 UTC (rev 1228443)
+++ PKGBUILD 2022-06-07 10:58:53 UTC (rev 1228444)
@@ -3,7 +3,7 @@
# Contributor: Panagiotis Mavrogiorgos <pmav99 at gmail.com>
pkgname=nuitka
-pkgver=0.8
+pkgver=0.8.3
pkgrel=1
pkgdesc='Python compiler with full language support and CPython compatibility'
arch=(any)
@@ -10,13 +10,13 @@
url='https://nuitka.net/'
license=(Apache)
depends=(python-appdirs scons)
-makedepends=(python-setuptools)
+makedepends=(python-build python-installer python-setuptools python-wheel)
checkdepends=(ccache fuse2 patchelf python-boto3 python-brotli strace)
optdepends=('ccache: for build caching'
'chrpath: for building standalone executables'
'pyside2: for using Qt5 APIs')
source=("https://files.pythonhosted.org/packages/source/N/${pkgname^}/${pkgname^}-${pkgver}.tar.gz")
-b2sums=('314d730bcb92d0cd5d979b2d91e59eef605dfe27a30c959753f803346f919872cc13d0bcc71803a3425fd73c3fcfe292852b79a390a9d7a373a8433895fbbef6')
+b2sums=('640db95d38ef4957560f4a0afaaa946f8e8dff3868ff7b8744edf59a94cf718fce9c6b8acac6d96c8b9a16bf679b723a907809f856fd4554b29869e9b38e5e3b')
prepare() {
cd ${pkgname^}-$pkgver
@@ -26,7 +26,7 @@
build() {
cd ${pkgname^}-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -38,6 +38,6 @@
package() {
cd ${pkgname^}-$pkgver
- python setup.py install --optimize=1 --root="$pkgdir" --skip-build
- install -Dm644 {Changelog,Developer_Manual,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {Changelog,Developer_Manual,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
}
More information about the arch-commits
mailing list