~dricottone/huttese-apk

ref: 6c92f9839f3fa96395f685138784b9cb5c940e4a huttese-apk/sr.ht/py3-colour/APKBUILD -rw-r--r-- 711 bytes
6c92f983 — Drew DeVault lists.sr.ht: Use srht-migrate for core migrations 5 years ago
                                                                                
129e647f Drew DeVault
04866bce Drew DeVault
129e647f Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=colour
pkgname=py3-colour
pkgver=0.1.2
pkgrel=0
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"