devel/R-cran-webfakes: new port

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 'httpbin.org' web service.
This commit is contained in:
Zsolt Udvari 2025-02-03 16:39:47 +01:00
parent 4f5877361b
commit a092ccdf38
4 changed files with 39 additions and 0 deletions

View file

@ -154,6 +154,7 @@
SUBDIR += R-cran-vcd
SUBDIR += R-cran-vctrs
SUBDIR += R-cran-waldo
SUBDIR += R-cran-webfakes
SUBDIR += R-cran-whisker
SUBDIR += R-cran-whoami
SUBDIR += R-cran-withr

View file

@ -0,0 +1,30 @@
PORTNAME= webfakes
DISTVERSION= 1.3.2
CATEGORIES= devel
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Fake Web Apps for HTTP Testing
WWW= https://cran.r-project.org/package=webfakes
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= R-cran-brotli>0:archivers/R-cran-brotli \
R-cran-callr>0:devel/R-cran-callr \
R-cran-covr>0:devel/R-cran-covr \
R-cran-curl>0:ftp/R-cran-curl \
R-cran-digest>0:security/R-cran-digest \
R-cran-glue>0:devel/R-cran-glue \
R-cran-httpuv>0:www/R-cran-httpuv \
R-cran-httr>0:www/R-cran-httr \
R-cran-jsonlite>0:converters/R-cran-jsonlite \
R-cran-processx>0:sysutils/R-cran-processx \
R-cran-testthat>=3.0.0:devel/R-cran-testthat \
R-cran-withr>0:devel/R-cran-withr \
R-cran-xml2>0:textproc/R-cran-xml2 \
R-cran-zip>=2.3.0:archivers/R-cran-zip
USES= cran:auto-plist,compiles
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1737528205
SHA256 (webfakes_1.3.2.tar.gz) = c868a11ae9880bdbfc2e5b067e7d3d9d2f35d9236aa724526b8e95c886c90ca2
SIZE (webfakes_1.3.2.tar.gz) = 435284

View file

@ -0,0 +1,5 @@
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 'httpbin.org' web
service.