1 # Maintainer: Casper Bruun <casperbruun@gmail.com>
2 # Based on Angel Velasquez's python-sqlalchemy package
4 pkgname=python3-sqlalchemy
7 pkgdesc="Python SQL toolkit and Object Relational Mapper. Python 3 version."
9 url="http://www.sqlalchemy.org/"
11 depends=('python' 'python2-distribute')
12 source=(http://downloads.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-$pkgver.tar.gz)
13 md5sums=('0152094452e7e94b6505190db6c8ede8')
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