void-packages/srcpkgs/python-psutil/template

27 lines
822 B
Plaintext

# Template file for 'python-psutil'
pkgname=python-psutil
version=2.1.1
revision=2
wrksrc="psutil-${version}"
distfiles="https://pypi.python.org/packages/source/p/psutil/psutil-${version}.tar.gz"
checksum=bf812a4aa6a41147d0e96e63d826eb7582fda6b54ad8f22534354b7f8ac45593
build_style="python-module"
python_versions="2.7 3.4"
pycompile_module="psutil"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
maintainer="Steven R <dev@styez.com>"
homepage="http://code.google.com/p/psutil/"
license="BSD"
short_desc="A cross-platform process and system utilities module for Python2"
python3.4-psutil_package() {
depends="python3.4"
pycompile_version="3.4"
pycompile_module="psutil"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove /usr/lib/python3.4
}
}