void-packages/srcpkgs/python-psutil/template
2019-06-25 08:49:44 +02:00

28 lines
786 B
Bash

# Template file for 'python-psutil'
pkgname=python-psutil
version=5.6.3
revision=1
wrksrc="psutil-${version}"
build_style=python-module
pycompile_module="psutil"
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=863a85c1c0a5103a12c05a35e59d336e1d665747e531256e061213e2e90f63f3
post_install() {
vlicense LICENSE
}
python3-psutil_package() {
pycompile_module="psutil"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}