From 6f44017ea3e5e2ac1cca12fd7592135c10e5d015 Mon Sep 17 00:00:00 2001 From: Robert Greener Date: Sat, 2 Jul 2022 17:54:35 +0100 Subject: [PATCH] dev-R/webfakes: new package, add 1.1.3 Signed-off-by: Robert Greener --- dev-R/webfakes/Manifest | 1 + dev-R/webfakes/metadata.xml | 17 +++++++++++ dev-R/webfakes/webfakes-1.1.3.ebuild | 42 ++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 dev-R/webfakes/Manifest create mode 100644 dev-R/webfakes/metadata.xml create mode 100644 dev-R/webfakes/webfakes-1.1.3.ebuild diff --git a/dev-R/webfakes/Manifest b/dev-R/webfakes/Manifest new file mode 100644 index 0000000000..cce23057ff --- /dev/null +++ b/dev-R/webfakes/Manifest @@ -0,0 +1 @@ +DIST webfakes_1.1.3.tar.gz 611974 BLAKE2B c4f23eb277dae2f3bcafde8c8bef3451a92127fd43ab82dd8a146ddbd49ed2c0a08a5f7991279bce808c63b345d10f2f8eb6a2717ad85309d114d8866072d715 SHA512 a7de5155cc79bd60a83f4fd974fbe3cf526857501dd463d3b6441af7e8a83f0c159ce819ef85237146e6f9d9e3e54e6d149c51a982b77e0e19ce604fda90a55c diff --git a/dev-R/webfakes/metadata.xml b/dev-R/webfakes/metadata.xml new file mode 100644 index 0000000000..7d382655eb --- /dev/null +++ b/dev-R/webfakes/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + Create a web app that makes it easier to test web clients without using the internet. It includes a web app framework with path matching, parameters and templates. Can parse various 'HTTP' request bodies. Can send 'JSON' data or files from the disk. Includes a web app that implements the web service. + + + Gábor Csárdi + csardi.gabor@gmail.com + + https://github.com/r-lib/webfakes/issues + r-lib/webfakes + + diff --git a/dev-R/webfakes/webfakes-1.1.3.ebuild b/dev-R/webfakes/webfakes-1.1.3.ebuild new file mode 100644 index 0000000000..2c1d6dfeea --- /dev/null +++ b/dev-R/webfakes/webfakes-1.1.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='Fake Web Apps for HTTP Testing' +KEYWORDS="~amd64" +LICENSE='MIT' +RESTRICT="!test? ( test )" +IUSE="test" + +DEPEND=" + test? ( + dev-R/callr + dev-R/curl + dev-R/glue + dev-R/jsonlite + dev-R/httr + dev-R/httpuv + >=dev-R/testthat-3.0.0 + dev-R/withr + ) +" + +SUGGESTED_PACKAGES=" + dev-R/callr + dev-R/curl + dev-R/glue + dev-R/jsonlite + dev-R/httr + dev-R/httpuv + >=dev-R/testthat-3.0.0 + dev-R/withr + dev-R/xml2 +" + +src_test() { + cd "${WORKDIR}/${P}/tests" + NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R +}