Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 10:08:02 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4a9bb724e8f6 - main - math/sage: work-around to chase the upgrade of py-docutils to 0.17
Message-ID:  <202104191008.13JA82ta066066@gitrepo.freebsd.org>

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

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

commit 4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-04-19 09:12:08 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-04-19 10:07:54 +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.
---
 math/sage/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/math/sage/Makefile b/math/sage/Makefile
index a489fb5a2351..300a38dd406c 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	sage
 PORTVERSION=	9.2
-PORTREVISION=	11
+PORTREVISION=	12
 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?202104191008.13JA82ta066066>