commit: 5715424188b62c488cb4174e00f32a5e2da87f50
Author: Robert Greener <me <AT> r0bert <DOT> dev>
AuthorDate: Sat Jul 2 16:07:39 2022 +0000
Commit: Robert Greener <me <AT> r0bert <DOT> dev>
CommitDate: Sat Jul 2 16:07:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57154241
dev-R/future: new package, add 1.26.1
Signed-off-by: Robert Greener <me <AT> r0bert.dev>
dev-R/future/Manifest | 1 +
dev-R/future/future-1.26.1.ebuild | 33 +++++++++++++++++++++++++++++++++
dev-R/future/metadata.xml | 17 +++++++++++++++++
3 files changed, 51 insertions(+)
diff --git a/dev-R/future/Manifest b/dev-R/future/Manifest
new file mode 100644
index 000000000..08f083ad9
--- /dev/null
+++ b/dev-R/future/Manifest
@@ -0,0 +1 @@
+DIST future_1.26.1.tar.gz 365509 BLAKE2B
1926906dca3dc248efa68b1e8631a3e8b69feaaa4476d82436e9d276c6e72ad8dc41bb3711b409e3c91a745f18c8853fd487abe4ddc5b58ae5dc17975a991a0f
SHA512
42c28cf118b2f4e1e018beafed18066c04434c8d6df764e8e73cc1987d953556471224fbdcc23eb2c4de20a927340938c027268268fc59cd182f1faed2be03ee
diff --git a/dev-R/future/future-1.26.1.ebuild
b/dev-R/future/future-1.26.1.ebuild
new file mode 100644
index 000000000..dcd11be15
--- /dev/null
+++ b/dev-R/future/future-1.26.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit R-packages edo
+
+DESCRIPTION="Unified Parallel and Distributed Processing in R for Everyone"
+KEYWORDS="~amd64"
+LICENSE='LGPL-2.1+'
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+DEPEND="
+ dev-R/digest
+ >=dev-R/globals-0.15.0
+ >=dev-R/listenv-0.8.0
+ >=dev-R/parallelly-1.30.0
+ test? ( dev-R/RhpcBLASctl )
+"
+
+SUGGESTED_PACKAGES="
+ dev-R/RhpcBLASctl
+ dev-R/R-rsp
+ dev-R/markdown
+"
+
+src_test() {
+ cd "${WORKDIR}/${P}/tests"
+ for i in *.R; do
+ R_LIBS="${T}/R" edo Rscript --vanilla $i
+ done
+}
diff --git a/dev-R/future/metadata.xml b/dev-R/future/metadata.xml
new file mode 100644
index 000000000..d7947e8c3
--- /dev/null
+++ b/dev-R/future/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Robert Greener</name>
+ </maintainer>
+ <longdescription lang="en">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.</longdescription>
+ <upstream>
+ <maintainer>
+ <name>Henrik Bengtsson</name>
+ <email>[email protected]</email>
+ </maintainer>
+
<bugs-to>https://github.com/HenrikBengtsson/future/issues</bugs-to>
+ <remote-id type="github">HenrikBengtsson/future</remote-id>
+ </upstream>
+</pkgmetadata>