Skip to content

@kuno /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
alternative couchdb python driver
# Maintainer: Guan 'kuno' Qing <neokuno AT gmail DOT com>
pkgname=python2-couchdb-hg
_realname=couchdb-python
pkgver=20110426
pkgrel=1
pkgdesc="Python library for working with CouchDB, hg version."
url="http://code.google.com/p/couchdb-python/"
license=('BSD')
arch=(any)
depends=('python>=2.7' 'python2-httplib2' 'couchdb')
makedepends=('python2-distribute' 'mercurial')
conflicts=('python-couchdb-svn')
provides=()
replace=('python-couchdb')
_hg="https://couchdb-python.googlecode.com/hg/"
build() {
cd "$srcdir" || return 1
if [ ! -d "$_realname"/.hg ]; then
hg clone "$_hg" "$_realname"
else
hg pull && hg update
fi
cd "$_realname" || return 1
python2 setup.py install --root=$pkgdir --optimize=1
}
# vim:ts=2:sw=2:et
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.