# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-pyvmomi pkgver=8.0.1.0.2 pkgrel=0 pkgdesc="VMware vSphere Python SDK" url="https://github.com/vmware/pyvmomi" arch="noarch" license="Apache-2.0" depends="python3 py3-requests" makedepends="py3-setuptools" checkdepends="py3-pytest py3-vcrpy" subpackages="$pkgname-pyc" source="https://github.com/vmware/pyvmomi/archive/v$pkgver/py3-pyvmomi-$pkgver.tar.gz" builddir="$srcdir/pyvmomi-$pkgver" options="!check" # tests are massively outdated build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" f6b014f89eba9b5e34f2c52500eb96e1d5d90313060ce7391843f7e412fde4db860aa0fdfca2f57ef62fad3daa6da5064f6bf26344d3b1467a100e5ac910fcdb py3-pyvmomi-8.0.1.0.2.tar.gz "