git: fe8bd2978049 - main - devel/R-cran-systemfonts: Update to 1.2.1

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 20 Jan 2025 16:30:32 UTC
The branch main has been updated by eduardo:

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

commit fe8bd2978049929c82d83a33582a45e19aee8b14
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2025-01-20 16:08:12 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-01-20 16:08:12 +0000

    devel/R-cran-systemfonts: Update to 1.2.1
    
    Add needed dependencies for tests, but mark TESTING_UNSAFE, since tests
    seem to be non-deterministic
    
    ChangeLog:      https://github.com/r-lib/systemfonts/releases/tag/v1.2.1
    PR:             284187
---
 devel/R-cran-systemfonts/Makefile | 7 +++++--
 devel/R-cran-systemfonts/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/R-cran-systemfonts/Makefile b/devel/R-cran-systemfonts/Makefile
index 520e3ab3e357..cc3dae05e287 100644
--- a/devel/R-cran-systemfonts/Makefile
+++ b/devel/R-cran-systemfonts/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	systemfonts
-DISTVERSION=	1.1.0
+DISTVERSION=	1.2.1
 CATEGORIES=	devel
 DISTNAME=	${PORTNAME}_${DISTVERSION}
 
@@ -10,13 +10,16 @@ WWW=		https://systemfonts.r-lib.org/
 LICENSE=	MIT
 
 CRAN_DEPENDS=	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-testthat>=2.1.0:devel/R-cran-testthat
+TEST_DEPENDS=	R-cran-knitr>0:print/R-cran-knitr \
+		R-cran-testthat>=2.1.0:devel/R-cran-testthat
 
+TESTING_UNSAFE=	Test is non-deterministic
 USES=		cran:auto-plist,compiles pkgconfig
 
 .include <bsd.port.mk>
diff --git a/devel/R-cran-systemfonts/distinfo b/devel/R-cran-systemfonts/distinfo
index cd231496c1c6..8213feb659ca 100644
--- a/devel/R-cran-systemfonts/distinfo
+++ b/devel/R-cran-systemfonts/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715775551
-SHA256 (systemfonts_1.1.0.tar.gz) = 1941069bd20320284ec026a38c53cb736be60bda431303ceaf8fd27ae13fb644
-SIZE (systemfonts_1.1.0.tar.gz) = 85584
+TIMESTAMP = 1737371411
+SHA256 (systemfonts_1.2.1.tar.gz) = 0dd1116bd214756aa460de4a2d9ed87273ac32904a089601e1be4788f708776a
+SIZE (systemfonts_1.2.1.tar.gz) = 101773