Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2026 17:26:07 +0000
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Subject:   git: 14212fa873f4 - main - net/py-gntp: Fix build with sphinx 9.0.4
Message-ID:  <6a3eb62f.38bf7.7ba6decd@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=14212fa873f4f5c53b391c4080f8abccb7786087

commit 14212fa873f4f5c53b391c4080f8abccb7786087
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-06-26 17:23:13 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-06-26 17:23:13 +0000

    net/py-gntp: Fix build with sphinx 9.0.4
    
    PR:             284845
    Co-authored-by: Max Brazhnikov <makc@FreeBSD.org>
---
 net/py-gntp/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net/py-gntp/Makefile b/net/py-gntp/Makefile
index f6aefa629a9e..6fabb2bc4e15 100644
--- a/net/py-gntp/Makefile
+++ b/net/py-gntp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gntp
 PORTVERSION=	1.0.3
-PORTREVISION=	1
+PORTREVISION=	2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,7 +26,12 @@ PORTDOCS=	*
 OPTIONS_DEFINE=	DOCS
 
 DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
-DOCS_VARS=		PYDISTUTILS_BUILD_TARGET+=build_sphinx
+DOCS_MAKE_ENV=		PYTHONPATH=${WRKSRC}
+
+post-build-DOCS-on:
+	cd ${WRKSRC} && ${SETENVI} ${MAKE_ENV} \
+		${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \
+		-b html -d build/doctrees docs build/sphinx/html
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3eb62f.38bf7.7ba6decd>