Date: Monday, October 10, 2022 @ 22:52:14
Author: ffy00
Revision: 1327660
archrelease: copy trunk to community-any
Added:
python-kikit/repos/community-any/PKGBUILD
(from rev 1327659, python-kikit/trunk/PKGBUILD)
Deleted:
python-kikit/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-10 22:52:02 UTC (rev 1327659)
+++ PKGBUILD 2022-10-10 22:52:14 UTC (rev 1327660)
@@ -1,35 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <[email protected]>
-
-_pkgname=KiKit
-pkgname=python-kikit
-pkgver=1.0.5
-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')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('d2dd85144c06d5a4fe895ac21ad95993a9e505e07da045afe6ca7fd4f813bdce9c8b43215eee389582578812e5222fe9c807ac3bc73be040abe164ee5bcee43a')
-
-prepare() {
- sed -i '/versioneer/d' $_pkgname-$pkgver/setup.py
-}
-
-build() {
- cd $_pkgname-$pkgver
-
- python setup.py build
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-kikit/repos/community-any/PKGBUILD (from rev 1327659,
python-kikit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-10 22:52:14 UTC (rev 1327660)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+
+_pkgname=KiKit
+pkgname=python-kikit
+pkgver=1.1.1
+pkgrel=1
+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=('a9609d3fec80a3ab00e683835fb9527988016da43790915ab009c229fba28178c9d63338279fc73788b11f9c694bf139bfa9b342c7c4db63d6c0f8b9652f541b')
+
+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: