aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-kikit/APKBUILD
blob: 4e1db2f519c7f302435a2b39836cb38e8f3527fb (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
33
34
35
36
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-kikit
pkgver=0.6.1
pkgrel=0
pkgdesc="Python library and CLI tool to automate several tasks in KiCAD"
url="https://github.com/yaqwsx/KiKit"
# mips, mips64, s390x: py3-shapely
# aarch64, armv7, armhf, mips, mips64: py3-solidpython
arch="noarch !mips !mips64 !s390x !aarch64 !armv7 !armhf"
license="MIT"
depends="
	python3
	py3-click
	py3-markdown2
	py3-pybars3
	py3-shapely
	py3-solidpython
	py3-python-versioneer
	py3-setuptools
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/yaqwsx/KiKit/archive/v$pkgver.tar.gz"
builddir="$srcdir/KiKit-$pkgver"
options="!check" # Not all dependencies packaged for check

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="42ef83b16be4bc1305ab3725737d349c2f881c28eb83163e3db149a58b607085834efb519de052745dea20b7d8c6eeded425593fe2fbdc7400087c5f875177e4  py3-kikit-0.6.1.tar.gz"