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

Eric Bélanger eric at archlinux.org
Sat Mar 17 16:30:20 EDT 2012


    Date: Saturday, March 17, 2012 @ 16:30:20
  Author: eric
Revision: 153684

Add signature for sources

Modified:
  python-nose/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-17 20:26:21 UTC (rev 153683)
+++ PKGBUILD	2012-03-17 20:30:20 UTC (rev 153684)
@@ -2,6 +2,7 @@
 # Maintainer: Angel Velasquez <angvp at archlinux.org>
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 # Contributor: Cilyan Olowen <gaknar at gmail.com>
+
 pkgbase=python-nose
 pkgname=('python-nose' 'python2-nose' 'python-nose-doc')
 pkgver=1.1.2
@@ -10,29 +11,30 @@
 arch=('any')
 url="http://www.somethingaboutorange.com/mrl/projects/nose/"
 license=('LGPL2')
-source=("http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz")
 makedepends=('python' 'python-distribute' 'python2' 'python2-distribute' 'python-sphinx')
-md5sums=('144f237b615e23f21f6a50b2183aa817')
+source=(http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz{,.asc})
+md5sums=('144f237b615e23f21f6a50b2183aa817'
+         'b3ea70c42347d9ca8b1c248bd6b128c5')
 
 build() {
   cd "$srcdir/nose-$pkgver"
   sed -i -e "s:man/man1:share/man/man1:g" setup.py
-  cp -R $srcdir/nose-$pkgver $srcdir/nose2-$pkgver
+  cp -R "$srcdir/nose-$pkgver" "$srcdir/nose2-$pkgver"
 }
 
 package_python-nose() {
   depends=('python' 'python-distribute')
   cd "$srcdir/nose-$pkgver"
-  python setup.py install --prefix=/usr --root=${pkgdir}
+  python setup.py install --prefix=/usr --root="${pkgdir}"
   mv "$pkgdir/usr/bin/nosetests" "$pkgdir/usr/bin/nosetests3"
 }
 
 package_python2-nose() {
   depends=('python2' 'python2-distribute')
   cd "$srcdir/nose2-$pkgver"
-  python2 setup.py install --prefix=/usr --root=${pkgdir}
+  python2 setup.py install --prefix=/usr --root="${pkgdir}"
   mv "$pkgdir/usr/bin/nosetests" "$pkgdir/usr/bin/nosetests2"
-  rm -rf $pkgdir/usr/share
+  rm -rf "$pkgdir/usr/share"
 }
 
 package_python-nose-doc(){



More information about the arch-commits mailing list