17 lines
459 B
Plaintext
17 lines
459 B
Plaintext
# Description: Python bindings for PostgreSQL
|
|
# URL: http://www.initd.org/
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
|
# Depends on: python postgresql
|
|
|
|
name=psycopg2
|
|
version=2.4.6
|
|
release=1
|
|
source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-4/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
python setup.py install --root=$PKG --prefix=/usr
|
|
find $PKG -name '*.egg-info' | xargs rm
|
|
}
|