# Contributor: Fabian Affolter # Maintainer: Fabian Affolter 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"