updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python-tablib / PKGBUILD
blob0c5aa796cb9d538dd22b7111360f9f7398e2f8be
1 # Maintainer: David Scholl <djscholl at gmail dot com>
2 pkgname=python-tablib
3 pkgver=0.9.2
4 pkgrel=1
5 pkgdesc="A format-agnostic tabular dataset library, written in Python."
6 arch=('any')
7 url="http://tablib.org"
8 license=('MIT')
9 depends=('python2')
10 source=(kennethreitz-tablib-d7ddb59.tar.gz::https://github.com/kennethreitz/tablib/tarball/v$pkgver)
11 md5sums=('5b5b52bda90eb014e41bab13ad70c192')
13 build() {
14   cd $srcdir/kennethreitz-tablib-d7ddb59
15   sed 's/python/python2/' -i tablib/packages/xlwt/Formatting.py || return 1
16   python2 setup.py install --root=$pkgdir || return 1
17   install -D -m644 $srcdir/kennethreitz-tablib-d7ddb59/LICENSE \
18     $pkgdir/usr/share/licenses/$pkgname/LICENSE
19   install -D -m644 $srcdir/kennethreitz-tablib-d7ddb59/NOTICE \
20     $pkgdir/usr/share/licenses/$pkgname/NOTICE