aboutsummaryrefslogtreecommitdiff
path: root/ftp/R-cran-curl
diff options
context:
space:
mode:
authorZsolt Udvari <uzsolt@uzsolt.hu>2023-11-01 18:56:00 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2023-11-03 07:41:11 +0000
commitaafaf1e366a7ee6856a3d5268d2b5697f6498acb (patch)
tree4f79bc714a8219f9536dacf1fecef6627fb750f8 /ftp/R-cran-curl
parentd273a68655c3cfa7c64c25aa071676ba2954563c (diff)
downloadports-aafaf1e366a7ee6856a3d5268d2b5697f6498acb.tar.gz
ports-aafaf1e366a7ee6856a3d5268d2b5697f6498acb.zip
ftp/R-cran-curl: Update to 5.1.0.
Added TEST_DEPENDS and pre-test target to run 'make test'. Changelog: https://cran.r-project.org/web/packages/curl/NEWS PR: 274854
Diffstat (limited to 'ftp/R-cran-curl')
-rw-r--r--ftp/R-cran-curl/Makefile13
-rw-r--r--ftp/R-cran-curl/distinfo6
2 files changed, 15 insertions, 4 deletions
diff --git a/ftp/R-cran-curl/Makefile b/ftp/R-cran-curl/Makefile
index 4949e9cf5306..0a19a6dd9ca5 100644
--- a/ftp/R-cran-curl/Makefile
+++ b/ftp/R-cran-curl/Makefile
@@ -1,5 +1,5 @@
PORTNAME= curl
-DISTVERSION= 5.0.2
+DISTVERSION= 5.1.0
CATEGORIES= ftp
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -11,7 +11,18 @@ LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/include/curl/curl.h:ftp/curl
LIB_DEPENDS= libcurl.so:ftp/curl
+TEST_DEPENDS= R-cran-spelling>0:textproc/R-cran-spelling \
+ R-cran-testthat>0:devel/R-cran-testthat \
+ R-cran-httpuv>0:www/R-cran-httpuv \
+ R-cran-knitr>0:print/R-cran-knitr \
+ R-cran-magrittr>0:devel/R-cran-magrittr \
+ R-cran-rmarkdown>0:textproc/R-cran-rmarkdown
USES= cran:auto-plist,compiles
+pre-test:
+ # R-cran-webutils package does not exist yet
+ @${LOCALBASE}/bin/Rscript -e 'install.packages("webutils", \
+ repos = "https://cloud.r-project.org")'
+
.include <bsd.port.mk>
diff --git a/ftp/R-cran-curl/distinfo b/ftp/R-cran-curl/distinfo
index e7e82b3627e4..c487582e2ed6 100644
--- a/ftp/R-cran-curl/distinfo
+++ b/ftp/R-cran-curl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692499877
-SHA256 (curl_5.0.2.tar.gz) = 166b373a992eb7c880d71b2fabfc31cba6195f52f307056e8420ecc42c6d7c72
-SIZE (curl_5.0.2.tar.gz) = 714170
+TIMESTAMP = 1698822677
+SHA256 (curl_5.1.0.tar.gz) = 57218da84b85bd01ce7daa4bca3e271eda1bf688e0cdb211c397ccb272ecba97
+SIZE (curl_5.1.0.tar.gz) = 714157