diff options
Diffstat (limited to 'community/python-pymongo/PKGBUILD')
-rw-r--r-- | community/python-pymongo/PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/community/python-pymongo/PKGBUILD b/community/python-pymongo/PKGBUILD index 223b665d5..cc7ccaece 100644 --- a/community/python-pymongo/PKGBUILD +++ b/community/python-pymongo/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 98558 2013-10-14 02:55:13Z fyan $ +# $Id: PKGBUILD 98824 2013-10-19 20:51:12Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Thomas S Hatch <thatch45@gmail.com> @@ -7,33 +7,32 @@ pkgbase=python-pymongo pkgname=('python-pymongo' 'python2-pymongo') pkgver=2.6.3 -pkgrel=1 -pkgdesc='Python driver for MongoDB' +pkgrel=2 +pkgdesc='Python module for using MongoDB' arch=('x86_64' 'i686') license=('APACHE') url='http://pypi.python.org/pypi/pymongo/' makedepends=('python-setuptools' 'python2-setuptools') +optdepends=('mongodb: High-performance schema-free document-oriented database') source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz") +sha256sums=('cabe1d785ad5db6ed8ff70dcb9c987958fc75400f066ec78911ca3f37184a4e2') build() { - cd "$srcdir" - cp -a "pymongo-$pkgver" "pymongo2-$pkgver" } package_python2-pymongo() { depends=('python2') - cd "$srcdir/pymongo2-$pkgver" + cd "pymongo2-$pkgver" python2 setup.py install --root="$pkgdir" --optimize=1 } package_python-pymongo() { depends=('python') - cd "$srcdir/pymongo-$pkgver" + cd "pymongo-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 } # vim:set ts=2 sw=2 et: -sha512sums=('6da3cbf035b52379c24df37b76e1eb743b12c1026116e28e4e7b6450e2674d730f9c8c2dd85f352c6ee4c9f604decaffc2dbc57fe64268bd7522d8ce155cca9e') |