aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-colour/APKBUILD
blob: c4237fdebaa9546e54027ccc142d1d17be41e3b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-colour
_pkgname=colour
pkgver=0.1.5
pkgrel=0
pkgdesc="Python module to convert and manipulate color representations"
url="https://github.com/vaab/colour"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-d2to1"
checkdepends="py3-coverage py3-nose"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-colour" # Backwards compatibility
replaces="py-colour=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	nosetests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="09a5160862bf10cd5f4a94e43c63d6f2a5db43bcaae0e9d8f66900113ec04471e22d0bec7412f0289c6f1e6871c1a544f5be36266aa8d6fd5ec274bd461d9df8  colour-0.1.5.tar.gz"