1 # Contributor: Jesse Young <jesse.young@gmail.com>
3 pkgname=python-mimerender
6 pkgdesc="This module allows to transparently select a render function for an HTTP request handler's result."
8 url="http://code.google.com/p/mimerender/"
10 depends=('python2' 'python-mimeparse')
13 source=("http://${pkgname#python-}.googlecode.com/files/${pkgname#python-}-${pkgver}.tar.gz"
14 "http://${pkgname#python-}.googlecode.com/svn/trunk/debian/copyright")
17 cd ${srcdir}/${pkgname#python-}-${pkgver}
19 python2 setup.py build || return 1
20 python2 setup.py install --root ${pkgdir} || return 1
22 install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
23 install -m644 "$srcdir/copyright" "$pkgdir/usr/share/licenses/$pkgname"
26 md5sums=('58c53bfe4abd81af7deb5e37758b1753'
27 '49dcc91cd4f3a3ec50d0051a561bb826')