2013-08-03 23:59:23 +00:00
|
|
|
# Template file for 'python-psutil'
|
|
|
|
pkgname=python-psutil
|
2014-05-06 08:44:45 +00:00
|
|
|
version=2.1.1
|
2014-06-18 15:09:48 +00:00
|
|
|
revision=2
|
|
|
|
wrksrc="psutil-${version}"
|
2013-10-31 17:09:59 +00:00
|
|
|
distfiles="https://pypi.python.org/packages/source/p/psutil/psutil-${version}.tar.gz"
|
2014-05-06 08:44:45 +00:00
|
|
|
checksum=bf812a4aa6a41147d0e96e63d826eb7582fda6b54ad8f22534354b7f8ac45593
|
2014-02-22 22:53:09 +00:00
|
|
|
build_style="python-module"
|
2014-06-18 15:09:48 +00:00
|
|
|
python_versions="2.7 3.4"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="psutil"
|
2014-06-18 15:09:48 +00:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2014-02-22 22:53:09 +00:00
|
|
|
maintainer="Steven R <dev@styez.com>"
|
2013-08-03 23:59:23 +00:00
|
|
|
homepage="http://code.google.com/p/psutil/"
|
|
|
|
license="BSD"
|
2014-06-18 15:09:48 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|