blob: 9eb19e6ca9d8b38fc8bce4070f4d6526eb8ca44c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: loathingkernel <username ta gmail tod com>
# Contributor: MikoĊaj Chwalisz <m.chwalisz@gmail.com>
# Contributor: archlinux.info:tdy
pkgname=vitables
pkgver=3.0.3
pkgrel=2
pkgdesc="A GUI browser and editor for PyTables/HDF5 files"
arch=(any)
url=https://vitables.org
license=(GPL3)
depends=(
python-{build,installer,wheel}
python-setuptools-scm
'python-pyqt5'
'python-qtpy'
'python-pytables'
)
makedepends=(
'python-hatch'
'python-sphinx'
)
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/uvemas/ViTables/archive/v$pkgver.tar.gz"
"vitables.desktop"
"vitables.svg"
)
prepare() {
cd ViTables-"$pkgver"
}
build() {
cd ViTables-"$pkgver"
python -m build -wn
}
package() {
cd ViTables-"$pkgver"
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/
}
sha256sums=('9f1747ff3ccc2963ece3252519bbc88216c85b66c12c819e96b8d71d92aab31e'
'dd793f85d81591edd837a5fb94642dbf3ba488c69c605cbc2c87f74baea8676c'
'0be6fdeb2c1f40fe2c478b0a6b9f99bad170d69f1210300d736bb98a5b9edcd8')
|