devel/py-virtualenv: unbreak DOCS build (+)

Bank on unversioned python-based tool is an awful idea and broadly leads to failures.
Call versioned sphinx-build instead.

Reported by:	poudriere failure
Approved by:	portmgr blanket
This commit is contained in:
Dima Panov 2022-12-01 09:57:38 +03:00
parent ad36b6eecd
commit ab9d74cf2f

View file

@ -65,8 +65,8 @@ DOCS_PORTDOCS= * .buildinfo
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="install_egg_info --install-dir build/lib"
post-install-DOCS-on:
${LOCALBASE}/bin/sphinx-build -d ${WRKDIR} -b html -n ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR}
${LOCALBASE}/bin/sphinx-build -d ${WRKDIR} -b man -n ${WRKSRC}/docs ${STAGEDIR}${MANPREFIX}/man/man1
${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html -n ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR}
${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b man -n ${WRKSRC}/docs ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.pre.mk>