[arch-commits] Commit in python-beaker/trunk (PKGBUILD)
Stéphane Gaudreault
stephane at archlinux.org
Wed Oct 3 01:05:36 UTC 2012
Date: Tuesday, October 2, 2012 @ 21:05:35
Author: stephane
Revision: 167692
upgpkg: python-beaker 1.6.3-2
rebuild for python 3.3.0
Modified:
python-beaker/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-03 01:01:17 UTC (rev 167691)
+++ PKGBUILD 2012-10-03 01:05:35 UTC (rev 167692)
@@ -4,7 +4,7 @@
pkgname=('python-beaker' 'python2-beaker')
pkgver=1.6.3
-pkgrel=1
+pkgrel=2
arch=('any')
license=('custom')
pkgdesc="Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications"
@@ -17,7 +17,8 @@
cp -r Beaker-${pkgver} python2-Beaker-${pkgver}
cd "${srcdir}/Beaker-${pkgver}"
- python setup.py build
+ sed -i "s#/usr/bin/python#/usr/bin/python3#" beaker/crypto/pbkdf2.py
+ python3 setup.py build
cd "${srcdir}/python2-Beaker-${pkgver}"
sed -i "s#/usr/bin/python#/usr/bin/python2#" beaker/crypto/pbkdf2.py
@@ -28,7 +29,7 @@
depends=('python')
cd "${srcdir}/Beaker-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
+ python3 setup.py install --root="${pkgdir}" --optimize=1
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-beaker/LICENSE"
}
More information about the arch-commits
mailing list