git: ab9d74cf2fd5 - main - devel/py-virtualenv: unbreak DOCS build (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Dec 2022 07:02:15 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ab9d74cf2fd5b236b89997a1b4defeb023994d0e
commit ab9d74cf2fd5b236b89997a1b4defeb023994d0e
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-12-01 06:57:38 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-12-01 06:57:38 +0000
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
---
devel/py-virtualenv/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile
index c6b5127a3070..7baa62fa77ed 100644
--- a/devel/py-virtualenv/Makefile
+++ b/devel/py-virtualenv/Makefile
@@ -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>