2008-12-12 00:52:22 +01:00
|
|
|
# Description: Python bindings for PostgreSQL
|
|
|
|
# URL: http://www.initd.org/
|
2015-11-24 04:20:15 +01:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2008-12-12 00:52:22 +01:00
|
|
|
# Depends on: python postgresql
|
|
|
|
|
|
|
|
name=psycopg2
|
2016-09-30 17:43:36 +02:00
|
|
|
version=2.6.2
|
2008-12-12 00:52:22 +01:00
|
|
|
release=1
|
2015-11-24 04:20:15 +01:00
|
|
|
source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-6/$name-$version.tar.gz)
|
2008-12-12 00:52:22 +01:00
|
|
|
|
|
|
|
build() {
|
2015-11-24 04:20:15 +01:00
|
|
|
cd $name-$version
|
|
|
|
python setup.py install --root=$PKG --prefix=/usr
|
2016-09-30 17:43:36 +02:00
|
|
|
find $PKG -name '*.egg-info' | xargs rm -r
|
2008-12-12 00:52:22 +01:00
|
|
|
}
|