void-packages/srcpkgs/python-psutil/template
2020-03-10 12:56:04 +00:00

27 lines
733 B
Bash

# Template file for 'python-psutil'
pkgname=python-psutil
version=5.7.0
revision=1
wrksrc="psutil-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Cross-platform process and system utilities module for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/giampaolo/psutil"
distfiles="${PYPI_SITE}/p/psutil/psutil-${version}.tar.gz"
checksum=685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e
post_install() {
vlicense LICENSE
}
python3-psutil_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}