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

Alexander Rødseth arodseth at gemini.archlinux.org
Mon Sep 6 14:00:41 UTC 2021


    Date: Monday, September 6, 2021 @ 14:00:40
  Author: arodseth
Revision: 1011877

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   83 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 38 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-06 14:00:34 UTC (rev 1011876)
+++ PKGBUILD	2021-09-06 14:00:40 UTC (rev 1011877)
@@ -1,45 +0,0 @@
-# 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.16.4
-pkgrel=1
-pkgdesc='Python compiler with full language support and CPython compatibility'
-arch=('any')
-url='https://nuitka.net/'
-license=('Apache')
-depends=('python-appdirs' 'scons')
-makedepends=('python-setuptools')
-checkdepends=('ccache' 'fuse2' 'python-boto3' 'python-brotli' 'strace')
-optdepends=('ccache: for build caching'
-            'chrpath: for building standalone executables')
-options=(!emptydirs)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('fccdc24674deac985d3afb56ec57b9ae18b29b745b7ce324f2cdc9383dfd8d273cae3da8e76a85a281c6636e300d346bb4658e8d4212318e1eede747d160c43a')
-b2sums=('96992903d89a70921ab92ce4c5fa4b547b67cf0133098cce0fafc8037ca9d0b627fb21f9cc98e112d26766b39b023e1aef1a3eceff71f32d7f6a30db7314882d')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  # skip tests for other interpreters and those that require network access
-  ./tests/run-tests --no-other-python --skip-reflection-test --skip-other-cpython-tests --skip-onefile-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}/"
-}

Copied: nuitka/repos/community-any/PKGBUILD (from rev 1011876, nuitka/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-06 14:00:40 UTC (rev 1011877)
@@ -0,0 +1,38 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Panagiotis Mavrogiorgos <pmav99 at gmail.com>
+
+pkgname=nuitka
+pkgver=0.6.16.4
+pkgrel=2
+pkgdesc='Python compiler with full language support and CPython compatibility'
+arch=(any)
+url='https://nuitka.net/'
+license=(Apache)
+depends=(python-appdirs scons)
+makedepends=(python-setuptools)
+checkdepends=(ccache fuse2 python-boto3 python-brotli strace)
+optdepends=('ccache: for build caching'
+            'chrpath: for building standalone executables'
+            'pyside2: for using Qt5 APIs')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/source/N/${pkgname^}/${pkgname^}-${pkgver}.tar.gz")
+b2sums=('96992903d89a70921ab92ce4c5fa4b547b67cf0133098cce0fafc8037ca9d0b627fb21f9cc98e112d26766b39b023e1aef1a3eceff71f32d7f6a30db7314882d')
+
+build() {
+  cd ${pkgname^}-$pkgver
+  python setup.py build
+}
+
+check() {
+  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
+}
+
+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/"
+}



More information about the arch-commits mailing list