mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
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'
|
# Template file for 'python-psutil'
|
||||||
pkgname=python-psutil
|
pkgname=python-psutil
|
||||||
version=2.1.1
|
version=2.1.1
|
||||||
revision=1
|
revision=2
|
||||||
|
wrksrc="psutil-${version}"
|
||||||
distfiles="https://pypi.python.org/packages/source/p/psutil/psutil-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/source/p/psutil/psutil-${version}.tar.gz"
|
||||||
checksum=bf812a4aa6a41147d0e96e63d826eb7582fda6b54ad8f22534354b7f8ac45593
|
checksum=bf812a4aa6a41147d0e96e63d826eb7582fda6b54ad8f22534354b7f8ac45593
|
||||||
build_style="python-module"
|
build_style="python-module"
|
||||||
|
python_versions="2.7 3.4"
|
||||||
pycompile_module="psutil"
|
pycompile_module="psutil"
|
||||||
hostmakedepends="python-devel python-distribute"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="python-devel python3.4-devel"
|
||||||
maintainer="Steven R <dev@styez.com>"
|
maintainer="Steven R <dev@styez.com>"
|
||||||
homepage="http://code.google.com/p/psutil/"
|
homepage="http://code.google.com/p/psutil/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
short_desc="A cross-platform process and system utilities module for Python"
|
short_desc="A cross-platform process and system utilities module for Python2"
|
||||||
wrksrc="psutil-${version}"
|
|
||||||
|
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…
Add table
Reference in a new issue