svn commit: r321015 - in head/net: . py-pysphere
Olli Hauer
ohauer at FreeBSD.org
Sat Jun 15 19:39:57 UTC 2013
Author: ohauer
Date: Sat Jun 15 19:39:56 2013
New Revision: 321015
URL: http://svnweb.freebsd.org/changeset/ports/321015
Log:
- new port py-pysphere
Python API for interaction with the vSphere Web Services SDK.
Among other operations, it provides easy interfaces to:
- Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts
- Query hosts, datacenters, resource pools, virtual machines
- VM: Power on, power off, reset, revert to snapshot, get properties, update
vmware tools, clone, migrate.
- vSphere 5.0 Guest Operations: create/delete/move files and directories.
Upload/download files from the guest system. List/start/stop processes in
the guest system.
- Create and delete snapshots
- Hosts statistics and performance monitoring
An of course, you can use it to access all the vSphere API through python.
It's built upon a slightly modified version of ZSI (that comes bundled-in)
which makes it really fast in contrast to other python SOAP libraries that
don't provide code generation.
WWW: https://code.google.com/p/pysphere/
Added:
head/net/py-pysphere/
head/net/py-pysphere/Makefile (contents, props changed)
head/net/py-pysphere/distinfo (contents, props changed)
head/net/py-pysphere/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Sat Jun 15 19:30:32 2013 (r321014)
+++ head/net/Makefile Sat Jun 15 19:39:56 2013 (r321015)
@@ -931,6 +931,7 @@
SUBDIR += py-port-for
SUBDIR += py-pypcap
SUBDIR += py-pysendfile
+ SUBDIR += py-pysphere
SUBDIR += py-qt4-network
SUBDIR += py-radix
SUBDIR += py-s3cmd
Added: head/net/py-pysphere/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-pysphere/Makefile Sat Jun 15 19:39:56 2013 (r321015)
@@ -0,0 +1,28 @@
+# Created by: olli hauer <ohauer at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pysphere
+PORTVERSION= 0.1.7
+CATEGORIES= net python
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ohauer at FreeBSD.org
+COMMENT= Python API for interaction with the vSphere Web Services SDK
+
+LICENSE= BSD
+
+USE_ZIP= yes
+USE_DOS2UNIX= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+post-patch:
+ @${SED} -i '' -e 's/pysphere-0.1.5/pysphere-0.1.7/' \
+ ${WRKSRC}/setup.py \
+ ${WRKSRC}/PKG-INFO \
+ ${WRKSRC}/pysphere.egg-info/PKG-INFO
+
+.include <bsd.port.mk>
Added: head/net/py-pysphere/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-pysphere/distinfo Sat Jun 15 19:39:56 2013 (r321015)
@@ -0,0 +1,2 @@
+SHA256 (pysphere-0.1.7.zip) = cef3cb3a6836f1cf092caf4613123d084f36b0e96fa48a27708c0e868df8a1ea
+SIZE (pysphere-0.1.7.zip) = 516848
Added: head/net/py-pysphere/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-pysphere/pkg-descr Sat Jun 15 19:39:56 2013 (r321015)
@@ -0,0 +1,21 @@
+Python API for interaction with the vSphere Web Services SDK.
+
+Among other operations, it provides easy interfaces to:
+
+- Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts
+- Query hosts, datacenters, resource pools, virtual machines
+- VM: Power on, power off, reset, revert to snapshot, get properties, update
+ vmware tools, clone, migrate.
+- vSphere 5.0 Guest Operations: create/delete/move files and directories.
+ Upload/download files from the guest system. List/start/stop processes in
+ the guest system.
+- Create and delete snapshots
+- Hosts statistics and performance monitoring
+
+An of course, you can use it to access all the vSphere API through python.
+
+It's built upon a slightly modified version of ZSI (that comes bundled-in)
+which makes it really fast in contrast to other python SOAP libraries that
+don't provide code generation.
+
+WWW: https://code.google.com/p/pysphere/
More information about the svn-ports-all
mailing list