aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-psycopg2/APKBUILD
blob: fc52ea5dbc952e083bfd09029ab717c77d4237d8 (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: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-psycopg2
_pkgname=psycopg2
pkgver=2.6.2
pkgrel=0
pkgdesc="A Python-PostgreSQL Database Adapter"
url="http://initd.org/psycopg/"
arch="all"
license="LGPL2+"
depends="py-egenix-mx-base"
depends_dev=""
makedepends="python-dev postgresql-dev py-egenix-mx-base-dev"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" --skip-build || return 1
}

md5sums="4a392949ba31a378a18ed3e775a4693f  psycopg2-2.6.2.tar.gz"
sha256sums="70490e12ed9c5c818ecd85d185d363335cc8a8cbf7212e3c185431c79ff8c05c  psycopg2-2.6.2.tar.gz"
sha512sums="614314b5ab7ab5fa7c5e9c4f861579f90bd73521a9964dcb5a0938f77a9d6dfbea689cef35ad399cda698a45bb736c315912cb5dca85a52132f011d79f4863ac  psycopg2-2.6.2.tar.gz"