summaryrefslogtreecommitdiff
path: root/community/python-cx_freeze/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-cx_freeze/PKGBUILD')
-rw-r--r--community/python-cx_freeze/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/python-cx_freeze/PKGBUILD b/community/python-cx_freeze/PKGBUILD
index 74986cdc6..a7ec30bf1 100644
--- a/community/python-cx_freeze/PKGBUILD
+++ b/community/python-cx_freeze/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 84904 2013-02-25 23:57:50Z arodseth $
+# $Id: PKGBUILD 103463 2014-01-06 11:40:32Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
@@ -7,7 +7,7 @@
pkgbase=python-cx_freeze
pkgname=('python-cx_freeze' 'python2-cx_freeze')
-pkgver=4.3.1
+pkgver=4.3.2
pkgrel=1
pkgdesc='Set of utilities for freezing Python scripts into executables'
arch=('x86_64' 'i686' 'mips64el')
@@ -15,13 +15,13 @@ url='http://cx-freeze.sourceforge.net/'
license=('PSF')
makedepends=('python' 'python2')
source=("http://prdownloads.sourceforge.net/cx-freeze/cx_Freeze-$pkgver.tar.gz")
-sha256sums=('11f8818ab4e1754c81c1226ce3430f29e6ba231a22a153ce3794a5cc464fa11b')
+sha256sums=('d634aae1e1d20b660d24245450b8a5ea3ad9c443cd735d8fbe17c1d93b8b23df')
package_python-cx_freeze() {
depends=('python')
conflicts=('cx_freeze' 'python2-cx_freeze')
- cd "$srcdir/cx_Freeze-$pkgver"
+ cd "cx_Freeze-$pkgver"
python setup.py install --root "$pkgdir" --optimize 1
}
@@ -30,8 +30,9 @@ package_python2-cx_freeze() {
conflicts=('cx_freeze' 'python-cx_freeze')
replaces=('cx_freeze')
- cd "$srcdir/cx_Freeze-$pkgver"
+ cd "cx_Freeze-$pkgver"
python2 setup.py install --root "$pkgdir" --optimize 1
+
# Python 2 shebang fix
find "$pkgdir" -name qotd.py -exec sed -i '0,/on/s//on2/' {} \;
}