git: 583ba24c482c - main - devel/R-cran-profvis: new port: visualizing code profiling data

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Tue, 13 Aug 2024 12:01:34 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=583ba24c482c8aaef051c66885279024e38f45a1

commit 583ba24c482c8aaef051c66885279024e38f45a1
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-08-13 11:59:55 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-08-13 12:01:12 +0000

    devel/R-cran-profvis: new port: visualizing code profiling data
    
    Profvis is a tool for visualizing code profiling data from R. It creates a web
    page which provides a graphical interface for exploring the data.
    
    Required to update devel/R-cran-devtools.
---
 devel/Makefile                 |  1 +
 devel/R-cran-profvis/Makefile  | 23 +++++++++++++++++++++++
 devel/R-cran-profvis/distinfo  |  3 +++
 devel/R-cran-profvis/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4786d0e9c760..c0caadf39dc3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -107,6 +107,7 @@
     SUBDIR += R-cran-praise
     SUBDIR += R-cran-prettycode
     SUBDIR += R-cran-prettyunits
+    SUBDIR += R-cran-profvis
     SUBDIR += R-cran-progress
     SUBDIR += R-cran-progressr
     SUBDIR += R-cran-promises
diff --git a/devel/R-cran-profvis/Makefile b/devel/R-cran-profvis/Makefile
new file mode 100644
index 000000000000..1a442421ac80
--- /dev/null
+++ b/devel/R-cran-profvis/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	profvis
+DISTVERSION=	0.3.8
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	uzsolt@FreeBSD.org
+COMMENT=	Interactive visualizations for profiling R code
+WWW=		https://cran.r-project.org/web/packages/profvis/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+CRAN_DEPENDS=	R-cran-htmlwidgets>=0.3.2:www/R-cran-htmlwidgets \
+		R-cran-purrr>0:devel/R-cran-purrr \
+		R-cran-rlang>=0.4.9:devel/R-cran-rlang \
+		R-cran-stringr>0:textproc/R-cran-stringr \
+		R-cran-vctrs>0:devel/R-cran-vctrs
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-profvis/distinfo b/devel/R-cran-profvis/distinfo
new file mode 100644
index 000000000000..d7ab6410267c
--- /dev/null
+++ b/devel/R-cran-profvis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1723549120
+SHA256 (profvis_0.3.8.tar.gz) = ec02c75bc9907a73564e691adfa8e06651ca0bd73b7915412960231cd265b4b2
+SIZE (profvis_0.3.8.tar.gz) = 149012
diff --git a/devel/R-cran-profvis/pkg-descr b/devel/R-cran-profvis/pkg-descr
new file mode 100644
index 000000000000..ee31f4159065
--- /dev/null
+++ b/devel/R-cran-profvis/pkg-descr
@@ -0,0 +1,2 @@
+Profvis is a tool for visualizing code profiling data from R. It creates a web
+page which provides a graphical interface for exploring the data.