2008-12-12 10:52:22 +11:00
|
|
|
# Description: Python bindings for PostgreSQL
|
|
|
|
# URL: http://www.initd.org/
|
2010-12-14 14:04:31 +02:00
|
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
2008-12-12 10:52:22 +11:00
|
|
|
# Depends on: python postgresql
|
|
|
|
|
|
|
|
name=psycopg2
|
2013-01-20 13:52:39 +02:00
|
|
|
version=2.4.6
|
2008-12-12 10:52:22 +11:00
|
|
|
release=1
|
2012-03-08 20:21:15 +02:00
|
|
|
source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-4/$name-$version.tar.gz)
|
2008-12-12 10:52:22 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
python setup.py install --root=$PKG --prefix=/usr
|
|
|
|
find $PKG -name '*.egg-info' | xargs rm
|
|
|
|
}
|