git: 7a361e736861 - main - devel/R-cran-pkgdepends: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Apr 2023 02:42:42 UTC
The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a361e73686192399fc1410263fefb39f6287a18 commit 7a361e73686192399fc1410263fefb39f6287a18 Author: Guangyuan Yang <ygy@FreeBSD.org> AuthorDate: 2023-04-27 02:42:34 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2023-04-27 02:42:34 +0000 devel/R-cran-pkgdepends: New port Package Dependency Resolution and Downloads. --- devel/Makefile | 1 + devel/R-cran-pkgdepends/Makefile | 48 +++++++++++++++++++++++++++++++++++++++ devel/R-cran-pkgdepends/distinfo | 3 +++ devel/R-cran-pkgdepends/pkg-descr | 7 ++++++ 4 files changed, 59 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e23b260dded4..8c9e02f04527 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -85,6 +85,7 @@ SUBDIR += R-cran-pkgbuild SUBDIR += R-cran-pkgcache SUBDIR += R-cran-pkgconfig + SUBDIR += R-cran-pkgdepends SUBDIR += R-cran-pkgload SUBDIR += R-cran-pkgmaker SUBDIR += R-cran-pkgsearch diff --git a/devel/R-cran-pkgdepends/Makefile b/devel/R-cran-pkgdepends/Makefile new file mode 100644 index 000000000000..fb5e672f2fe2 --- /dev/null +++ b/devel/R-cran-pkgdepends/Makefile @@ -0,0 +1,48 @@ +PORTNAME= pkgdepends +DISTVERSION= 0.5.0 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Package Dependency Resolution and Downloads +WWW= https://github.com/r-lib/pkgdepends#readme + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= R-cran-zip>=2.3.0:archivers/R-cran-zip \ + R-cran-jsonlite>0:converters/R-cran-jsonlite \ + R-cran-R6>0:devel/R-cran-R6 \ + R-cran-callr>=3.3.1:devel/R-cran-callr \ + R-cran-cli>=3.6.0:devel/R-cran-cli \ + R-cran-desc>=1.2.0:devel/R-cran-desc \ + R-cran-filelock>=1.0.2:devel/R-cran-filelock \ + R-cran-glue>0:devel/R-cran-glue \ + R-cran-pkgbuild>=1.0.2:devel/R-cran-pkgbuild \ + R-cran-pkgcache>=2.1.0:devel/R-cran-pkgcache \ + R-cran-prettyunits>=1.1.1:devel/R-cran-prettyunits \ + R-cran-rprojroot>0:devel/R-cran-rprojroot \ + R-cran-withr>=2.1.1:devel/R-cran-withr \ + R-cran-curl>0:ftp/R-cran-curl \ + R-cran-lpSolve>0:math/R-cran-lpSolve \ + R-cran-processx>=3.4.2:sysutils/R-cran-processx \ + R-cran-ps>0:sysutils/R-cran-ps +TEST_DEPENDS= R-cran-covr>0:devel/R-cran-covr \ + R-cran-fansi>0:devel/R-cran-fansi \ + R-cran-mockery>0:devel/R-cran-mockery \ + R-cran-pak>0:devel/R-cran-pak \ + R-cran-rstudioapi>0:devel/R-cran-rstudioapi \ + R-cran-testthat>0:devel/R-cran-testthat \ + R-cran-tibble>0:devel/R-cran-tibble \ + R-cran-pingr>=2.0.0:net/R-cran-pingr \ + R-cran-fs>0:sysutils/R-cran-fs \ + R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \ + R-cran-spelling>0:textproc/R-cran-spelling \ + R-cran-htmlwidgets>0:www/R-cran-htmlwidgets + +USES= cran:auto-plist + +post-install: + @${ECHO_CMD} "@dir ${R_MOD_DIR}/help/figures" >> ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/devel/R-cran-pkgdepends/distinfo b/devel/R-cran-pkgdepends/distinfo new file mode 100644 index 000000000000..8d30dcd3a0c9 --- /dev/null +++ b/devel/R-cran-pkgdepends/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682559622 +SHA256 (pkgdepends_0.5.0.tar.gz) = eadc98e335f9d2cc10b31cf7a5b55fe3308266fbd6f46d5dbd37b5d90bfcf1bc +SIZE (pkgdepends_0.5.0.tar.gz) = 425150 diff --git a/devel/R-cran-pkgdepends/pkg-descr b/devel/R-cran-pkgdepends/pkg-descr new file mode 100644 index 000000000000..5d4d1f0eb11d --- /dev/null +++ b/devel/R-cran-pkgdepends/pkg-descr @@ -0,0 +1,7 @@ +Find recursive dependencies of 'R' packages from various sources. Solve the +dependencies to obtain a consistent set of packages to install. Download +packages, and install them. It supports packages on 'CRAN', 'Bioconductor' and +other 'CRAN-like' repositories, 'GitHub', package 'URLs', and local package +trees and files. It caches metadata and package files via the 'pkgcache' +package, and performs all 'HTTP' requests, downloads, builds and installations +in parallel. 'pkgdepends' is the workhorse of the 'pak' package.