diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 16 insertions, 8 deletions
@@ -1,19 +1,22 @@ pkgbase = glances-git pkgdesc = CLI curses-based monitoring tool (git) - pkgver = 3.2.4.2.r65.g021ac4ce + pkgver = 3.4.0.r541.g1de207e pkgrel = 1 url = https://github.com/nicolargo/glances arch = any - license = LGPL + license = LGPL-3.0-only + makedepends = python-setuptools makedepends = python-build makedepends = python-installer - makedepends = python-setuptools makedepends = python-wheel makedepends = git depends = python depends = python-psutil depends = python-future depends = python-defusedxml + depends = python-ujson + depends = python-pytz + depends = python-pydantic optdepends = hddtemp: HDD temperature monitoring support optdepends = python-bottle: web server support optdepends = python-docker: for the Docker monitoring support @@ -5,14 +5,14 @@ # Contributor: Francois Boulogne <fboulogne at april dot org> pkgname=glances-git -pkgver=3.2.4.2.r65.g021ac4ce +pkgver=3.4.0.r541.g1de207e pkgrel=1 pkgdesc='CLI curses-based monitoring tool (git)' arch=(any) url=https://github.com/nicolargo/glances -license=(LGPL) -makedepends=(python-build python-installer python-setuptools python-wheel git) -depends=(python python-psutil python-future python-defusedxml) +license=(LGPL-3.0-only) +makedepends=(python-setuptools python-build python-installer python-wheel git) +depends=(python python-psutil python-future python-defusedxml python-ujson python-pytz python-pydantic) optdepends=('hddtemp: HDD temperature monitoring support' 'python-bottle: web server support' 'python-docker: for the Docker monitoring support' @@ -28,7 +28,12 @@ sha512sums=('SKIP' '49f0d185a37a5c5837e5beb463770c943ede40b2f1b8405e338129e897e97d9fc58373a8586fabc506266e6343cfea3c91b9787ac6832cc97a1ab63d6ad058d4') pkgver() { - git -C "${pkgname%-git}" describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git -C "${pkgname%-git}" describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + # Clean out old wheels etc. + git -C "${pkgname%-git}" clean -dfx } build() { |