updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / python-couchdbkit / PKGBUILD
blob0bd671276e218ca5f9702716704b982320641cf3
1 # Contributor: p2k <patrick.schneider@uni-ulm.de>
2 pkgname=python-couchdbkit
3 pkgver=0.5.4
4 pkgrel=1
5 _githash=992645b
6 pkgdesc="A framework to allow python applications to use CouchDB"
7 arch=('i686' 'x86_64')
8 url="http://couchdbkit.org"
9 license=('CUSTOM')
10 depends=('python2' 'python-anyjson' 'python-restkit')
11 optdepends=('couchdb: for setting up a local couchdb server'
12             "django: for couchdbkit's django extension")
13 makedepends=('setuptools')
14 source=(https://download.github.com/benoitc-couchdbkit-$pkgver-0-g$_githash.tar.gz)
15 md5sums=('461d30c502880fb75831f1b6a6fb2db5')
17 build() { 
18     cd "$srcdir"/benoitc-couchdbkit-$_githash
20     python2 setup.py build || return 1
23 package() {
24     cd "$srcdir"/benoitc-couchdbkit-$_githash
26     python2 setup.py install --root=$pkgdir || return 1
27     install -m 644 -D LICENSE $pkgdir/usr/share/licenses/python-couchdbkit/LICENSE