# Maintainer: jan.scevlik <jan.scevlik@gmail.com>
# Contributor: Aaron DeVore <aaron.devore@gmail.com>
# Contributor: tocer <tocer.deng@gmail.com>
pkgname=python2-xlutils
_realname=xlutils
pkgver=1.5.2
pkgrel=1
pkgdesc="Utilities for working with Excel files"
arch=(any)
url="http://www.simplistix.co.uk/software/python/xlutils"
license=(MIT)
depends=('python2' 'python2-xlrd' 'python2-xlwt' 'python2-errorhandler')
source=("http://pypi.python.org/packages/source/x/xlutils/$_realname-$pkgver.tar.gz")
md5sums=('424695a602a0bf560b1151675a49b66f')
makedepends=(python2-distribute)
provides=(python-xlutils)
conflicts=(python-xlutils)
build() {
cd "$srcdir/xlutils-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
package() {
cd "$srcdir/xlutils-$pkgver"
install -Dm644 xlutils/license.txt \
"$pkgdir/usr/share/licenses/$pkgname/license.txt"
}