Date: Saturday, April 8, 2023 @ 03:11:21
  Author: felixonmars
Revision: 1441559

archrelease: copy trunk to community-staging-any

Added:
  python-pyqtgraph/repos/community-staging-any/
  python-pyqtgraph/repos/community-staging-any/PKGBUILD
    (from rev 1441555, python-pyqtgraph/trunk/PKGBUILD)

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

Copied: python-pyqtgraph/repos/community-staging-any/PKGBUILD (from rev 
1441555, python-pyqtgraph/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 03:11:21 UTC (rev 1441559)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+# Contributor: Windel Bouwman <windel at windel dot nl>
+# Contributor: Jakub Klinkovský <[email protected]>
+
+_pkgname=pyqtgraph
+pkgname=python-$_pkgname
+pkgver=0.13.2
+pkgrel=2
+pkgdesc='Scientific Graphics and GUI Library for Python'
+arch=('any')
+url='http://www.pyqtgraph.org'
+license=('MIT')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+depends=('python' 'qt5-python-bindings' 'python-numpy')
+optdepends=('python-opengl: 3d graphics')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/pyqtgraph/pyqtgraph/archive/pyqtgraph-$pkgver.tar.gz";)
+sha512sums=('64ae6708e1a44bb69fc159d1cd23df47075eeb1d7daa03c4b27a147ea83a25bb5ef03d28892b20b144bfa4ee600622ef0595494565d42fb861c6849ca3f5c7b9')
+
+build() {
+  cd $_pkgname-$_pkgname-$pkgver
+
+  python -m build -nw
+}
+
+package() {
+  cd $_pkgname-$_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to