1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-ansicolors
5 _commit=c965f5b9103c5bd32a1572adb8024ebe83278fb0
7 pkgdesc="ANSI colors for Python"
8 url="https://github.com/jonathaneunice/colors"
12 makedepends=('python-setuptools')
13 checkdepends=('python-pytest')
14 source=("https://github.com/jonathaneunice/colors/archive/$_commit/$pkgname-$_commit.tar.gz")
15 sha512sums=('f60770496614b75fc2a6bab15c55a87c245ac233c907708572e76d4701690895b3a350b7ab2934304262a8e9076fbff64a9792c2345fe5994af0c6c09209e6a2')
29 python setup.py install --root="$pkgdir" --optimize=1
31 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/