python-psutil: update to 5.7.0.

This commit is contained in:
Zach Dykstra 2020-03-09 17:58:19 -05:00 committed by Piraty
parent ead7bdc876
commit a843fc65e8

View file

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