aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-psycopg2/APKBUILD
blob: 8fe4cfdc7db1b0cccad96fe9d5c4a0d8b9f5aa62 (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.1
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="http://pypi.python.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="842b44f8c95517ed5b792081a2370da1  psycopg2-2.6.1.tar.gz"
sha256sums="6acf9abbbe757ef75dc2ecd9d91ba749547941abaffbe69ff2086a9e37d4904c  psycopg2-2.6.1.tar.gz"
sha512sums="00705f6b417acc89e2e66b7bdc25c31d92de7610173fe41b2b35728ebb6b55ef8c7df67032c2a2e3d908d8599a1d378578ade77bd19f5f186fbf2596290eda69  psycopg2-2.6.1.tar.gz"