aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-psycopg2/APKBUILD
blob: 22d42ff7b6da1d5cb27c3d960f70f1b6165e8ba2 (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.5.4
pkgrel=0
pkgdesc="A Python-PostgreSQL Database Adapter"
url="http://initd.org/psycopg/"
arch="all"
license="LGPL2+"
depends=""
depends_dev=""
makedepends="python-dev postgresql-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" || return 1
}

md5sums="25216543a707eb33fd83aa8efb6e3f26  psycopg2-2.5.4.tar.gz"
sha256sums="24ba3f328aba08d8d505bc2a8f68a94ebe24a85e8483640b667221bc0efd3b1e  psycopg2-2.5.4.tar.gz"
sha512sums="24e7f7940cb55ad686d93c5baa3286be56a5c21376868403248fff919e54cfa57c039623c1b8c10947fa206aabb9eb865e051520a5a0445be133962eed016854  psycopg2-2.5.4.tar.gz"