1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/py3-psycopg2/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
804 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-psycopg2
pkgver=2.9.5
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"
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="
61e431ceeba0830597b6a02882d670fef216d3d5ee5c6c1ce7a6ecdd13a8e04ee6637f7cb2ee39517b465f1ad014c48ddbba44154bd1dfc7f3fd08bd9ea82e43 psycopg2-2.9.5.tar.gz
"