summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoriboyperson2018-05-10 17:11:37 -0700
committeriboyperson2018-05-10 17:11:37 -0700
commitb8c4c37f1e85cbfe5fb2135430bbbb33bf27f0c2 (patch)
tree96c6a79353861661ed848b7e6d41498426c2511f
parentf2156d3182497b91e7d95116d039053099f26626 (diff)
downloadaur-b8c4c37f1e85cbfe5fb2135430bbbb33bf27f0c2.tar.gz
rel 4: Made many fixes as suggested by community
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD30
2 files changed, 20 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 28ec30dec47..a2b515f2f56 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pyinstaller
pkgdesc = An application to convert python scripts into stand-alone binaries
pkgver = 3.3.1
- pkgrel = 3
+ pkgrel = 4
url = http://www.pyinstaller.org
arch = i686
arch = x86_64
@@ -13,9 +13,11 @@ pkgbase = pyinstaller
optdepends = python-crypto: executable encryption support
optdepends = upx: executable compression support
conflicts = pyinstaller-git
- options = !strip
source = https://github.com/pyinstaller/pyinstaller/releases/download/v3.3.1/PyInstaller-3.3.1.tar.gz
+ source = https://github.com/pyinstaller/pyinstaller/releases/download/v3.3.1/PyInstaller-3.3.1.tar.gz.asc
+ validpgpkeys = D4AD8B9C167B757C4F08E8777B752811BF773B65
sha256sums = 715f81f24b1ef0e5fe3b3c71e7540551838e46e9de30882aa7c0a521147fd1ce
+ sha256sums = SKIP
pkgname = pyinstaller
diff --git a/PKGBUILD b/PKGBUILD
index e21d610fd2f..dafb0425f45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,28 +4,30 @@
pkgname=pyinstaller
_pyname=PyInstaller
pkgver=3.3.1
-pkgrel=3
+pkgrel=4
pkgdesc="An application to convert python scripts into stand-alone binaries"
arch=('i686' 'x86_64')
url="http://www.pyinstaller.org"
license=('GPL')
-conflicts=('pyinstaller-git')
depends=('python'
'python-macholib'
'python-pefile')
makedepends=('python-setuptools')
-optdepends=(
- 'python-crypto: executable encryption support'
- 'upx: executable compression support'
-)
-source=(
- "https://github.com/pyinstaller/pyinstaller/releases/download/v${pkgver}/${_pyname}-${pkgver}.tar.gz"
-)
-sha256sums=('715f81f24b1ef0e5fe3b3c71e7540551838e46e9de30882aa7c0a521147fd1ce')
-options=('!strip')
+optdepends=('python-crypto: executable encryption support'
+ 'upx: executable compression support')
+conflicts=('pyinstaller-git')
+source=("https://github.com/pyinstaller/pyinstaller/releases/download/v${pkgver}/${_pyname}-${pkgver}.tar.gz"
+ "https://github.com/pyinstaller/pyinstaller/releases/download/v${pkgver}/${_pyname}-${pkgver}.tar.gz.asc")
+validpgpkeys=("D4AD8B9C167B757C4F08E8777B752811BF773B65")
+sha256sums=('715f81f24b1ef0e5fe3b3c71e7540551838e46e9de30882aa7c0a521147fd1ce'
+ 'SKIP')
-package() {
- cd "${srcdir}/${_pyname}-${pkgver}"
+build() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py build
+}
- python setup.py install --root "${pkgdir}"
+package() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}