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

Eric Bélanger eric at archlinux.org
Sun Nov 8 21:35:52 UTC 2009


    Date: Sunday, November 8, 2009 @ 16:35:52
  Author: eric
Revision: 58518

upgpkg: python-sqlobject 0.12.0-1
    Upstream update, Switched to 'any' arch

Modified:
  python-sqlobject/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-08 21:27:51 UTC (rev 58517)
+++ PKGBUILD	2009-11-08 21:35:52 UTC (rev 58518)
@@ -3,19 +3,20 @@
 # Contributor: Todd Maynard <arch at toddmaynard.com>
 
 pkgname=python-sqlobject
-pkgver=0.10.6
+pkgver=0.12.0
 pkgrel=1
 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')
-arch=(i686 x86_64)
 url="http://sqlobject.org/"
 depends=('python>=2.6' 'setuptools>=0.6c8' 'python-formencode>=0.7')
 source=(http://cheeseshop.python.org/packages/source/S/SQLObject/SQLObject-$pkgver.tar.gz)
+md5sums=('a51376b08206b0ea400a7bdde60d58d8')
+sha1sums=('3a89fa14eebb1745bd83ebaa26a19e51d77a99be')
 
 build() {
-  cd $startdir/src/SQLObject-$pkgver
-  python setup.py install --root=$startdir/pkg
+  cd "$srcdir/SQLObject-$pkgver"
+  python setup.py install --root="$pkgdir" || return 1
   echo "/usr/lib/python2.6/site-packages/SQLObject-$pkgver-py2.6.egg" >\
-    $startdir/pkg/usr/lib/python2.6/site-packages/$pkgname.pth
+    "$pkgdir/usr/lib/python2.6/site-packages/$pkgname.pth" || return 1
 }
-md5sums=('6f261dcfad992473c8d242626a7c49d6')




More information about the arch-commits mailing list