# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-termcolor _pkgname=termcolor pkgver=1.1.0 pkgrel=4 pkgdesc="ANSII Color formatting for output in terminal." url="https://pypi.org/project/termcolor/" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-termcolor" # Backwards compatibility provides="py-termcolor=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --root="$pkgdir" --optimize=1 } sha512sums="4bd06bf4405a9ef6c005cd4d159ef602f7fc7fccb3e57586da1187c402f4d0b9051ef930cae423065c51ff4be8a22ceae556a61a6b3c8c519d623c066c340b53 termcolor-1.1.0.tar.gz"