git: a092ccdf38d7 - main - devel/R-cran-webfakes: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Feb 2025 15:40:48 UTC
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a092ccdf38d79aafa8f183f4ae5aeeaf86cb055c commit a092ccdf38d79aafa8f183f4ae5aeeaf86cb055c Author: Zsolt Udvari <uzsolt@FreeBSD.org> AuthorDate: 2025-02-03 15:39:47 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2025-02-03 15:40:34 +0000 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. --- devel/Makefile | 1 + devel/R-cran-webfakes/Makefile | 30 ++++++++++++++++++++++++++++++ devel/R-cran-webfakes/distinfo | 3 +++ devel/R-cran-webfakes/pkg-descr | 5 +++++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 18908bf43057..80931a1e2ec9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/R-cran-webfakes/Makefile b/devel/R-cran-webfakes/Makefile new file mode 100644 index 000000000000..c1d097ab7dfc --- /dev/null +++ b/devel/R-cran-webfakes/Makefile @@ -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> diff --git a/devel/R-cran-webfakes/distinfo b/devel/R-cran-webfakes/distinfo new file mode 100644 index 000000000000..34999643da90 --- /dev/null +++ b/devel/R-cran-webfakes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1737528205 +SHA256 (webfakes_1.3.2.tar.gz) = c868a11ae9880bdbfc2e5b067e7d3d9d2f35d9236aa724526b8e95c886c90ca2 +SIZE (webfakes_1.3.2.tar.gz) = 435284 diff --git a/devel/R-cran-webfakes/pkg-descr b/devel/R-cran-webfakes/pkg-descr new file mode 100644 index 000000000000..00d94a4fc8fa --- /dev/null +++ b/devel/R-cran-webfakes/pkg-descr @@ -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.