Date: Tuesday, January 28, 2014 @ 16:07:23
  Author: fyan
Revision: 104955

upgpkg: python-passlib 1.6.2-2

- add missing -O1 option, to include .pyo files in package

Modified:
  python-passlib/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-01-28 15:04:34 UTC (rev 104954)
+++ PKGBUILD    2014-01-28 15:07:23 UTC (rev 104955)
@@ -6,7 +6,7 @@
 pkgbase=python-$_pypiname
 pkgname=(python-$_pypiname python2-$_pypiname)
 pkgver=1.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A password hashing library for Python"
 arch=('any')
 url=("https://code.google.com/p/passlib/";)
@@ -23,7 +23,7 @@
   depends=("python")
 
   cd ${_pypiname}-${pkgver}
-  python setup.py install --root="${pkgdir}"
+  python setup.py install -O1 --root="${pkgdir}"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
@@ -32,7 +32,7 @@
   optdepends=("python2-m2crypto: accelerate PBKDF2-based hashes")
 
   cd python2-${_pypiname}-${pkgver}
-  python2 setup.py install --root="${pkgdir}"
+  python2 setup.py install -O1 --root="${pkgdir}"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 

Reply via email to