Date: Thursday, December 27, 2018 @ 07:43:47 Author: polyzen Revision: 418481
Initial commit Added: python-ansicolor/ python-ansicolor/repos/ python-ansicolor/trunk/ python-ansicolor/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Added: python-ansicolor/trunk/PKGBUILD =================================================================== --- python-ansicolor/trunk/PKGBUILD (rev 0) +++ python-ansicolor/trunk/PKGBUILD 2018-12-27 07:43:47 UTC (rev 418481) @@ -0,0 +1,25 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Darshit Shah <dar...@gmail.com> + +_name=ansicolor +pkgname=python-ansicolor +pkgver=0.2.6 +pkgrel=5 +pkgdesc='Library to produce ansi color output and colored highlighting and diffing' +depends=('python') +makedepends=('python-setuptools') +arch=('any') +url=https://github.com/numerodix/ansicolor +license=('Apache') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('d17e1b07b9dd7ded31699fbca53ae6cd373584f9b6dcbc124d1f321ebad31f1d') + +build() { + cd $_name-$pkgver + python setup.py build +} + +package() { + cd $_name-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}