[arch-commits] Commit in nuitka/repos/community-staging-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Nov 13 20:48:59 UTC 2020


    Date: Friday, November 13, 2020 @ 20:48:59
  Author: dvzrv
Revision: 754001

archrelease: copy trunk to community-staging-any

Added:
  nuitka/repos/community-staging-any/PKGBUILD
    (from rev 754000, nuitka/trunk/PKGBUILD)
Deleted:
  nuitka/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 48 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 20:48:52 UTC (rev 754000)
+++ PKGBUILD	2020-11-13 20:48:59 UTC (rev 754001)
@@ -1,25 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Panagiotis Mavrogiorgos <pmav99 at gmail.com>
-
-pkgname=nuitka
-pkgver=0.6.8
-pkgrel=3
-pkgdesc='Python compiler that produces faster executables and depends on libpython'
-arch=(any)
-url='https://nuitka.net/'
-license=(APACHE)
-depends=(python)
-makedepends=(python-setuptools)
-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
-
-package() {
-  cd "Nuitka-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# getver: pypistats.org/packages/nuitka
-# vim: sw=2 ts=2 et:

Copied: nuitka/repos/community-staging-any/PKGBUILD (from rev 754000, nuitka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-13 20:48:59 UTC (rev 754001)
@@ -0,0 +1,48 @@
+# 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.9.6
+pkgrel=2
+pkgdesc='Python compiler with full language support and CPython compatibility'
+arch=('any')
+url='https://nuitka.net/'
+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")
+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 "${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}/"
+}



More information about the arch-commits mailing list