~dricottone/huttese-apk

ref: 810a2724a8a0be6f06e96c23c42cb95e2626dc3c huttese-apk/sr.ht/py3-colour/APKBUILD -rw-r--r-- 711 bytes
810a2724 — Drew DeVault Update submit-builds 5 years ago
                                                                                
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"