[arch-commits] Commit in python-m2crypto/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Wed Aug 18 12:12:45 EDT 2010


    Date: Wednesday, August 18, 2010 @ 12:12:44
  Author: ibiru
Revision: 87898

upgpkg: python-m2crypto 0.20.2-3
python rebuild

Modified:
  python-m2crypto/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 16:06:32 UTC (rev 87897)
+++ PKGBUILD	2010-08-18 16:12:44 UTC (rev 87898)
@@ -5,27 +5,27 @@
 
 pkgname=python-m2crypto
 pkgver=0.20.2
-pkgrel=2
+pkgrel=3
 pkgdesc="A crypto and SSL toolkit for Python"
 arch=('i686' 'x86_64')
 url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
 license=('BSD')
-depends=('python' 'openssl')
+depends=('python2' 'openssl')
 makedepends=('swig')
 source=("http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${pkgver}.tar.gz"
 	'openssl1.patch')
 md5sums=('6c24410410d6eb1920ea43f77a93613a'
-	'80a707ad6610f2871efdf40658e30364')
+         '80a707ad6610f2871efdf40658e30364')
 
 build() {
   cd "${srcdir}/M2Crypto-${pkgver}"
-  patch -Np0 -i ${srcdir}/openssl1.patch || return 1
-  python setup.py build
+  patch -Np0 -i ${srcdir}/openssl1.patch
+  python2 setup.py build
 }
 
 package() {
   cd "${srcdir}/M2Crypto-${pkgver}"
-  python setup.py install --root="${pkgdir}/"
+  python2 setup.py install --root="${pkgdir}/" --optimize=1
 
   install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list