Date: Monday, December 6, 2021 @ 19:28:51 Author: dvzrv Revision: 1065366
archrelease: copy trunk to community-staging-any Added: nuitka/repos/community-staging-any/PKGBUILD (from rev 1065365, nuitka/trunk/PKGBUILD) Deleted: nuitka/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-06 19:28:45 UTC (rev 1065365) +++ PKGBUILD 2021-12-06 19:28:51 UTC (rev 1065366) @@ -1,45 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Panagiotis Mavrogiorgos <pma...@gmail.com> - -pkgname=nuitka -pkgver=0.6.18 -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 patchelf 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") -sha512sums=('d727f569b0efef133eaa2f647bdc215cc2f87fe762682691909d5a3d9f55299805766d0fdc0bfae09388b0eb3a450d6211a5252e92039d23ccb130117eaa412b') -b2sums=('5ef7da5b1f065d7ff23c82b5cb26e001c486546f4a169d9a5db442d9ff2e91c8dcc052232b6355c19f9388ca34d7b4c7199c42922ba3b4a6284101d77430dac1') - -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 -} - -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-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/" -} Copied: nuitka/repos/community-staging-any/PKGBUILD (from rev 1065365, nuitka/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-06 19:28:51 UTC (rev 1065366) @@ -0,0 +1,45 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Panagiotis Mavrogiorgos <pma...@gmail.com> + +pkgname=nuitka +pkgver=0.6.18.1 +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 patchelf 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") +sha512sums=('23841258a2f52e1993e1dc13a9e847429da9d833e3bb94652847c5f08bdbfd39d9e80cb00973edf807c22c7bf400bc6b4130a2112687206087c46e6f96841187') +b2sums=('86e452352eadb21130a27b7a1bb11d2937a344bea0685fe318a17e8ace50fb1845e8644b795214d9428fc8ef475855c8dad54270bfcffac218a206d27cb0f49a') + +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 +} + +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-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/" +}