summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e6dec39f499..3d73dd19482 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,36 +4,38 @@
# Contributor: iboyperson <tjquillan at gmail dot com>
# Contributor: Alessandro Pazzaglia <jackdroido at gmail dot com>
pkgname=pyinstaller
-pkgver=4.3
+pkgver=4.4
pkgrel=1
pkgdesc="Bundles a Python application and all its dependencies into a single package"
arch=('x86_64')
-url="https://github.com/pyinstaller/pyinstaller"
-license=('GPL')
+url="http://www.pyinstaller.org"
+license=('GPL2')
depends=('python-altgraph' 'pyinstaller-hooks-contrib')
-makedepends=('python-setuptools')
-#checkdepends=('python-pytest-xdist' 'python-pytest-timeout' 'flake8' 'python-flaky'
-# 'python-lxml')
-# 'pytest-drop-dup-tests' 'python-tinyaes'
+makedepends=('cmocka' 'python-setuptools')
+#checkdepends=('flake8' 'python-execnet' 'python-flaky' 'python-lxml' 'python-psutil'
+# 'python-pytest-rerunfailures' 'python-pytest-xdist')
+# 'python-pytest-drop-dup-tests' 'python-tinyaes'
optdepends=('python-pycrypto: bytecode encryption support'
'upx: executable compression support')
source=("https://pypi.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('5ecf8bbc230d7298a796e52bb745b95eee12878d141f1645612c99246ecd23f2')
+sha256sums=('af3ef0b9f265a2d3859357a25ab16743fbb6143c89fd7c3570cb84b8d24db0ba')
build() {
- cd "$pkgname-$pkgver"
- python setup.py build
+ cd "$pkgname-$pkgver"
+ python setup.py build
}
#check() {
-# cd "$pkgname-$pkgver"
+# cd "$pkgname-$pkgver"
+# local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-# # Run only the unit and functional tests, but not the huge library test-suite
-# pytest -k "unit and functional and not test_libraries"
+# # Run only the unit and functional tests, but not the huge library test-suite
+# PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" \
+# pytest -k "unit and functional and not test_libraries"
#}
package() {
- cd "$pkgname-$pkgver"
- export PYTHONHASHSEED=0
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ cd "$pkgname-$pkgver"
+ export PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}