[arch-commits] Commit in python-gdstk/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 02:02:10 UTC 2021


    Date: Friday, December 3, 2021 @ 02:02:10
  Author: felixonmars
Revision: 1064701

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 1064700, python-gdstk/trunk/PKGBUILD)

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

Copied: python-gdstk/repos/community-staging-x86_64/PKGBUILD (from rev 1064700, python-gdstk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-03 02:02:10 UTC (rev 1064701)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-gdstk
+pkgver=0.8.0
+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=('python-setuptools' 'cmake')
+checkdepends=('python-pytest-runner')
+source=("https://github.com/heitzmann/gdstk/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('98cf8595a1860e327ab6d44cc635ed7492eee6a835c55dc96130c584c7b0e634c7b40e8f934ce20d8e775809919667e9af190a232d593ab1d65478d4bfe0b74e')
+
+build() {
+  cd gdstk-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd gdstk-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd gdstk-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list