[arch-commits] Commit in python-gdspy/repos/community-x86_64 (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Dec 28 18:54:37 UTC 2020


    Date: Monday, December 28, 2020 @ 18:54:37
  Author: felixonmars
Revision: 795848

fix pkgrelease

Added:
  python-gdspy/repos/community-x86_64/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-28 18:54:37 UTC (rev 795848)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-gdspy
+pkgver=1.6.3
+pkgrel=1
+pkgdesc="Python module for creating GDSII stream files, usually CAD layouts"
+url="https://github.com/heitzmann/gdspy"
+license=('custom:BSL')
+arch=('x86_64')
+depends=('python-numpy')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/heitzmann/gdspy/archive/v$pkgver.tar.gz")
+sha512sums=('d07ed779cfcf9d4b0384359ca3f5122c8799471eea3a607c208f794d6755fd698bfa20f4d3191a5b2370b63785a665f7c9775eee108906182dfee1179490ba75')
+
+build() {
+  cd gdspy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd gdspy-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd gdspy-$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