Date: Saturday, September 3, 2022 @ 19:21:07
  Author: ffy00
Revision: 1292710

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-03 19:21:03 UTC (rev 1292709)
+++ PKGBUILD    2022-09-03 19:21:07 UTC (rev 1292710)
@@ -1,31 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
-# Contributor: Windel Bouwman <windel at windel dot nl>
-# Contributor: Jakub Klinkovský <kuba.klinkov...@gmail.com>
-
-_pkgname=pyqtgraph
-pkgname=python-$_pkgname
-pkgver=0.11.1
-pkgrel=3
-pkgdesc='Scientific Graphics and GUI Library for Python'
-arch=('any')
-url='http://www.pyqtgraph.org'
-license=('MIT')
-makedepends=('python-setuptools')
-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=('36abf6e8112ab8af51555617107d81e65ec385c7cb7a8371268b2e363eb9dc81b94db59e12acf78839d91939e036f48fffad61a486261b32e8403c31be9fb3f8')
-
-build() {
-  cd $_pkgname-$_pkgname-$pkgver
-
-  python setup.py build
-}
-
-package() {
-  cd $_pkgname-$_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pyqtgraph/repos/community-any/PKGBUILD (from rev 1292709, 
python-pyqtgraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-03 19:21:07 UTC (rev 1292710)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+# Contributor: Windel Bouwman <windel at windel dot nl>
+# Contributor: Jakub Klinkovský <kuba.klinkov...@gmail.com>
+
+_pkgname=pyqtgraph
+pkgname=python-$_pkgname
+pkgver=0.12.4
+pkgrel=1
+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=('8402b38fe1abaaf55d6dbc26775093993b9f642d7a9da59d2780ed38562c8653ab872c588d2e66373434491b8f397533cb3c222382065c812a28cf6b9ce34960')
+
+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