aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-05-05 15:05:56 +0800
committerwen <wen@FreeBSD.org>2010-05-05 15:05:56 +0800
commit5521179c328f9dada167573df957b0368a2861ff (patch)
tree712629fa1738ce1cc6b094bdb5d0a105637f873e /sysutils
parent0cc6cedf4bd9aa513ae77cbb1bade389c99180a7 (diff)
downloadfreebsd-ports-gnome-5521179c328f9dada167573df957b0368a2861ff.tar.gz
freebsd-ports-gnome-5521179c328f9dada167573df957b0368a2861ff.tar.zst
freebsd-ports-gnome-5521179c328f9dada167573df957b0368a2861ff.zip
psutil is a module providing an interface for retrieving information
on running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many functionalities offered by tools like ps, top and Windows task manager. WWW: http://code.google.com/p/psutil/ PR: ports/146279 Submitted by: Ju Pengfei <jupengfei@gmail.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/py-psutil/Makefile21
-rw-r--r--sysutils/py-psutil/distinfo3
-rw-r--r--sysutils/py-psutil/pkg-descr6
-rw-r--r--sysutils/py-psutil/pkg-plist24
5 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index e740f90bdf53..adc3c7fae867 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -652,6 +652,7 @@
SUBDIR += pwsafe
SUBDIR += py-bcfg2
SUBDIR += py-filelike
+ SUBDIR += py-psutil
SUBDIR += py-supervisor
SUBDIR += py-zdaemon
SUBDIR += pydf
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
new file mode 100644
index 000000000000..a2ae61b7f63e
--- /dev/null
+++ b/sysutils/py-psutil/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: py-psutil
+# Date created: 04 May 2010
+# Whom: Ju Pengfei <jupengfei@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= psutil
+PORTVERSION= 0.1.3
+CATEGORIES= sysutils python
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jupengfei@gmail.com
+COMMENT= A process utilities module for Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_NOEGGINFO= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-psutil/distinfo b/sysutils/py-psutil/distinfo
new file mode 100644
index 000000000000..718b14dc1f96
--- /dev/null
+++ b/sysutils/py-psutil/distinfo
@@ -0,0 +1,3 @@
+MD5 (psutil-0.1.3.tar.gz) = ebf8812edf9b79d3952837df2554016a
+SHA256 (psutil-0.1.3.tar.gz) = 347e79dbfc845dbef71f67d72eaf4d9006e307afe8283d6f319dbc8105bdd532
+SIZE (psutil-0.1.3.tar.gz) = 91661
diff --git a/sysutils/py-psutil/pkg-descr b/sysutils/py-psutil/pkg-descr
new file mode 100644
index 000000000000..21245ff07cd2
--- /dev/null
+++ b/sysutils/py-psutil/pkg-descr
@@ -0,0 +1,6 @@
+psutil is a module providing an interface for retrieving information
+on running processes and system utilization (CPU, memory) in a portable
+way by using Python, implementing many functionalities offered by tools
+like ps, top and Windows task manager.
+
+WWW: http://code.google.com/p/psutil/
diff --git a/sysutils/py-psutil/pkg-plist b/sysutils/py-psutil/pkg-plist
new file mode 100644
index 000000000000..bc2b87f28020
--- /dev/null
+++ b/sysutils/py-psutil/pkg-plist
@@ -0,0 +1,24 @@
+%%PYTHON_SITELIBDIR%%/psutil/_psosx.py
+%%PYTHON_SITELIBDIR%%/psutil/__init__.py
+%%PYTHON_SITELIBDIR%%/psutil/_psbsd.py
+%%PYTHON_SITELIBDIR%%/psutil/error.py
+%%PYTHON_SITELIBDIR%%/psutil/wmi.py
+%%PYTHON_SITELIBDIR%%/psutil/_pslinux.py
+%%PYTHON_SITELIBDIR%%/psutil/_psmswindows.py
+%%PYTHON_SITELIBDIR%%/psutil/_psosx.pyc
+%%PYTHON_SITELIBDIR%%/psutil/__init__.pyc
+%%PYTHON_SITELIBDIR%%/psutil/_psbsd.pyc
+%%PYTHON_SITELIBDIR%%/psutil/error.pyc
+%%PYTHON_SITELIBDIR%%/psutil/wmi.pyc
+%%PYTHON_SITELIBDIR%%/psutil/_pslinux.pyc
+%%PYTHON_SITELIBDIR%%/psutil/_psmswindows.pyc
+%%PYTHON_SITELIBDIR%%/psutil/_psosx.pyo
+%%PYTHON_SITELIBDIR%%/psutil/__init__.pyo
+%%PYTHON_SITELIBDIR%%/psutil/_psbsd.pyo
+%%PYTHON_SITELIBDIR%%/psutil/error.pyo
+%%PYTHON_SITELIBDIR%%/psutil/wmi.pyo
+%%PYTHON_SITELIBDIR%%/psutil/_pslinux.pyo
+%%PYTHON_SITELIBDIR%%/psutil/_psmswindows.pyo
+%%PYTHON_SITELIBDIR%%/_psutil_bsd.so
+%%PYTHON_SITELIBDIR%%/psutil-0.1.3-py2.6.egg-info
+@dirrm %%PYTHON_SITELIBDIR%%/psutil