From aa4415952b19a77be251194d01f6d2f180bbd25d Mon Sep 17 00:00:00 2001
From: Zsolt Udvari <uzsolt@uzsolt.hu>
Date: Mon, 30 Oct 2023 07:47:39 +0100
Subject: [PATCH] Update to 2.8.1.

Introduce TEST_DEPENDS variable.

This release is only Windows-specific but portscout reports it.
---
 graphics/R-cran-magick/Makefile | 7 ++++++-
 graphics/R-cran-magick/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/graphics/R-cran-magick/Makefile b/graphics/R-cran-magick/Makefile
index a262230497..dd9b85138e 100644
--- a/graphics/R-cran-magick/Makefile
+++ b/graphics/R-cran-magick/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	magick
-DISTVERSION=	2.7.5
+DISTVERSION=	2.8.1
 CATEGORIES=	graphics
 DISTNAME=	${PORTNAME}_${DISTVERSION}
 
@@ -14,6 +14,11 @@ CRAN_DEPENDS=	R-cran-curl>0:ftp/R-cran-curl \
 		R-cran-Rcpp>0:devel/R-cran-Rcpp
 BUILD_DEPENDS+=	${CRAN_DEPENDS}
 RUN_DEPENDS=	${CRAN_DEPENDS}
+TEST_DEPENDS=	R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
+		R-cran-jsonlite>0:converters/R-cran-jsonlite \
+		R-cran-knitr>0:print/R-cran-knitr \
+		R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
+		R-cran-spelling>0:textproc/R-cran-spelling
 
 USES=		cran:auto-plist,compiles magick:run
 
diff --git a/graphics/R-cran-magick/distinfo b/graphics/R-cran-magick/distinfo
index a09dfe5705..90482fbe2d 100644
--- a/graphics/R-cran-magick/distinfo
+++ b/graphics/R-cran-magick/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1691816416
-SHA256 (magick_2.7.5.tar.gz) = 69b6162d39b71e1de16c641c3e6ccc747d226017e6540e4aa0a29376bffe9da2
-SIZE (magick_2.7.5.tar.gz) = 4499585
+TIMESTAMP = 1698306626
+SHA256 (magick_2.8.1.tar.gz) = d8fcd10e1817d42796102e85df05bb45fc8ced4c721b06fac37e61b6792b458e
+SIZE (magick_2.8.1.tar.gz) = 4601205
-- 
2.41.0

