blob: d8855b124f703e5817cf339950ff2734d8a43b90 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Rafael Silva <silvagracarafael@gmail.com>
pkgname=vizex
pkgver=2.1.1c
pkgrel=4
pkgdesc="Visualize disk space and disk usage in your terminal"
arch=('any')
url="https://github.com/bexxmodd/vizex"
license=('MIT')
depends=(
'python-click'
'python-colored'
'python-pandas'
'python-psutil'
'python-magic'
'python-tabulate'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
#checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('7081af2197a98c5b9871c62b56c8c16e19f62e022221f1759793f615481ce8f6')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
#check() {
# cd "$pkgname-$pkgver"
# pytest
#}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|