PKGBUILDs/extra/python-sqlobject/PKGBUILD
2009-10-09 21:23:22 -05:00

21 lines
873 B
Bash

# $Id: PKGBUILD 49383 2009-08-06 23:58:11Z giovanni $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Todd Maynard <arch@toddmaynard.com>
pkgname=python-sqlobject
pkgver=0.10.6
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"
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)
build() {
cd $startdir/src/SQLObject-$pkgver
python setup.py install --root=$startdir/pkg
echo "/usr/lib/python2.6/site-packages/SQLObject-$pkgver-py2.6.egg" >\
$startdir/pkg/usr/lib/python2.6/site-packages/$pkgname.pth
}
md5sums=('6f261dcfad992473c8d242626a7c49d6')