[arch-commits] Commit in python-sqlobject/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Thu Feb 11 23:58:36 UTC 2010


    Date: Thursday, February 11, 2010 @ 18:58:36
  Author: andrea
Revision: 68247

upgpkg: python-sqlobject 0.12.1-2
    added optional dependence for supported databases (FS#18299)

Modified:
  python-sqlobject/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-11 23:58:23 UTC (rev 68246)
+++ PKGBUILD	2010-02-11 23:58:36 UTC (rev 68247)
@@ -1,21 +1,24 @@
 # $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
 # Contributor: Todd Maynard <arch at toddmaynard.com>
 
 pkgname=python-sqlobject
 pkgver=0.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A popular Object Relational Manager for providing an object interface to your database, with tables as classes, rows as instances, and columns as attributes"
 arch=('any')
 license=('LGPL')
 url="http://sqlobject.org/"
-depends=('python>=2.6' 'setuptools>=0.6c8' 'python-formencode>=0.7')
+depends=('python' 'setuptools' 'python-formencode')
+optdepends=('python-pysqlite: SQlite database support'
+	'python-mysql: MySQL database support'
+	'python-psycopg1: PostgreSQL database support')
 source=(http://cheeseshop.python.org/packages/source/S/SQLObject/SQLObject-$pkgver.tar.gz)
 md5sums=('8da2cb264934d82f8f10ba5e9abfb3a2')
 
 build() {
   cd "$srcdir/SQLObject-$pkgver"
   python setup.py install --root="$pkgdir" || return 1
-  echo "/usr/lib/python2.6/site-packages/SQLObject-$pkgver-py2.6.egg" >\
+  echo "/usr/lib/python2.6/site-packages/SQLObject-$pkgver-py2.6.egg" > \
     "$pkgdir/usr/lib/python2.6/site-packages/$pkgname.pth" || return 1
 }




More information about the arch-commits mailing list