Date: Mon, 17 Jan 2022 02:25:02 GMT From: Guangyuan Yang <ygy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e96534ec1ad9 - main - devel/R-cran-pak: New port: Another Approach to Package Installation Message-ID: <202201170225.20H2P295094838@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e96534ec1ad9b41bf12c9dcb6a18e622f9c1958f commit e96534ec1ad9b41bf12c9dcb6a18e622f9c1958f Author: Guangyuan Yang <ygy@FreeBSD.org> AuthorDate: 2022-01-17 02:24:51 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2022-01-17 02:24:51 +0000 devel/R-cran-pak: New port: Another Approach to Package Installation --- devel/Makefile | 1 + devel/R-cran-pak/Makefile | 37 +++++++++++++++++++++++++++++++++++++ devel/R-cran-pak/distinfo | 3 +++ devel/R-cran-pak/pkg-descr | 8 ++++++++ 4 files changed, 49 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 08c457cd1296..506da8438ee7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -75,6 +75,7 @@ SUBDIR += R-cran-microbenchmark SUBDIR += R-cran-mockery SUBDIR += R-cran-optparse + SUBDIR += R-cran-pak SUBDIR += R-cran-parallelly SUBDIR += R-cran-pillar SUBDIR += R-cran-pkgbuild diff --git a/devel/R-cran-pak/Makefile b/devel/R-cran-pak/Makefile new file mode 100644 index 000000000000..bea747bc3902 --- /dev/null +++ b/devel/R-cran-pak/Makefile @@ -0,0 +1,37 @@ +# Created by: Guangyuan Yang <ygy@FreeBSD.org> + +PORTNAME= pak +DISTVERSION= 0.2.1 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Another Approach to Package Installation + +LICENSE= GPLv3 + +TEST_DEPENDS= R-cran-jsonlite>0:converters/R-cran-jsonlite \ + R-cran-callr>=3.5.0:devel/R-cran-callr \ + R-cran-cli>=3.0.0:devel/R-cran-cli \ + R-cran-covr>0:devel/R-cran-covr \ + R-cran-filelock>=1.0.2:devel/R-cran-filelock \ + R-cran-glue>=1.3.0:devel/R-cran-glue \ + R-cran-mockery>0:devel/R-cran-mockery \ + R-cran-pkgcache>=1.2.0:devel/R-cran-pkgcache \ + R-cran-prettyunits>0:devel/R-cran-prettyunits \ + R-cran-rprojroot>=1.3.2:devel/R-cran-rprojroot \ + 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-withr>0:devel/R-cran-withr \ + R-cran-curl>0:ftp/R-cran-curl \ + R-cran-pingr>0:net/R-cran-pingr \ + R-cran-processx>=3.5.1:sysutils/R-cran-processx \ + R-cran-ps>=1.6.0:sysutils/R-cran-ps + +USES= cran:auto-plist + +post-install: + @${ECHO_CMD} "@dir ${R_MOD_DIR}/library" >> ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/devel/R-cran-pak/distinfo b/devel/R-cran-pak/distinfo new file mode 100644 index 000000000000..5b9b8f88b8a1 --- /dev/null +++ b/devel/R-cran-pak/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642237872 +SHA256 (pak_0.2.1.tar.gz) = ecc78f71fa95a81bb24cc9ba65340923f0579e91e9caa4a2f0ecef8c55f7d46c +SIZE (pak_0.2.1.tar.gz) = 68695 diff --git a/devel/R-cran-pak/pkg-descr b/devel/R-cran-pak/pkg-descr new file mode 100644 index 000000000000..d3fb27a0104b --- /dev/null +++ b/devel/R-cran-pak/pkg-descr @@ -0,0 +1,8 @@ +The goal of 'pak' is to make package installation faster and more reliable. In +particular, it performs all HTTP operations in parallel, so metadata resolution +and package downloads are fast. Metadata and package files are cached on the +local disk as well. 'pak' has a dependency solver, so it finds version +conflicts before performing the installation. This version of 'pak' supports +CRAN, 'Bioconductor' and 'GitHub' packages as well. + +WWW: https://pak.r-lib.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201170225.20H2P295094838>