# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-pycolorterm _pkgname=pycolorterm pkgver=0.2.1 pkgrel=1 pkgdesc="A Python module to work with color and style formatting" url="https://github.com/dnmellen/pycolorterm" arch="noarch" license="BSD-3-Clause" replaces="py-pycolorterm" # for backwards compatibility provides="py-pycolorterm=$pkgver-r$pkgrel" # for backwards compatibility depends="python3" makedepends="python3-dev py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="c90cb9a0fde94bbd856ba555bb5137004a3a936e028830938bdadf25be94a6f13a0597afb5439681c89d483806375708106be585c236109e83c3e493973e7d4a pycolorterm-0.2.1.tar.gz"