2008-12-12 00:52:22 +01:00
|
|
|
# Description: Python bindings for PostgreSQL
|
2020-06-01 17:45:48 +02:00
|
|
|
# URL: https://www.psycopg.org/
|
2015-11-24 04:20:15 +01:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2020-04-07 16:26:31 +02:00
|
|
|
# Depends on: postgresql python3-setuptools
|
2008-12-12 00:52:22 +01:00
|
|
|
|
|
|
|
name=psycopg2
|
2021-06-21 19:15:29 +02:00
|
|
|
version=2.9.1
|
2008-12-12 00:52:22 +01:00
|
|
|
release=1
|
2021-06-21 19:15:29 +02:00
|
|
|
source=(https://files.pythonhosted.org/packages/aa/8a/7c80e7e44fb1b4277e89bd9ca509aefdd4dd1b2c547c6f293afe9f7ffd04/$name-$version.tar.gz)
|
2008-12-12 00:52:22 +01:00
|
|
|
|
|
|
|
build() {
|
2015-11-24 04:20:15 +01:00
|
|
|
cd $name-$version
|
2020-04-07 16:26:31 +02:00
|
|
|
python3 setup.py install --root=$PKG --prefix=/usr
|
2008-12-12 00:52:22 +01:00
|
|
|
}
|