diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/pypgsql |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/pypgsql')
-rw-r--r-- | extra/pypgsql/COPYING | 20 | ||||
-rw-r--r-- | extra/pypgsql/PKGBUILD | 23 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/pypgsql/COPYING b/extra/pypgsql/COPYING new file mode 100644 index 000000000..c13985414 --- /dev/null +++ b/extra/pypgsql/COPYING @@ -0,0 +1,20 @@ + pyPgSQL, version 2.5 + A Python DB-API 2.0 compliant interface for PostgreSQL + Copyright 2000 by Billy G. Allie. + All rights reserved. + + Permission to use, copy, modify, and distribute this software and it's + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the copyright owner's name not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. diff --git a/extra/pypgsql/PKGBUILD b/extra/pypgsql/PKGBUILD new file mode 100644 index 000000000..ef62e81c9 --- /dev/null +++ b/extra/pypgsql/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 89618 2010-09-02 16:23:36Z remy $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=pypgsql +pkgver=2.5.1 +pkgrel=7 +pkgdesc="A python client library for postgresql" +arch=(i686 x86_64) +license=('custom') +url="http://pypgsql.sourceforge.net/" +depends=('python-egenix-mx-base>=2.0.6-3' 'postgresql-libs>=8.4') +source=(http://downloads.sourceforge.net/${pkgname}/pyPgSQL-${pkgver}.tar.gz + 'COPYING') +md5sums=('82670f6f1652aa4766fdaec2cb43debd' + '235c239b51a8b8e6b53c414ef71d7612') + +build() { + cd ${srcdir}/pyPgSQL-${pkgver} || return 1 + python2 setup.py install --root=${pkgdir} || return 1 + + # install custom license + install -Dm644 $srcdir/COPYING \ + $pkgdir/usr/share/licenses/$pkgname/COPYING +} |