~dricottone/huttese-apk

ref: 7b157dd0cd2266fe6b0a848aa2e449e9f88e4b81 huttese-apk/sr.ht/py3-colour/APKBUILD -rw-r--r-- 791 bytes
7b157dd0 — Drew DeVault py3-humanize: upgrade to 3.9.0 3 years ago
                                                                                
129e647f Drew DeVault
f9216d16 Drew DeVault
74dd41ba Drew DeVault
129e647f Drew DeVault
74dd41ba Drew DeVault
c070a390 Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
f9216d16 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
26
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-colour
_pyname=colour
pkgver=0.1.5
pkgrel=4
pkgdesc="Colour representations manipulation library (RGB, HSL, web, ...)"
url="https://github.com/vaab/colour"
arch="noarch"
license="MIT"
depends="python3 py3-d2to1"
makedepends="py3-setuptools py3-wheel"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

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