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

Felix Yan felixonmars at archlinux.org
Thu Sep 19 05:37:01 UTC 2019


    Date: Thursday, September 19, 2019 @ 05:37:01
  Author: felixonmars
Revision: 511137

archrelease: copy trunk to community-x86_64

Added:
  python-gdspy/repos/community-x86_64/
  python-gdspy/repos/community-x86_64/PKGBUILD
    (from rev 511136, python-gdspy/trunk/PKGBUILD)

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

Copied: python-gdspy/repos/community-x86_64/PKGBUILD (from rev 511136, python-gdspy/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-09-19 05:37:01 UTC (rev 511137)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-gdspy
+pkgver=1.4
+pkgrel=1
+pkgdesc="Return the gdspy true value of an iterable"
+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=('68f7746b0f4d4b64df14985bf0930e9de9dfb70032d51555ba9407cca6757f58e83cff2325c4fe19f66e21b08c888a98878a17cace23ff9353b56a074bd6a395')
+
+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