# Maintainer: Andy Weidenbaum pkgname=python2-humanfriendly pkgver=1.31 pkgrel=1 pkgdesc="Human friendly output for text interfaces using Python" arch=('any') depends=('python2') makedepends=('python2-setuptools') url="https://humanfriendly.readthedocs.org" license=('MIT') options=(!emptydirs) source=(https://pypi.python.org/packages/source/h/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz) md5sums=('09adf59b75037a59f2def75ae93d697f') sha256sums=('329b359b5aa8d330841379afea30ab343ec177fed826bfc8e44ebba43700ac5f') provides=('humanfriendly' 'python2-humanfriendly') conflicts=('humanfriendly') package() { cd "$srcdir/${pkgname#python2-}-$pkgver" msg 'Installing...' python2 setup.py install --root="$pkgdir" --optimize=1 }