# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-ansi2html _pkgname=ansi2html pkgver=1.2.0 pkgrel=0 pkgdesc="Convert text with ANSI color codes to HTML" url="http://github.com/ralphbean/ansi2html/" arch="noarch" license="GPL3+" depends="python2 py-setuptools py-six" depends_dev="" makedepends="python2-dev" 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 } sha512sums="3106488da19cd093d7ae2a7499a66baf77877f47da0e497791cea2a63079c184f1d36743e78116b3faf08ab145ca97b5774151114b9ca193020578c8a3bdc860 ansi2html-1.2.0.tar.gz"