contrib/psycopg2/Pkgfile

16 lines
410 B
Plaintext

# Description: Python bindings for PostgreSQL
# URL: http://www.initd.org/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: python postgresql
name=psycopg2
version=2.6.2
release=1
source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-6/$name-$version.tar.gz)
build() {
cd $name-$version
python setup.py install --root=$PKG --prefix=/usr
find $PKG -name '*.egg-info' | xargs rm -r
}