dev-R/promises: new package, add 1.2.0.1

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 17:23:32 +01:00
parent 5715424188
commit a5434be792
3 changed files with 59 additions and 0 deletions

1
dev-R/promises/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST promises_1.2.0.1.tar.gz 3120504 BLAKE2B ab3eea44fe319a2b03689a2ff33e647563529432d9ae03ea00c75b767a985072b8b89647360c50f617ab35b1ba48e216fd3735cf9a20347d26101408ea35c5cd SHA512 8de6e45a790475826b1be5a442360b003174c17583d07cf47442b0efbffa2e0932245dbab44e8cc59e75a3e7443b3fc864c2d17babdf3e472bf88c2db5199335

View File

@@ -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>me@r0bert.dev</email>
<name>Robert Greener</name>
</maintainer>
<longdescription lang="en">Provides fundamental abstractions for doing asynchronous programming in R using promises. Asynchronous programming is useful for allowing a single R process to orchestrate multiple tasks in the background while also attending to something else. Semantics are similar to 'JavaScript' promises, but with a syntax that is idiomatic R.</longdescription>
<upstream>
<maintainer>
<name>Joe Cheng</name>
<email>joe@rstudio.com</email>
</maintainer>
<bugs-to>https://github.com/rstudio/promises/issues</bugs-to>
<remote-id type="github">rstudio/promises</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Abstractions for Promise-Based Asynchronous Programming'
KEYWORDS="~amd64"
LICENSE='MIT'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/R6
dev-R/Rcpp
dev-R/later
dev-R/rlang
dev-R/magrittr
test? (
dev-R/testthat
>=dev-R/future-1.21.0
>=dev-R/fastmap-1.1.0
)
"
SUGGESTED_PACKAGES="
dev-R/testthat
>=dev-R/future-1.21.0
>=dev-R/fastmap-1.1.0
dev-R/purrr
dev-R/knitr
dev-R/rmarkdown
dev-R/vembedr
dev-R/spelling
"
src_test() {
cd "${WORKDIR}/${P}/tests"
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}