Date: Monday, October 10, 2022 @ 22:52:02
  Author: ffy00
Revision: 1327659

upgpkg: python-kikit 1.1.1-1

Modified:
  python-kikit/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-10 22:46:52 UTC (rev 1327658)
+++ PKGBUILD    2022-10-10 22:52:02 UTC (rev 1327659)
@@ -2,17 +2,17 @@
 
 _pkgname=KiKit
 pkgname=python-kikit
-pkgver=1.0.5
-pkgrel=2
+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')
-makedepends=('python-setuptools')
+         '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=('d2dd85144c06d5a4fe895ac21ad95993a9e505e07da045afe6ca7fd4f813bdce9c8b43215eee389582578812e5222fe9c807ac3bc73be040abe164ee5bcee43a')
+sha512sums=('a9609d3fec80a3ab00e683835fb9527988016da43790915ab009c229fba28178c9d63338279fc73788b11f9c694bf139bfa9b342c7c4db63d6c0f8b9652f541b')
 
 prepare() {
   sed -i '/versioneer/d' $_pkgname-$pkgver/setup.py
@@ -21,13 +21,13 @@
 build() {
   cd $_pkgname-$pkgver
 
-  python setup.py build
+  python -m build -nw
 }
 
 package() {
   cd $_pkgname-$pkgver
 
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer -d "$pkgdir" dist/*.whl
 
   install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
 }

Reply via email to