mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-colour
|
|
pkgver=0.1.5
|
|
pkgrel=4
|
|
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"
|
|
checkdepends="py3-coverage py3-nose"
|
|
source="https://files.pythonhosted.org/packages/source/c/colour/colour-$pkgver.tar.gz
|
|
remove-d2to1.patch"
|
|
builddir="$srcdir/colour-$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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
09a5160862bf10cd5f4a94e43c63d6f2a5db43bcaae0e9d8f66900113ec04471e22d0bec7412f0289c6f1e6871c1a544f5be36266aa8d6fd5ec274bd461d9df8 colour-0.1.5.tar.gz
|
|
84d539357438ccba1e34f04a0aa3a5dc14999621c9da1d764535aeced737e0d4cf5e096b10872a83186970c9a3e74f4ec8d94e999287a0b89168f55aebd929a4 remove-d2to1.patch
|
|
"
|