git: f46e4ccd8445 - 2021Q2 - math/sage: work-around to chase the upgrade of py-docutils to 0.17
Thierry Thomas
thierry at FreeBSD.org
Thu Apr 22 16:55:27 UTC 2021
The branch 2021Q2 has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f46e4ccd8445b0dc50ebb06a20e3e5b4c9f0a28a
commit f46e4ccd8445b0dc50ebb06a20e3e5b4c9f0a28a
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-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
More information about the dev-commits-ports-all
mailing list