summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD36
2 files changed, 26 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index be03d8242bb..79dd9c73002 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
pkgbase = pyinstaller
pkgdesc = Bundles a Python application and all its dependencies into a single package
- pkgver = 4.2
+ pkgver = 4.5
pkgrel = 1
- url = https://github.com/pyinstaller/pyinstaller
+ url = http://www.pyinstaller.org
arch = x86_64
- license = GPL
+ license = GPL2
+ makedepends = cmocka
makedepends = python-setuptools
depends = python-altgraph
depends = pyinstaller-hooks-contrib
optdepends = python-pycrypto: bytecode encryption support
optdepends = upx: executable compression support
- source = https://pypi.org/packages/source/p/pyinstaller/pyinstaller-4.2.tar.gz
- sha256sums = f5c0eeb2aa663cce9a5404292c0195011fa500a6501c873a466b2e8cad3c950c
+ source = https://pypi.org/packages/source/p/pyinstaller/pyinstaller-4.5.tar.gz
+ sha256sums = 86f694faec78a08c3893aacef84b1a49cb53d4e2880559c6124beefd196a3a74
pkgname = pyinstaller
-
diff --git a/PKGBUILD b/PKGBUILD
index 9bf0154b1b5..32f6ded0252 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,42 @@
-# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
+# Maintainer:
+# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Mehmet Ozgur Bayhan <mozgurbayhan at gmail.com>
# Contributor: Thomas Quillan <tjquillan at gmail.com>
# Contributor: iboyperson <tjquillan at gmail dot com>
# Contributor: Alessandro Pazzaglia <jackdroido at gmail dot com>
pkgname=pyinstaller
-pkgver=4.2
+pkgver=4.5
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')
-# #'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=('f5c0eeb2aa663cce9a5404292c0195011fa500a6501c873a466b2e8cad3c950c')
+sha256sums=('86f694faec78a08c3893aacef84b1a49cb53d4e2880559c6124beefd196a3a74')
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 tests/unit tests/functional -k "not tests/functional/test_libraries.py"
+# # 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
}