1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Alexander Duscheleit <jinks@archlinux.us>
4 pkgname=python-colorama
7 pkgdesc="Python API for cross-platform colored terminal text."
9 url="https://pypi.python.org/pypi/colorama"
12 makedepends=('python-build' 'python-installer' 'python-hatchling')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/tartley/colorama/archive/$pkgver.tar.gz")
14 sha512sums=('2b269b190041398a1808b0b5147e47422b4451a1bc91841d0957572214ba8addd731c8932afdc60bfbba9833a0fe6c9c5c2ecb150613f13498f661799d625e4f')
23 python -m unittest discover -p *_test.py
28 python -m installer -d "$pkgdir" dist/*.whl
29 install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/