python-psutil: added 3.4 subpkg with pycompile support.
This commit is contained in:
parent
a9235d5683
commit
9c82d5bddd
2 changed files with 17 additions and 5 deletions
|
@ -1,15 +1,26 @@
|
|||
# Template file for 'python-psutil'
|
||||
pkgname=python-psutil
|
||||
version=2.1.1
|
||||
revision=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-devel python-distribute"
|
||||
makedepends="${hostmakedepends}"
|
||||
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 Python"
|
||||
wrksrc="psutil-${version}"
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/python3.4-psutil
Symbolic link
1
srcpkgs/python3.4-psutil
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-psutil
|
Loading…
Reference in a new issue