Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2023 16:51:47 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fef7b1eaf568 - main - devel/R-cran-whoami: New port
Message-ID:  <202304251651.33PGplsK075878@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

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

commit fef7b1eaf568ee548abdc76e9a5d2cb15257c2bd
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2023-04-25 16:51:37 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2023-04-25 16:51:37 +0000

    devel/R-cran-whoami: New port
    
    Username, Full Name, Email Address, 'GitHub' Username of the Current User.
---
 devel/Makefile                |  1 +
 devel/R-cran-whoami/Makefile  | 22 ++++++++++++++++++++++
 devel/R-cran-whoami/distinfo  |  3 +++
 devel/R-cran-whoami/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 59e1524ac052..44bce3d4a10c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -130,6 +130,7 @@
     SUBDIR += R-cran-vctrs
     SUBDIR += R-cran-waldo
     SUBDIR += R-cran-whisker
+    SUBDIR += R-cran-whoami
     SUBDIR += R-cran-withr
     SUBDIR += R-cran-zeallot
     SUBDIR += RStudio
diff --git a/devel/R-cran-whoami/Makefile b/devel/R-cran-whoami/Makefile
new file mode 100644
index 000000000000..c10afa70b25c
--- /dev/null
+++ b/devel/R-cran-whoami/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	whoami
+DISTVERSION=	1.3.0
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Username, Full Name, Email Address, 'GitHub' Username of the Current User
+WWW=		https://github.com/r-lib/whoami#readme
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	R-cran-jsonlite>0:converters/R-cran-jsonlite \
+		R-cran-httr>0:www/R-cran-httr
+TEST_DEPENDS=	R-cran-covr>0:devel/R-cran-covr \
+		R-cran-mockery>0:devel/R-cran-mockery \
+		R-cran-testthat>0:devel/R-cran-testthat \
+		R-cran-withr>0:devel/R-cran-withr
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-whoami/distinfo b/devel/R-cran-whoami/distinfo
new file mode 100644
index 000000000000..b3c4988a4b68
--- /dev/null
+++ b/devel/R-cran-whoami/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682305941
+SHA256 (whoami_1.3.0.tar.gz) = c20bc9259399bfbee21cd46f21c4ce6d8ef078449063febba093e852fea1dca5
+SIZE (whoami_1.3.0.tar.gz) = 6929
diff --git a/devel/R-cran-whoami/pkg-descr b/devel/R-cran-whoami/pkg-descr
new file mode 100644
index 000000000000..922b6b725840
--- /dev/null
+++ b/devel/R-cran-whoami/pkg-descr
@@ -0,0 +1,3 @@
+Look up the username and full name of the current user, the current user's
+email address and 'GitHub' username, using various sources of system and
+configuration information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304251651.33PGplsK075878>