mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
31 lines
831 B
Plaintext
31 lines
831 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-psycopg2
|
|
pkgver=2.9.6
|
|
pkgrel=1
|
|
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="
|
|
fc1563a0a03dfb2c1d5f6729ea98564bdda45ddbb37398fa62fb1d9d8882eb1d58567f49704c4f9b7eae2a043c948b6420e7e6346f67a47078fd343c235a33be psycopg2-2.9.6.tar.gz
|
|
"
|