updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / pytools / PKGBUILD
blobfea3c187018dd4549eaacf297409c8cca9142936
1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
2 pkgname=pytools
3 pkgver=2011.3
4 pkgrel=1
5 pkgdesc="A collection of tools for Python"
6 arch=('any')
7 url="http://mathema.tician.de/software/pytools"
8 license=('MIT/X Consortium')
9 depends=('python2' 'python-decorator')
10 makedepends=('python2-distribute')
11 source=(http://pypi.python.org/packages/source/p/pytools/${pkgname}-${pkgver}.tar.gz)
12 sha1sums=('1694ed65329af710c5aee74fa11992c836778450')
14 build() {
15    cd "${srcdir}/${pkgname}-${pkgver}"
16    python2 setup.py build
19 package() {
20    cd "${srcdir}/${pkgname}-${pkgver}"
21    python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1