blob: 9d42f70ce93b15652ecc255a152a9fda2a87b0fa (
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.4.6
pkgrel=1
pkgdesc="Python-PostgreSQL Database Adapter"
url="http://initd.org/psycopg/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="python-dev postgresql-dev"
install=""
subpackages=""
source="http://initd.org/psycopg/tarballs/PSYCOPG-2-4/$_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="79d7f05e67bf70a0ecc6e9103ccece5f psycopg2-2.4.6.tar.gz"
sha256sums="4edcb40b0a039b4b559a6bc887b2155db8b6c53d0f55b00af8338c77b725621f psycopg2-2.4.6.tar.gz"
sha512sums="da23264f66b4054f26b7029b97856cdab91870e8a6c72cd5dabe37b36c96b3cb19a9adebf49844f5330ae3009f1ff4a81cc28eba1c4baf18e099ca7a10c808ad psycopg2-2.4.6.tar.gz"
|