Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2021 17:47:31 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: cb46a29d6af6 - main - devel/R-cran-pkgcache: New port
Message-ID:  <202105241747.14OHlV9o084767@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=cb46a29d6af62bca6fed8ec6e75c2cae391ee72d

commit cb46a29d6af62bca6fed8ec6e75c2cae391ee72d
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2021-05-24 17:47:08 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-05-24 17:47:08 +0000

    devel/R-cran-pkgcache: New port
    
    Cache 'CRAN'-Like Metadata and R Packages
    
    Approved by:    lwhsu (mentor, implicit)
---
 devel/Makefile                  |  1 +
 devel/R-cran-pkgcache/Makefile  | 40 ++++++++++++++++++++++++++++++++++++++++
 devel/R-cran-pkgcache/distinfo  |  3 +++
 devel/R-cran-pkgcache/pkg-descr |  5 +++++
 4 files changed, 49 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 789539eedec9..a246a33a4177 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -67,6 +67,7 @@
     SUBDIR += R-cran-optparse
     SUBDIR += R-cran-pillar
     SUBDIR += R-cran-pkgbuild
+    SUBDIR += R-cran-pkgcache
     SUBDIR += R-cran-pkgconfig
     SUBDIR += R-cran-pkgload
     SUBDIR += R-cran-pkgmaker
diff --git a/devel/R-cran-pkgcache/Makefile b/devel/R-cran-pkgcache/Makefile
new file mode 100644
index 000000000000..05e9deb98d1c
--- /dev/null
+++ b/devel/R-cran-pkgcache/Makefile
@@ -0,0 +1,40 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME=	pkgcache
+DISTVERSION=	1.2.2
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Cache 'CRAN'-Like Metadata and R Packages
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	R-cran-jsonlite>0:converters/R-cran-jsonlite \
+		R-cran-R6>0:devel/R-cran-R6 \
+		R-cran-callr>=2.0.4.9000:devel/R-cran-callr \
+		R-cran-cli>=2.0.0:devel/R-cran-cli \
+		R-cran-filelock>0:devel/R-cran-filelock \
+		R-cran-glue>0:devel/R-cran-glue \
+		R-cran-prettyunits>0:devel/R-cran-prettyunits \
+		R-cran-rappdirs>0:devel/R-cran-rappdirs \
+		R-cran-rlang>0:devel/R-cran-rlang \
+		R-cran-tibble>0:devel/R-cran-tibble \
+		R-cran-uuid>0:devel/R-cran-uuid \
+		R-cran-curl>=3.2:ftp/R-cran-curl \
+		R-cran-assertthat>0:math/R-cran-assertthat \
+		R-cran-digest>0:security/R-cran-digest \
+		R-cran-processx>=3.3.0.9001:sysutils/R-cran-processx
+TEST_DEPENDS=	R-cran-covr>0:devel/R-cran-covr \
+		R-cran-desc>0:devel/R-cran-desc \
+		R-cran-mockery>0:devel/R-cran-mockery \
+		R-cran-rprojroot>0:devel/R-cran-rprojroot \
+		R-cran-sessioninfo>0:devel/R-cran-sessioninfo \
+		R-cran-testthat>0:devel/R-cran-testthat \
+		R-cran-withr>0:devel/R-cran-withr \
+		R-cran-fs>0:sysutils/R-cran-fs
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-pkgcache/distinfo b/devel/R-cran-pkgcache/distinfo
new file mode 100644
index 000000000000..57cec37dd380
--- /dev/null
+++ b/devel/R-cran-pkgcache/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621841243
+SHA256 (pkgcache_1.2.2.tar.gz) = 9d707fbfc0f461fdc47cd02a79af2670a9fafcc1d5d26d7564564fdc75f8e34b
+SIZE (pkgcache_1.2.2.tar.gz) = 164094
diff --git a/devel/R-cran-pkgcache/pkg-descr b/devel/R-cran-pkgcache/pkg-descr
new file mode 100644
index 000000000000..1a6222e18169
--- /dev/null
+++ b/devel/R-cran-pkgcache/pkg-descr
@@ -0,0 +1,5 @@
+Metadata and package cache for CRAN-like repositories. This is a utility
+package to be used by package management tools that want to take advantage of
+caching.
+
+WWW: https://github.com/r-lib/pkgcache#readme



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105241747.14OHlV9o084767>