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