mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
731 B
Text
29 lines
731 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=py3-duviz
|
|
pkgver=3.2.0
|
|
pkgrel=0
|
|
pkgdesc="A command-line tool to visualize disk space usage."
|
|
url="https://github.com/soxofaan/duviz"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/soxofaan/duviz/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/duviz-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
901603e2c4f82074752762b36057836bebec47f67837bb9d472e2c20a90c06b481fc45f9b69c1ebd02f61706b18d9970e4979f51018a03796c8464da78d85172 py3-duviz-3.2.0.tar.gz
|
|
"
|