summaryrefslogtreecommitdiff
path: root/community/python2-pymongo/PKGBUILD
blob: 4b4347c55d1f3bc5b26ff4f7ad874dcfcf876128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Jelle va nder Waa <jelle@vdwaa.nl>
# Contributor: Piotr Husiatyński <phusiatynski@gmail.com>
# Contributor: lp76 <l.peduto@gmail.com>

pkgname=python2-pymongo
pkgver=2.3
pkgrel=1
pkgdesc="Python driver for MongoDB"
license=("APACHE")
url="http://pypi.python.org/pypi/pymongo/"
depends=('python2')
makedepends=('python2-distribute' 'python2-nose')
source=(http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz)
arch=('i686' 'x86_64')
md5sums=('0d342ad1506f983af671d0b0e0e1efec')

package() {
  cd $srcdir/pymongo-$pkgver
  python2 setup.py install --root=$pkgdir --optimize=1
}

check() {
  cd $srcdir/pymongo-$pkgver
  # needs local  mongodb server
  python2 setup.py check
}