Date: Thursday, April 6, 2023 @ 15:43:53
  Author: felixonmars
Revision: 1439449

archrelease: copy trunk to community-staging-x86_64

Added:
  python-gdstk/repos/community-staging-x86_64/
  python-gdstk/repos/community-staging-x86_64/PKGBUILD
    (from rev 1439446, python-gdstk/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-gdstk/repos/community-staging-x86_64/PKGBUILD (from rev 1439446, 
python-gdstk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-06 15:43:53 UTC (rev 1439449)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-gdstk
+pkgver=0.9.29
+_commit=077809b9fb4f0958c3f3f2752da08bc1e9bf0527
+pkgrel=2
+pkgdesc="Python module for creating GDSII stream files, usually CAD layouts"
+url="https://github.com/heitzmann/gdstk";
+license=('custom:BSL')
+arch=('x86_64')
+depends=('python-numpy')
+makedepends=('git' 'python-setuptools' 'cmake')
+checkdepends=('python-pytest-runner')
+source=("git+https://github.com/heitzmann/gdstk.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd gdstk
+  python setup.py build
+}
+
+check() {
+  cd gdstk
+  python setup.py pytest
+}
+
+package() {
+  cd gdstk
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to