aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pyvmomi
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2014-09-12 15:49:02 +0800
committerrobak <robak@FreeBSD.org>2014-09-12 15:49:02 +0800
commit9af33862cd5ba2b8c34382b297026ff9958f759a (patch)
tree81210263aadac7c40fabd5a80a22fe8f48858704 /net/py-pyvmomi
parent68e9a557528a14edb5e04bbd2343eb21dda8f5a9 (diff)
downloadfreebsd-ports-gnome-9af33862cd5ba2b8c34382b297026ff9958f759a.tar.gz
freebsd-ports-gnome-9af33862cd5ba2b8c34382b297026ff9958f759a.tar.zst
freebsd-ports-gnome-9af33862cd5ba2b8c34382b297026ff9958f759a.zip
net/py-pyvmomi: new port - official VMware vSphere API
pyVmomi is the Python SDK for the VMware vSphere API that allows you to manipulate ESX, ESXi, and vCenter. Submitted by: Bartek Rutkowski <robak@FreeBSD.org> Approved by: mentors (implicit)
Diffstat (limited to 'net/py-pyvmomi')
-rw-r--r--net/py-pyvmomi/Makefile24
-rw-r--r--net/py-pyvmomi/distinfo2
-rw-r--r--net/py-pyvmomi/pkg-descr4
3 files changed, 30 insertions, 0 deletions
diff --git a/net/py-pyvmomi/Makefile b/net/py-pyvmomi/Makefile
new file mode 100644
index 000000000000..38c94f58de9c
--- /dev/null
+++ b/net/py-pyvmomi/Makefile
@@ -0,0 +1,24 @@
+# Created by: Bartek Rutkowski robak@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= pyvmomi
+DISTVERSION= 5.5.0-2014.1.1
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+MASTER_SITE_SUBDIR= source/p/${PORTNAME}
+
+MAINTAINER= robak@FreeBSD.org
+COMMENT= Python SDK for the VMware vSphere API of ESX, ESXi, and vCenter
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.3.0:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:${PORTSDIR}/devel/py-six
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+post-patch:
+ ${REINPLACE_CMD} -E "/data_files/s|\[\(''|\[\('${DOCSDIR}'|" ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/net/py-pyvmomi/distinfo b/net/py-pyvmomi/distinfo
new file mode 100644
index 000000000000..f6e940d2e735
--- /dev/null
+++ b/net/py-pyvmomi/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pyvmomi-5.5.0-2014.1.1.tar.gz) = 1b4c638ba4b71898f1b6f21405be856e55a2540226a5579e82aaa1d1a61eec62
+SIZE (pyvmomi-5.5.0-2014.1.1.tar.gz) = 198175
diff --git a/net/py-pyvmomi/pkg-descr b/net/py-pyvmomi/pkg-descr
new file mode 100644
index 000000000000..a8c7cf782c4a
--- /dev/null
+++ b/net/py-pyvmomi/pkg-descr
@@ -0,0 +1,4 @@
+pyVmomi is the Python SDK for the VMware vSphere API
+that allows you to manipulate ESX, ESXi, and vCenter.
+
+WWW: https://github.com/vmware/pyvmomi