[arch-commits] Commit in python-pcbnewtransition (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Aug 28 09:21:05 UTC 2022
Date: Sunday, August 28, 2022 @ 09:21:04
Author: arojas
Revision: 1285034
archrelease: copy trunk to community-any
Added:
python-pcbnewtransition/repos/
python-pcbnewtransition/repos/community-any/
python-pcbnewtransition/repos/community-any/PKGBUILD
(from rev 1285033, python-pcbnewtransition/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-pcbnewtransition/repos/community-any/PKGBUILD (from rev 1285033, python-pcbnewtransition/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2022-08-28 09:21:04 UTC (rev 1285034)
@@ -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
+}
More information about the arch-commits
mailing list