# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-columnize
_pkgname=columnize
pkgver=0.3.6
pkgrel=0
pkgdesc="Python module to align in columns a simple list"
url="http://code.google.com/p/pycolumnize/"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="820361100672d798ec241a63de64131c  columnize-0.3.6.tar.gz"
sha256sums="2a6004a1076dddf711c222fae4c165d17f86c14c00de37b738fa7c1d2b539e9d  columnize-0.3.6.tar.gz"
sha512sums="76edef11eb7c4196516fca282a46cae0d56f8ce1229cbedc066518216dbaada30f7a37ca9b510dedabe3954faf55daea7bd5356bc9e6301cdc0fe771f1b401d7  columnize-0.3.6.tar.gz"