void-packages/srcpkgs/python3-nvml/template

20 lines
571 B
Bash

# Template file for 'python3-nvml'
pkgname=python3-nvml
version=0.2.4
revision=1
wrksrc="py3nvml-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-xmltodict"
short_desc="Python bindings for NVML library"
maintainer="Duje Mihanovic <mihaduje@pm.me>"
license="BSD-3-Clause"
homepage="https://github.com/fbcotter/py3nvml"
distfiles="https://github.com/fbcotter/py3nvml/archive/${version}.tar.gz"
checksum=936ea2ce7e40becca2ef578e58c35dbec4d992def42518b73ca2c9833af1dc35
post_install() {
vlicense LICENSE
}