summaryrefslogtreecommitdiff
path: root/user/py3-psycopg2/APKBUILD
blob: 2e75817d4568408fb6fa4352a95323eec55a99f8 (plain) (blame)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: 
pkgname=py3-psycopg2
_pkgname=psycopg2
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.8.4
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="d4590c6e4e310d280b6b341cb23427b56b04c1ef08e877f0d99a79c6b00b959307bb18defaf1d9cea58482fb974a78760c5f26a3ece8c1f34ae1840570a71a28  psycopg2-2.8.4.tar.gz"