Import py-vsphere-automation, VMware vSphere Automation SDK for Python.
Help from kmos@, kn@, sthen@, thanks! ok kn@
This commit is contained in:
parent
9e47b7419e
commit
0802db2bc3
48
sysutils/py-vsphere-automation/Makefile
Normal file
48
sysutils/py-vsphere-automation/Makefile
Normal 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>
|
2
sysutils/py-vsphere-automation/distinfo
Normal file
2
sysutils/py-vsphere-automation/distinfo
Normal 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
|
2
sysutils/py-vsphere-automation/pkg/DESCR
Normal file
2
sysutils/py-vsphere-automation/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Python samples, language bindings, and API reference documentation for vSphere,
|
||||
VMC, and NSX-T using the VMware REST API.
|
2458
sysutils/py-vsphere-automation/pkg/PLIST
Normal file
2458
sysutils/py-vsphere-automation/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user