1. # Maintainer: jan.scevlik <jan.scevlik@gmail.com>
  2. # Contributor: Aaron DeVore <aaron.devore@gmail.com>
  3. # Contributor: tocer <tocer.deng@gmail.com>
  4.  
  5. pkgname=python2-xlutils
  6. _realname=xlutils
  7. pkgver=1.5.2
  8. pkgrel=1
  9. pkgdesc="Utilities for working with Excel files"
  10. arch=(any)
  11. url="http://www.simplistix.co.uk/software/python/xlutils"
  12. license=(MIT)
  13. depends=('python2' 'python2-xlrd' 'python2-xlwt' 'python2-errorhandler')
  14. source=("http://pypi.python.org/packages/source/x/xlutils/$_realname-$pkgver.tar.gz")
  15. md5sums=('424695a602a0bf560b1151675a49b66f')
  16. makedepends=(python2-distribute)
  17. provides=(python-xlutils)
  18. conflicts=(python-xlutils)
  19.  
  20. build() {
  21.   cd "$srcdir/xlutils-$pkgver"
  22.   python2 setup.py install --root="$pkgdir/" --optimize=1
  23. }
  24.  
  25. package() {
  26.   cd "$srcdir/xlutils-$pkgver"
  27.   install -Dm644 xlutils/license.txt \
  28.     "$pkgdir/usr/share/licenses/$pkgname/license.txt"
  29. }