summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Bjarni Halldórsson <einar@isnic.is>2025-10-01 22:03:53 +0100
committerNuno Teixeira <eduardo@FreeBSD.org>2025-10-01 22:25:40 +0100
commit8685ab04fe47f0850f78ebc039253fa5ace7e3b9 (patch)
tree38d108cea7375cb766457438c35ce87229dd9f27
parentdevel/rgbds: Update to 1.0.0-rc2 (diff)
devel/R-cran-systemfonts: Update to 1.3.1
- Use custom do-test because the cran.mk's --no-build-vignettes causes error - Mark tests as safe - Install svglite in pre-test, since it doesn't have a port yet ChangeLog: https://github.com/r-lib/systemfonts/releases/tag/v1.3.1 PR: 289931
-rw-r--r--devel/R-cran-systemfonts/Makefile17
-rw-r--r--devel/R-cran-systemfonts/distinfo6
2 files changed, 16 insertions, 7 deletions
diff --git a/devel/R-cran-systemfonts/Makefile b/devel/R-cran-systemfonts/Makefile
index 73089ad0e782..d7a53b347311 100644
--- a/devel/R-cran-systemfonts/Makefile
+++ b/devel/R-cran-systemfonts/Makefile
@@ -1,5 +1,5 @@
PORTNAME= systemfonts
-DISTVERSION= 1.2.3
+DISTVERSION= 1.3.1
CATEGORIES= devel
DISTNAME= ${PORTNAME}_${DISTVERSION}
@@ -19,13 +19,22 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
RUN_DEPENDS= ${CRAN_DEPENDS}
TEST_DEPENDS= R-cran-covr>0:devel/R-cran-covr \
R-cran-farver>0:graphics/R-cran-farver \
+ R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
R-cran-knitr>0:print/R-cran-knitr \
+ R-cran-ragg>0:graphics/R-cran-ragg \
R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
- R-cran-testthat>=2.1.0:devel/R-cran-testthat \
- xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype
+ R-cran-testthat>=2.1.0:devel/R-cran-testthat
USES= cran:auto-plist,compiles pkgconfig
-TESTING_UNSAFE= Test is non-deterministic, see also https://github.com/r-lib/systemfonts/pull/130
+pre-test:
+ # R-cran-svglite package does not exist yet
+ @${LOCALBASE}/bin/Rscript -e 'install.packages("svglite", \
+ repos = "https://cloud.r-project.org")'
+
+do-test:
+ @${FIND} ${WRKSRC} \( -name '*.o' -o -name '*.so' \) -delete
+ @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \
+ ${LOCALBASE}/bin/R CMD check --no-manual ${PORTNAME}
.include <bsd.port.mk>
diff --git a/devel/R-cran-systemfonts/distinfo b/devel/R-cran-systemfonts/distinfo
index 6e7f81364813..6e8ffcd27a08 100644
--- a/devel/R-cran-systemfonts/distinfo
+++ b/devel/R-cran-systemfonts/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746044825
-SHA256 (systemfonts_1.2.3.tar.gz) = da6c1a16757a809507966c66e34856a239967220315c915cf79215b21c109efa
-SIZE (systemfonts_1.2.3.tar.gz) = 105970
+TIMESTAMP = 1759340411
+SHA256 (systemfonts_1.3.1.tar.gz) = 4392cbf7f97d335b61f7a70257faead2d45a3beeb76249d75a41e9ed82e4456d
+SIZE (systemfonts_1.3.1.tar.gz) = 593311