# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=colour
pkgname=py3-colour
pkgver=0.1.2
pkgrel=1
pkgdesc="Colour representations manipulation library (RGB, HSL, web, ...)"
url="https://github.com/vaab/colour"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/c/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="2d8c76ff1576a5f2df7d7fe658a2f3f8513d5442b3c390cf1b0de68ecfd254a93fa55a0ed5a7128567d27508447f1aa641694b6940ba29c5d4006c68dd31b99a colour-0.1.2.tar.gz"