From c16968d4179be76966c262f854c9e1fb827dc3ec Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Mar 2013 00:06:16 -0700 Subject: Tue Mar 26 00:06:15 PDT 2013 --- community/python-pymongo/PKGBUILD | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'community/python-pymongo') diff --git a/community/python-pymongo/PKGBUILD b/community/python-pymongo/PKGBUILD index c72a317be..bad79de24 100644 --- a/community/python-pymongo/PKGBUILD +++ b/community/python-pymongo/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 82839 2013-01-24 23:13:20Z arodseth $ +# $Id: PKGBUILD 86969 2013-03-25 14:30:39Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Thomas S Hatch # Contributor: Jelle van der Waa pkgbase=python-pymongo pkgname=('python-pymongo' 'python2-pymongo') -pkgver=2.4.2 +pkgver=2.5 pkgrel=1 pkgdesc='Python driver for MongoDB' arch=('x86_64' 'i686') @@ -13,23 +13,26 @@ license=('APACHE') url='http://pypi.python.org/pypi/pymongo/' makedepends=('python-distribute' 'python2-distribute') source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz") -sha256sums=('6862c85844f1766c261a39022ec7a6b631988cb5528a31f8d20e78181398aa5f') +sha256sums=('79aff1c77ec6be6158a4d1a11002400ee0eb8f74dc6f4f67527f59bfac78c222') build() { - cd $srcdir - cp -a pymongo-$pkgver pymongo2-$pkgver + cd "$srcdir" + + cp -a "pymongo-$pkgver" "pymongo2-$pkgver" } package_python2-pymongo() { depends=('python2') - cd $srcdir/pymongo2-$pkgver - python2 setup.py install --root=$pkgdir --optimize=1 + + cd "$srcdir/pymongo2-$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 } package_python-pymongo() { depends=('python') - cd $srcdir/pymongo-$pkgver - python setup.py install --root=$pkgdir --optimize=1 + + cd "$srcdir/pymongo-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 } # vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf