# Maintainer: Marian Buschsieweke pkgname=py3-pcbnewtransition pkgver=0.3.4 pkgrel=0 pkgdesc="Easily support KiCAD 7, 6 and 5 in your KiCAD plugins by monkeypatching older versions to KiCAD 7 API" url="https://github.com/yaqwsx/pcbnewTransition" # riscv64: py3-shapely # aarch64, armv7, armhf, mips64: py3-solidpython # s390x: kicad arch="noarch !riscv64 !aarch64 !armv7 !armhf !s390x" license="MIT" depends=" kicad python3 " makedepends=" py3-gpep517 py3-python-versioneer py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/yaqwsx/pcbnewTransition/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/pcbnewTransition-$pkgver" options="!check" # no tests in the repo build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 595fc642e84750cde1cede1bea450f8b8871407482997bb5f172359717d7944e1304758a09ce7e2e3321a66bf17db346e6610dfced14a61c030f058460c91144 py3-pcbnewtransition-0.3.4.tar.gz "