diff options
author | Stelios Tsampas | 2023-02-09 13:25:35 +0200 |
---|---|---|
committer | Stelios Tsampas | 2023-02-09 13:25:35 +0200 |
commit | 3825881459851304dabf5936d45f6227579f93f2 (patch) | |
tree | a1a9a0a68936ac0a12afd3bcaa3133006c4660de /PKGBUILD | |
parent | d17391b50e8b68354c1669c7cf1310f8c67e36b7 (diff) | |
download | aur-3825881459851304dabf5936d45f6227579f93f2.tar.gz |
[vitables] fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,12 +4,13 @@ pkgname=vitables pkgver=3.0.2 -pkgrel=4 +pkgrel=5 pkgdesc="A GUI browser and editor for PyTables/HDF5 files" arch=(any) url=https://vitables.org license=(GPL3) -depends=( +depends=(python-{build,installer,wheel} + python-setuptools-scm 'python-pyqt5' 'python-qtpy' 'python-pytables' @@ -31,12 +32,12 @@ prepare() { build() { cd ViTables-"$pkgver" - python setup.py build + python -m build -wn } package() { cd ViTables-"$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer -d "$pkgdir" dist/*.whl install -d "$pkgdir"/usr/share/{applications,pixmaps,doc} install -m644 "$srcdir"/vitables.desktop "$pkgdir"/usr/share/applications/ install -m644 "$srcdir"/vitables.svg "$pkgdir"/usr/share/pixmaps/ |