Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2022 07:02:15 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ab9d74cf2fd5 - main - devel/py-virtualenv: unbreak DOCS build (+)
Message-ID:  <202212010702.2B172FOE053200@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212010702.2B172FOE053200>