git: e6ffff93e3fa - main - textproc/R-cran-utf8: Added TEST_DEPENDS

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Mon, 07 Oct 2024 05:10:06 UTC
The branch main has been updated by uzsolt:

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

commit e6ffff93e3fa4a070dbfb6f47db521e3f226a5ff
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-10-07 05:07:34 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-10-07 05:09:32 +0000

    textproc/R-cran-utf8: Added TEST_DEPENDS
    
    The test stage fails now, reported on project page.
    Switch to DISTVERSION.
---
 textproc/R-cran-utf8/Makefile | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/textproc/R-cran-utf8/Makefile b/textproc/R-cran-utf8/Makefile
index 4626350f89ad..61f649badcbb 100644
--- a/textproc/R-cran-utf8/Makefile
+++ b/textproc/R-cran-utf8/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	utf8
-PORTVERSION=	1.2.4
+DISTVERSION=	1.2.4
 CATEGORIES=	textproc
-DISTNAME=	${PORTNAME}_${PORTVERSION}
+DISTNAME=	${PORTNAME}_${DISTVERSION}
 
 MAINTAINER=	uzsolt@FreeBSD.org
 COMMENT=	Unicode Text Processing
@@ -10,6 +10,17 @@ WWW=		https://cran.r-project.org/web/packages/utf8/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	R-cran-cli>0:devel/R-cran-cli \
+		R-cran-covr>0:devel/R-cran-covr \
+		R-cran-knitr>0:print/R-cran-knitr \
+		R-cran-rlang>0:devel/R-cran-rlang \
+		R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
+		R-cran-testthat>=3.0.0:devel/R-cran-testthat \
+		R-cran-withr>0:devel/R-cran-withr
+
 USES=		cran:auto-plist,compiles
 
+# https://github.com/patperry/r-utf8/issues/45
+TESTING_UNSAFE=	yes
+
 .include <bsd.port.mk>