aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-kiwisolver/APKBUILD
blob: 374d9be5bd8e0ead335451fae8d1807990a0424b (plain)
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
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-kiwisolver
_pkgname=kiwisolver
pkgver=1.1.0
pkgrel=1
pkgdesc="Efficient implementation of the Cassowary constraint solving algorithm"
url="https://github.com/nucleic/kiwi"
arch="all"
license="BSD-3-Clause-Attribution"
depends="py3-setuptools"
makedepends="python3-dev"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/nucleic/kiwi/archive/$pkgver.tar.gz"
builddir="$srcdir"/kiwi-$pkgver

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

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$(echo $PWD/build/lib.*-3*)" py.test-3
}

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


sha512sums="e26a951fdba2fb221effe7ed785010d5795695b30e19fb67a30dc2ac883ee21b1daec967ad89734309c101513cd17bb5971118591270f402b8d46098178aff25  py3-kiwisolver-1.1.0.tar.gz"