summaryrefslogtreecommitdiff
path: root/community/python2-pymongo/PKGBUILD
blob: 2a6bc249c2f418a69fa4cb5e7ee0717c6b0fb7f7 (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' 'mips64el')
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
}