summaryrefslogtreecommitdiff
path: root/community/python-psycopg1/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-16 10:34:49 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-16 10:34:49 +0100
commitf24ad15758f8eebcc46cb0c210f888491869d3f0 (patch)
tree85c74dd33e056502de7a306161d28f5b15b274c2 /community/python-psycopg1/PKGBUILD
parent5f4568c7f7ba204bc047d2c74a5721f23024b339 (diff)
parent636ce8849a9c82c1787c2919ffcfe6685cb799d3 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/chmsee/PKGBUILD community/darkstat/PKGBUILD community/dbmail/PKGBUILD community/dvdisaster/PKGBUILD community/epic4/PKGBUILD community/fb-client/PKGBUILD community/fcrackzip/PKGBUILD community/fdupes/PKGBUILD community/flobopuyo/PKGBUILD community/intel-tbb/PKGBUILD community/openbsd-netcat/PKGBUILD community/sunpinyin/PKGBUILD community/tinc/PKGBUILD community/uudeview/PKGBUILD community/zathura/PKGBUILD core/libedit/PKGBUILD core/mkinitcpio-busybox/PKGBUILD core/openssl/PKGBUILD core/util-linux/PKGBUILD extra/lua/PKGBUILD gnome-unstable/pidgin/PKGBUILD testing/openssl/PKGBUILD testing/sudo/PKGBUILD testing/udev/PKGBUILD testing/util-linux/PKGBUILD
Diffstat (limited to 'community/python-psycopg1/PKGBUILD')
-rwxr-xr-xcommunity/python-psycopg1/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/python-psycopg1/PKGBUILD b/community/python-psycopg1/PKGBUILD
index 54244d526..bc465e792 100755
--- a/community/python-psycopg1/PKGBUILD
+++ b/community/python-psycopg1/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 60201 2011-12-07 14:41:34Z arodseth $
+# $Id: PKGBUILD 67660 2012-03-13 16:23:29Z lcarlier $
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=python-psycopg1
pkgver=1.1.21
-pkgrel=5
+pkgrel=6
pkgdesc="A PostgreSQL database adapter for Python"
arch=('i686' 'x86_64' 'mips64el')
url="http://initd.org/projects/psycopg1"
license=('GPL')
depends=('python-egenix-mx-base' 'postgresql')
-source=(http://initd.org/pub/software/psycopg/psycopg-$pkgver.tar.gz)
+source=(http://initd.org/psycopg/tarballs/PSYCOPG-1-1/psycopg-$pkgver.tar.gz)
md5sums=('a31f79f68d6d32898d6f24e11369a106')
sha1sums=('02d8a8b5dd682306117896c7c63a9a1b518997b6')
build() {
cd "$srcdir/psycopg-$pkgver"
+
./configure --prefix=/usr --with-python=/usr/bin/python2 \
--with-mxdatetime-includes=/usr/lib/python2.7/site-packages/mx/DateTime/mxDateTime
sed -e 's:\(echo " install -m 555 $$mod \)\($(PY_MOD_DIR)\)\("; \\\):\1${DESTDIR}\2/$$mod\3:' \
@@ -25,5 +26,6 @@ build() {
package() {
cd "$srcdir/psycopg-$pkgver"
+
make DESTDIR="$pkgdir" install
}