void-packages/srcpkgs/python3-psutil/template

24 lines
771 B
Bash

# Template file for 'python3-psutil'
pkgname=python3-psutil
version=5.9.2
revision=1
wrksrc="psutil-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Cross-platform process and system utilities module for Python3"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/giampaolo/psutil"
changelog="https://raw.githubusercontent.com/giampaolo/psutil/master/HISTORY.rst"
distfiles="${PYPI_SITE}/p/psutil/psutil-${version}.tar.gz"
checksum=feb861a10b6c3bb00701063b37e4afc754f8217f0f09c42280586bd6ac712b5c
# Tests seem to assume package is installed
make_check=no
post_install() {
rm -r ${DESTDIR}/${py3_sitelib}/psutil/tests/
vlicense LICENSE
}