blob: b1dad05108bd5dd206c557dd1d9bc2b295c2b9cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=py3-psycopg
pkgver=3.1.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"
# TODO: Remove py3-typing-extensions after upgrading python3 to 3.11
depends="py3-typing-extensions libpq"
makedepends="libpq-dev python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/psycopg/psycopg-$pkgver.tar.gz"
builddir="$srcdir/psycopg-$pkgver"
build() {
python3 setup.py build
}
check() {
make check
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
bf9544ecf9cdd9571bd7ab3e08a969992ed61c216b505b1d73d47600635f9facd567f727f6c727cf12887d387b60761d696d92f3f777b2bf70631b7a31107430 psycopg-3.1.7.tar.gz
"
|