31 lines
846 B
Bash
31 lines
846 B
Bash
# Template file for 'python-psutil'
|
|
pkgname=python-psutil
|
|
version=3.4.2
|
|
revision=1
|
|
wrksrc="psutil-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
makedepends="python-devel python3.4-devel"
|
|
pycompile_module="psutil"
|
|
short_desc="Cross-platform process and system utilities module for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/giampaolo/psutil"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/p/psutil/psutil-${version}.tar.gz"
|
|
checksum=b17fa01aa766daa388362d0eda5c215d77e03a8d37676b68971f37bf3913b725
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-psutil_package() {
|
|
pycompile_version="3.4"
|
|
pycompile_module="psutil"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|