summaryrefslogblamecommitdiff
path: root/user/py3-psycopg2/APKBUILD
blob: 3893ee0ab731d29f5c0c8545c612de8b59e164fe (plain) (tree)
1
2
3
4
5
6
7




                                                               
            


















                                                                                              
                                                                                                                                                                    
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: 
pkgname=py3-psycopg2
_pkgname=psycopg2
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.8.5
pkgrel=0
pkgdesc="PostgreSQL adapter for python"
url="http://initd.org/psycopg"  # No HTTPS
arch="all"
options="!check"  # Requires a running PostgreSQL server.
# Certified net clean
license="LGPL-3.0+ WITH OpenSSL-link-exception"
depends="python3"
makedepends="postgresql-dev python3-dev"
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d4cf9b94573b90fe56555ea5cf841aa0c4c806770f92f35a7ef2531999bb50f98eb1276e56f1540b5f2695e443bac7e9cb8bbfbd24ed82164f99663259d2da3e  psycopg2-2.8.5.tar.gz"