Date: Wednesday, February 1, 2023 @ 10:16:05
  Author: felixonmars
Revision: 1391714

upgpkg: python-gdstk 0.9.16-1

Modified:
  python-gdstk/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-01 10:14:40 UTC (rev 1391713)
+++ PKGBUILD    2023-02-01 10:16:05 UTC (rev 1391714)
@@ -1,7 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-gdstk
-pkgver=0.9.15
+pkgver=0.9.16
+_commit=b3c69863d6b9ef87a7a8b78e2075f8a663c38feb
 pkgrel=1
 pkgdesc="Python module for creating GDSII stream files, usually CAD layouts"
 url="https://github.com/heitzmann/gdstk";
@@ -8,24 +9,23 @@
 license=('custom:BSL')
 arch=('x86_64')
 depends=('python-numpy')
-makedepends=('python-setuptools' 'cmake')
+makedepends=('git' 'python-setuptools' 'cmake')
 checkdepends=('python-pytest-runner')
-source=("https://github.com/heitzmann/gdstk/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('252e142ecb2d5a715afd6b6f8abad596b752bcc5b1738613d469788979c1ae0d1d12ef690d76feac3c2f7ba856d7ced67acd9bd6cf67f12bf85f3a7d454362b6')
+source=("git+https://github.com/heitzmann/gdstk.git#commit=$_commit";)
+sha512sums=('SKIP')
 
 build() {
-  cd gdstk-$pkgver
+  cd gdstk
   python setup.py build
 }
 
 check() {
-  cd gdstk-$pkgver
+  cd gdstk
   python setup.py pytest
 }
 
 package() {
-  cd gdstk-$pkgver
+  cd gdstk
   python setup.py install --root="$pkgdir" --optimize=1
-
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to