# Maintainer: Florian Pritz <bluewind@xinu.at>

pkgname=python-ansi2html
_libname=${pkgname/python-/}
pkgver=1.6.0
pkgrel=1
pkgdesc="Convert text with ANSI color codes to HTML"
arch=('any')
url="https://pypi.python.org/pypi/ansi2html"
license=('GPL')
depends=('python-six' 'python-setuptools' 'python-wheel' 'python-pip')
source=("https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
md5sums=('52279d05a63449caf698f2d4a250ff72')
sha256sums=('0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596')
validpgpkeys=(94504C3AE11DD197920058ABA90ED7DE971095FF)

package() {
  cd ansi2html-$pkgver

  python setup.py install --root="$pkgdir"  --optimize=1
}
