# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-psycopg2 pkgver=2.9.7 pkgrel=0 pkgdesc="PostgreSQL adapter for python" options="!check" # Requires running database url="http://initd.org/psycopg" arch="all" license="LGPL-2.0-or-later" makedepends="libpq-dev python3-dev py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-$pkgver.tar.gz" builddir="$srcdir/psycopg2-$pkgver" build() { python3 setup.py build } check() { make check } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 77f9136989ce035dc66eec47271bd2e18606db0637eb34300b0b95895358499dae2f5f714ce49d817070f949ec9daa46d221861449cce75225c15c19e757c1a3 psycopg2-2.9.7.tar.gz "