blob: 72ab87c9db1b2f671f0c34dc6c79778ae7601869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Panagiotis Mavrogiorgos <pmav99@gmail.com>
_name=Nuitka
pkgname=nuitka
pkgver=0.6.12.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=('e026a9c3657bee4d3a2afd670673e64e29f17888f14d5e46126984ea5299f5548d88e4ad85edaabb6e9ab43fe9c89d4ee2696775fa45e84ed376c8f1ad2f1d76')
b2sums=('ab43a92efafceddc1420835bea162176a0ea42fbaf3258ef845f006ef88b7c593d372104566fbb30bf997f38911a1cda7d4923ddd160605f9f98f0ba2ba82bcd')
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}/"
}
|