Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2021 11:44:03 GMT
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f9d13d005580 - main - devel/R-cran-future: Add new port
Message-ID:  <202109081144.188Bi3Yt084911@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tota:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9d13d00558006aab985e7df9d38372268e2b687

commit f9d13d00558006aab985e7df9d38372268e2b687
Author:     TAKATSU Tomonari <tota@FreeBSD.org>
AuthorDate: 2021-09-08 06:01:43 +0000
Commit:     TAKATSU Tomonari <tota@FreeBSD.org>
CommitDate: 2021-09-08 11:43:39 +0000

    devel/R-cran-future: Add new port
    
    The purpose of this package is to provide a lightweight and unified
    Future API for sequential and parallel processing of R expression
    via futures. The simplest way to evaluate an expression in parallel
    is to use 'x %<-% { expression }' with 'plan(multisession)'. This
    package implements sequential, multicore, multisession, and cluster
    futures. With these, R expressions can be evaluated on the local
    machine, in parallel a set of local machines, or distributed on a
    mix of local and remote machines. Extensions to this package implement
    additional backends for processing futures via compute cluster
    schedulers, etc. Because of its unified API, there is no need to
    modify any code in order switch from sequential on the local machine
    to, say, distributed processing on a remote compute cluster. Another
    strength of this package is that global variables and functions are
    automatically identified and exported as needed, making it
    straightforward to tweak existing code to make use of futures.
    
    WWW: https://cran.r-project.org/web/packages/future/
---
 devel/Makefile                |  1 +
 devel/R-cran-future/Makefile  | 20 ++++++++++++++++++++
 devel/R-cran-future/distinfo  |  3 +++
 devel/R-cran-future/pkg-descr | 17 +++++++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7c3ceaa79cce..829667822579 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -42,6 +42,7 @@
     SUBDIR += R-cran-fansi
     SUBDIR += R-cran-filelock
     SUBDIR += R-cran-foreach
+    SUBDIR += R-cran-future
     SUBDIR += R-cran-gbRd
     SUBDIR += R-cran-gbm
     SUBDIR += R-cran-gdata
diff --git a/devel/R-cran-future/Makefile b/devel/R-cran-future/Makefile
new file mode 100644
index 000000000000..13c8c498a76e
--- /dev/null
+++ b/devel/R-cran-future/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	future
+PORTVERSION=	1.22.1
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	tota@FreeBSD.org
+COMMENT=	Unified Parallel and Distributed Processing in R for Everyone
+
+LICENSE=	LGPL21+
+
+CRAN_DEPENDS=	R-cran-digest>0:security/R-cran-digest \
+		R-cran-globals>=0.14.0:devel/R-cran-globals \
+		R-cran-listenv>=0.8.0:devel/R-cran-listenv \
+		R-cran-parallelly>=1.26.1:devel/R-cran-parallelly
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-future/distinfo b/devel/R-cran-future/distinfo
new file mode 100644
index 000000000000..b101e790ad36
--- /dev/null
+++ b/devel/R-cran-future/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1631020253
+SHA256 (future_1.22.1.tar.gz) = 87b24a85caf08e1d809eab28f9258444105cd7788eee2e3e2f21727ba3bbedcd
+SIZE (future_1.22.1.tar.gz) = 347935
diff --git a/devel/R-cran-future/pkg-descr b/devel/R-cran-future/pkg-descr
new file mode 100644
index 000000000000..e67c0329c77c
--- /dev/null
+++ b/devel/R-cran-future/pkg-descr
@@ -0,0 +1,17 @@
+The purpose of this package is to provide a lightweight and unified
+Future API for sequential and parallel processing of R expression
+via futures. The simplest way to evaluate an expression in parallel
+is to use 'x %<-% { expression }' with 'plan(multisession)'. This
+package implements sequential, multicore, multisession, and cluster
+futures. With these, R expressions can be evaluated on the local
+machine, in parallel a set of local machines, or distributed on a
+mix of local and remote machines. Extensions to this package implement
+additional backends for processing futures via compute cluster
+schedulers, etc. Because of its unified API, there is no need to
+modify any code in order switch from sequential on the local machine
+to, say, distributed processing on a remote compute cluster. Another
+strength of this package is that global variables and functions are
+automatically identified and exported as needed, making it
+straightforward to tweak existing code to make use of futures.
+
+WWW: https://cran.r-project.org/web/packages/future/



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