[arch-commits] Commit in nuitka/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Nov 13 20:47:12 UTC 2020
Date: Friday, November 13, 2020 @ 20:47:12
Author: dvzrv
Revision: 753996
upgpkg: nuitka 0.6.9.6-1: Upgrade to 0.6.9.6.
Fix upstream tarball with wrong modes for files.
Run tests in check().
Do not build in package() but only install.
Install docs.
Update maintainer info.
Modified:
nuitka/trunk/PKGBUILD
----------+
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 39 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-13 20:43:22 UTC (rev 753995)
+++ PKGBUILD 2020-11-13 20:47:12 UTC (rev 753996)
@@ -1,25 +1,48 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
# Contributor: Panagiotis Mavrogiorgos <pmav99 at gmail.com>
+_name=Nuitka
pkgname=nuitka
-pkgver=0.6.8
-pkgrel=3
-pkgdesc='Python compiler that produces faster executables and depends on libpython'
-arch=(any)
+pkgver=0.6.9.6
+pkgrel=1
+pkgdesc='Python compiler with full language support and CPython compatibility'
+arch=('any')
url='https://nuitka.net/'
-license=(APACHE)
-depends=(python)
-makedepends=(python-setuptools)
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('ccache' 'python-appdirs' 'python-boto3' 'python-brotli' 'scons' 'strace')
options=(!emptydirs)
optdepends=('chrpath: for building standalone executables')
-source=("$pkgname-$pkgver.tgz::https://github.com/Nuitka/Nuitka/archive/$pkgver.tar.gz")
-sha512sums=('656df31fc41d07e2e0a288834e73cd63066ebeef3e4aa65c118d9a25baaead2eb4045d9b34e52eaf3ac006adbf1c1848d55c12292a59a18be86ccf1e64e819d3')
-validpgpkeys=('D96ADCA1377F1CEB6B5103F11BFC33752912B99C') # Kay Hayen
+# source=("$pkgname-$pkgver.tgz::https://github.com/Nuitka/Nuitka/archive/$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('2b1c02ab2f8d798621a3aa03c367c67d352c77e3d33e03feb6945121ea4efc2089724bcf4ef0747fd5dbc3c5b597048287a949baf4ac20979651b4778e697a22')
+b2sums=('ef42a68907fe18485b6d2fe597337544147cccc2dc069fbd17adc7268fc0cf18d7bb7deba7437d1ae6a8ecb1ce2702eed70518b4e3d372a4600ecb4a328a2c99')
+prepare() {
+ mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ # upstream CI seems to chmod all files to 700 or 600
+ # https://github.com/Nuitka/Nuitka/issues/879
+ find "${pkgname}/" *.egg-info/ -type f -exec chmod 644 {} +
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ ./tests/run-tests --no-other-python --skip-reflection-test --skip-all-cpython-tests
+}
+
package() {
- cd "Nuitka-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ install -vDm 644 {Changelog,Developer_Manual,README}.rst \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
-
-# getver: pypistats.org/packages/nuitka
-# vim: sw=2 ts=2 et:
More information about the arch-commits
mailing list