ports/net/py-pyvmomi/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

26 lines
661 B
Makefile

PORTNAME= pyvmomi
DISTVERSIONPREFIX= v
DISTVERSION= 7.0.3
PORTREVISION= 1
CATEGORIES= net python
MAINTAINER= robak@FreeBSD.org
COMMENT= Python SDK for the VMware vSphere API of ESX, ESXi, and vCenter
WWW= https://github.com/vmware/pyvmomi
USE_GITHUB= yes
GH_ACCOUNT= vmware
GH_PROJECT= ${PORTNAME}
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.3.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.7.3:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils concurrent optsuffix
post-patch:
${REINPLACE_CMD} -E "/data_files/s|\[\(''|\[\('${DOCSDIR}'|" ${WRKSRC}/setup.py
.include <bsd.port.mk>