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,31 +1,40 @@ PORTNAME= systemfonts -DISTVERSION= 1.2.3 +DISTVERSION= 1.3.1 CATEGORIES= devel DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= einar@isnic.is COMMENT= System Native Font Finding WWW= https://systemfonts.r-lib.org/ LICENSE= MIT CRAN_DEPENDS= R-cran-base64enc>0:converters/R-cran-base64enc \ R-cran-cpp11>=0.2.1:devel/R-cran-cpp11 \ R-cran-jsonlite>0:converters/R-cran-jsonlite \ R-cran-lifecycle>0:devel/R-cran-lifecycle BUILD_DEPENDS= ${CRAN_DEPENDS} LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 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 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