Skip to content

Commit

Permalink
ftp/R-cran-curl: Update to 5.1.0.
Browse files Browse the repository at this point in the history
Added TEST_DEPENDS and pre-test target to run 'make test'.

Changelog: https://cran.r-project.org/web/packages/curl/NEWS

PR:		274854
  • Loading branch information
uzsolt authored and lwhsu committed Nov 3, 2023
1 parent d273a68 commit aafaf1e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion ftp/R-cran-curl/Makefile
@@ -1,5 +1,5 @@
PORTNAME= curl
DISTVERSION= 5.0.2
DISTVERSION= 5.1.0
CATEGORIES= ftp
DISTNAME= ${PORTNAME}_${PORTVERSION}

Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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

0 comments on commit aafaf1e

Please sign in to comment.