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

Eric Bélanger eric at archlinux.org
Wed Jun 3 22:06:16 EDT 2009


    Date: Wednesday, June 3, 2009 @ 22:06:16
  Author: eric
Revision: 41446

upgpkg: python-m2crypto 0.19.1-2
    Changed swig depends to makedepends (close FS#14874)

Modified:
  python-m2crypto/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-04 02:03:46 UTC (rev 41445)
+++ PKGBUILD	2009-06-04 02:06:16 UTC (rev 41446)
@@ -4,19 +4,20 @@
 
 pkgname=python-m2crypto
 pkgver=0.19.1
-pkgrel=1
+pkgrel=2
 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' 'swig' 'openssl')
-source=(http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-$pkgver.tar.gz)
+depends=('python' 'openssl')
+makedepends=('swig')
+source=(http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${pkgver}.tar.gz)
 md5sums=('c92286fdf0a75f017e72122c2832d5ff')
 
 build() {
-  cd $srcdir/M2Crypto-$pkgver
+  cd "${srcdir}/M2Crypto-${pkgver}"
   python setup.py build
-  python setup.py install --root=$pkgdir/
+  python setup.py install --root="${pkgdir}/"
 
-  install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list