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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 4 09:41:33 UTC 2019


    Date: Monday, November 4, 2019 @ 09:41:32
  Author: foutrelis
Revision: 523939

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: python-gdspy/repos/community-staging-x86_64/PKGBUILD (from rev 523938, python-gdspy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-04 09:41:32 UTC (rev 523939)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-gdspy
+pkgver=1.4
+pkgrel=2
+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