dev-R/websocket: new package, add 1.4.1

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 17:43:32 +01:00
parent 7d8d1e8616
commit 2a95f30659
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION="'WebSocket' Client Library"
KEYWORDS="~amd64"
LICENSE='GPL-2'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/R6
dev-R/later
dev-R/cpp11
dev-R/AsioHeaders
test? (
dev-R/testthat
dev-R/httpuv
)
"
SUGGESTED_PACKAGES="
dev-R/httpuv
dev-R/testthat
dev-R/knitr
dev-R/rmarkdown
"
src_test() {
cd "${WORKDIR}/${P}/tests"
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}