Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 16:55:27 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: f46e4ccd8445 - 2021Q2 - math/sage: work-around to chase the upgrade of py-docutils to 0.17
Message-ID:  <202104221655.13MGtRAa052640@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by thierry:

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

commit f46e4ccd8445b0dc50ebb06a20e3e5b4c9f0a28a
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-04-19 09:12:08 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-04-22 16:54:56 +0000

    math/sage: work-around to chase the upgrade of py-docutils to 0.17
    
    There is no subdir hu for Hungarian under $PYTHON_SITELIBDIR/docutils/languages
    and since the upgrade to textproc/py-docutils to 0.17 this causes a failure in
    dochtml when building Sage.
    
    Neither the upgrade to 0.17.1 proposed in PR 255197 solves the problem: as a
    work-around this modification only removes the build of a_tour_of_sage for hu.
    
    (cherry picked from commit 4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41)
---
 math/sage/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/math/sage/Makefile b/math/sage/Makefile
index 4e6ca525b9c7..40e88de1e63d 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	sage
 PORTVERSION=	9.2
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	math
 MASTER_SITES=	https://mirrors.xmission.com/sage/src/		\
 		http://mirrors.xmission.com/sage/src/		\
@@ -500,6 +500,8 @@ pre-configure:
 	${REINPLACE_CMD} -e 's|/var/lib/sage|/share/libdata/${PORTNAME}|'	\
 		${WRKSRC}/${f}
 .endfor
+	# Bug with py-docutils > 0.16
+	${RM} -r ${WRKSRC}/src/doc/hu
 	(cd ${WRKSRC} && ./bootstrap)
 	${MKDIR} ${BLDDIR}${PREFIX}/lib/pkgconfig	# Removed thereafter
 



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