George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-pcbnewtransition


Commits:
4afe416e by George Rawlinson at 2024-10-17T10:24:10+13:00
upgpkg: 0.4.2-1

* New upstream release.
* Add license file.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = python-pcbnewtransition
-       pkgdesc = Library that allows you to support both, KiCAD 5 and KiCAD 6 
in your plugins
-       pkgver = 0.4.1
-       pkgrel = 2
+       pkgdesc = Library that allows you to support KiCAD 6/7/8 in your KiCAD 
plugins
+       pkgver = 0.4.2
+       pkgrel = 1
        url = https://github.com/yaqwsx/pcbnewTransition
        arch = any
        license = MIT
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
@@ -12,7 +13,8 @@ pkgbase = python-pcbnewtransition
        makedepends = python-versioneer
        depends = python
        depends = kicad
-       source = 
https://pypi.io/packages/source/p/pcbnewTransition/pcbnewTransition-0.4.1.tar.gz
-       sha512sums = 
1a0e49bede2d809982858191313688b51d0d815e03d3eec32ad48e83ee26269bb44dadd3f8f28ddc73f09fbf69081cc828654199db546d71d0aa8d2fdf654fc6
+       source = 
python-pcbnewtransition::git+https://github.com/yaqwsx/pcbnewTransition#tag=v0.4.2
+       sha512sums = 
dfdf6a769712d3c024f0d6244ada1f28378f59220c7e2a82fa45154f1643949732e6627b4c7eea0277faa6a179e15e355665e4cff2cc684a37f2e8eeebcc0a22
+       b2sums = 
429e4bdcd48adb3b96ad361b7709de05feef87e418a567f98cc123a3cacd6211483f8c0fae85415193f0a0338d4f0e12ef1d72947bb7e840ee131d7b6ff7016d
 
 pkgname = python-pcbnewtransition


=====================================
PKGBUILD
=====================================
@@ -1,29 +1,42 @@
-# Maintainer:
+# Maintainer: George Rawlinson <[email protected]>
 
-_pkgname=pcbnewTransition
 pkgname=python-pcbnewtransition
-pkgver=0.4.1
-pkgrel=2
-pkgdesc='Library that allows you to support both, KiCAD 5 and KiCAD 6 in your 
plugins'
-arch=(any)
+pkgver=0.4.2
+pkgrel=1
+pkgdesc='Library that allows you to support KiCAD 6/7/8 in your KiCAD plugins'
+arch=('any')
 url='https://github.com/yaqwsx/pcbnewTransition'
-license=(MIT)
-depends=(python kicad)
-makedepends=(python-build python-installer python-setuptools python-wheel 
python-versioneer)
-source=(https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz)
-sha512sums=('1a0e49bede2d809982858191313688b51d0d815e03d3eec32ad48e83ee26269bb44dadd3f8f28ddc73f09fbf69081cc828654199db546d71d0aa8d2fdf654fc6')
+license=('MIT')
+depends=('python' 'kicad')
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-setuptools'
+  'python-wheel'
+  'python-versioneer'
+)
+source=("$pkgname::git+$url#tag=v$pkgver")
+sha512sums=('dfdf6a769712d3c024f0d6244ada1f28378f59220c7e2a82fa45154f1643949732e6627b4c7eea0277faa6a179e15e355665e4cff2cc684a37f2e8eeebcc0a22')
+b2sums=('429e4bdcd48adb3b96ad361b7709de05feef87e418a567f98cc123a3cacd6211483f8c0fae85415193f0a0338d4f0e12ef1d72947bb7e840ee131d7b6ff7016d')
 
 prepare() {
-  cd $_pkgname-$pkgver
+  cd "$pkgname"
+
   rm versioneer.py
 }
 
 build() {
-  cd $_pkgname-$pkgver
-  python -m build --wheel --no-isolation --skip-dependency-check
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd $_pkgname-$pkgver
+  cd "$pkgname"
+
   python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pcbnewtransition/-/commit/4afe416eeba0681a3020862449ebc81dd0afead1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pcbnewtransition/-/commit/4afe416eeba0681a3020862449ebc81dd0afead1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to