Date: Sunday, August 28, 2022 @ 09:20:48 Author: arojas Revision: 1285033
New python-kikit dependency Added: python-pcbnewtransition/ python-pcbnewtransition/trunk/ python-pcbnewtransition/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Added: python-pcbnewtransition/trunk/PKGBUILD =================================================================== --- python-pcbnewtransition/trunk/PKGBUILD (rev 0) +++ python-pcbnewtransition/trunk/PKGBUILD 2022-08-28 09:20:48 UTC (rev 1285033) @@ -0,0 +1,24 @@ +# Maintainer: + +_pkgname=pcbnewTransition +pkgname=python-pcbnewtransition +pkgver=0.2.0 +pkgrel=1 +pkgdesc='Library that allows you to support both, KiCAD 5 and KiCAD 6 in your plugins' +arch=(any) +url='https://github.com/yaqwsx/pcbnewTransition' +license=(MIT) +depends=(python kicad) +makedepends=(python-build python-installer python-setuptools python-wheel) +source=(https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz) +sha512sums=('650867b9d3ed7e4f9a6e9e90c58a0e8bee6efccd7cf88c145229837540d053d221f4d78f4ceb2c3286d4f64966542b5170c574b28455b9f5535f7a76b653f1c9') + +build() { + cd $_pkgname-$pkgver + python -m build --wheel --no-isolation --skip-dependency-check +} + +package() { + cd $_pkgname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +}