Date: Saturday, April 8, 2023 @ 12:30:58
Author: felixonmars
Revision: 1442323
archrelease: copy trunk to community-staging-any
Added:
python-kikit/repos/community-staging-any/
python-kikit/repos/community-staging-any/PKGBUILD
(from rev 1442322, python-kikit/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-kikit/repos/community-staging-any/PKGBUILD (from rev 1442322,
python-kikit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 12:30:58 UTC (rev 1442323)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe LaĆns (FFY00) <[email protected]>
+
+_pkgname=KiKit
+pkgname=python-kikit
+pkgver=1.1.2
+pkgrel=2
+pkgdesc='Automation tools for KiCAD'
+arch=('any')
+url='https://github.com/yaqwsx/KiKit'
+license=('MIT')
+depends=('python' 'kicad' 'python-numpy' 'python-shapely' 'python-click'
'python-markdown2'
+ 'python-pybars3' 'python-solidpython' 'python-pcbnewtransition'
'python-commentjson')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('9e3a27e7c8d1cfe526b45a1b722602b49a431fcd665111abf2728054a668949ce26b553f222d77a6477088b3b4f7e6830f3e73703410401bfac3f8fdae888f65')
+
+prepare() {
+ sed -i '/versioneer/d' $_pkgname-$pkgver/setup.py
+}
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python -m build -nw
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python -m installer -d "$pkgdir" dist/*.whl
+
+ install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
+
+# vim:set ts=2 sw=2 et: