# Contributor: Duncan Bellamy # Contributor: Leo # Maintainer: Duncan Bellamy pkgname=py3-pastel _realname=pastel pkgver=0.2.1 pkgrel=4 pkgdesc="Python3 library to bring colors to your terminal" options="!check" # No testsuite on tarball with setup.py url="https://github.com/sdispater/pastel" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://pypi.io/packages/source/p/pastel/pastel-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { python3 setup.py build } package() { python3 setup.py install --skip-build --root="$pkgdir" # do not install the tests package # see: https://github.com/sdispater/pastel/issues/7 rm -r "$pkgdir"/usr/lib/python*/site-packages/tests } sha512sums="7e310d632212c3d940823dc45fffc192094701ac3f8a06b030f0738522637be5dd770af74c009e7c96c120f6a0935e696baa8ee65b75cded1d064b885c2a2eea pastel-0.2.1.tar.gz"