PKGBUILDs/community/python-psycopg2/PKGBUILD

23 lines
667 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 2537 2009-09-19 14:34:35Z ibiru $
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
pkgname=python-psycopg2
pkgver=2.0.11
pkgrel=2
pkgdesc="psycopg is a PostgreSQL database adapter for the Python programming language."
arch=('i686' 'x86_64')
url="http://initd.org/projects/psycopg2"
license=('GPL')
depends=('python' 'postgresql-libs>=8.4.1')
source=(http://initd.org/pub/software/psycopg/psycopg2-$pkgver.tar.gz)
build() {
cd "$srcdir/psycopg2-$pkgver"
# Thanks for the tip, Xentac.
sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
python setup.py install --root="$pkgdir" || return 1
}
md5sums=('eec2a45bcea75a00cbf20a15ab1b8bae')