Import py-vsphere-automation, VMware vSphere Automation SDK for Python.

Help from kmos@, kn@, sthen@, thanks! ok kn@
This commit is contained in:
pvk 2020-11-22 20:51:28 +00:00
parent 9e47b7419e
commit 0802db2bc3
4 changed files with 2510 additions and 0 deletions

View File

@ -0,0 +1,48 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/11/22 20:51:28 pvk Exp $
COMMENT = VMware vSphere Automation SDK for Python
MODPY_EGG_VERSION = 7.0.1.0
GH_ACCOUNT = vmware
GH_PROJECT = vsphere-automation-sdk-python
GH_TAGNAME = v${MODPY_EGG_VERSION}
PKGNAME = py-vsphere-automation-${MODPY_EGG_VERSION}
CATEGORIES = sysutils
HOMEPAGE = https://github.com/vmware/vsphere-automation-sdk-python
MAINTAINER = Pavel Korovin <pvk@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
BUILD_DEPENDS = devel/py-pip${MODPY_FLAVOR} \
sysutils/py-vmomi${MODPY_FLAVOR} \
security/py-openssl${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR}
RUN_DEPENDS = devel/py-pip${MODPY_FLAVOR} \
sysutils/py-vmomi${MODPY_FLAVOR} \
security/py-openssl${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-codestyle${MODPY_FLAVOR}
MAKE_ENV = PYTHONPATH=${WRKINST}/${MODPY_SITEPKG}
FLAVORS = python3
FLAVOR = python3
pre-build:
@cd ${WRKSRC}/lib/ && \
find . -name \*.whl -exec \
env ${MAKE_ENV} pip${MODPY_VERSION} install \
--no-cache-dir --no-index --no-warn-script-location \
--prefix=${PREFIX} --root=${DESTDIR} {} +
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (vsphere-automation-sdk-python-7.0.1.0.tar.gz) = yEvWAeNfqhpIi4kNwTvQv6Y9X45LiLlM0kwOi4pImN0=
SIZE (vsphere-automation-sdk-python-7.0.1.0.tar.gz) = 11392628

View File

@ -0,0 +1,2 @@
Python samples, language bindings, and API reference documentation for vSphere,
VMC, and NSX-T using the VMware REST API.

File diff suppressed because it is too large Load Diff