git: 4a9bb724e8f6 - main - math/sage: work-around to chase the upgrade of py-docutils to 0.17
Thierry Thomas
thierry at FreeBSD.org
Mon Apr 19 10:08:03 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41
commit 4a9bb724e8f62bdf6f9e2a73e86fd2187b532f41
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-04-19 09:12:08 +0000
Commit: Thierry Thomas <thierry at 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
More information about the dev-commits-ports-all
mailing list