updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / python-sqlalchemy-py3k / PKGBUILD
bloba972565b513c9f9474fcad003a3be96e517aa269
1 # Maintainer: Casper Bruun <casperbruun@gmail.com>
2 # Based on Angel Velasquez's python-sqlalchemy package
4 pkgname=python-sqlalchemy-py3k
5 pkgver=0.6.5
6 pkgrel=1
7 pkgdesc="Python SQL toolkit and Object Relational Mapper. Python 3 version."
8 arch=('any')
9 url="http://www.sqlalchemy.org/"
10 license=('MIT')
11 depends=('python' 'python2-distribute')
12 source=(http://downloads.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-$pkgver.tar.gz)
13 md5sums=('0152094452e7e94b6505190db6c8ede8')
15 build() {
16   cd ${srcdir}/SQLAlchemy-${pkgver}
17   python distribute_setup.py
18   python sa2to3.py --no-diffs -w lib test examples
19   python setup.py install --root=${pkgdir}
20   install -D -m644 LICENSE \
21         ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE