From nobody Thu Feb 01 11:53:15 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TQcjm1lS2z58V0V; Thu, 1 Feb 2024 11:53:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TQcjm17FLz4HtF; Thu, 1 Feb 2024 11:53:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706788396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4nM/UAh1/5uVXNs9uaIf04pdcy5VfZz9gmccjqBe24E=; b=MS/nTIdKB1IVSy6/W4zsltPM5QpTpSNMBQ4YgoeKE7MIz+mJUxW7N5tNunvzWUo1PF67xB 7n4/Jy5yczSbPboKDUv+XX+qEYCLq1xDQhgOQPEqHMgPdaeJUMg86rwr+IW+v66SCI2zfQ zeYyaWv9LuyIU/MMPbuet6WJCAPvZ8WSolCWu/5nteO5tFHxAgzbBRWPP/fEjrKFdWZyrJ Ryd9SAqruBiuc4g5JnKLC0UhuDRmsEByVMzh46yF8eFRneq9/KPyMz5dOIwk5rOoAGD7bC TRohj6JhXN/JWDFWD6muVcCCUDCtpUcxZMb0zynasN+woWTrzodz6DVkNSEgoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706788396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4nM/UAh1/5uVXNs9uaIf04pdcy5VfZz9gmccjqBe24E=; b=F9BX4L/AjuuCFe1L/WBEOCyCEvetg0nxtxLr+RKEetBwXVoEHnB9HD4C7mlvFKuM3/Fduu bb6IapM6UXfx+OgzUHyi/hKZJAtgVynDqzim60cmHDLXeSDQdKy261+XaTuOaaswltYHNq podgMa4AUTvUE+GmN4B9Q8ctWey5rLbpAjzips8y97my23wt9PeoKatmsO73xkc4AozEwr /1sbSMACsW6u8Z6b1xj8Cvd8bG33bxmscHnuiHoP5pkQeER4snt6IKvEcjgIW+/hcNXVpn kH+erBrBbdI8UhJCr5QLKXLBi0PcwSUNHBmU/FfB56X02HCFSoK+fF2Uv5enEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706788396; a=rsa-sha256; cv=none; b=bHiPyNrGKG3aYHb2bc6pO7sUbtVPMUw6o490i5AQmGFAVse9L7Md+hOZsEsUGic+HVUUxi 7IMVBKxDyps0XnHYimf1SShGYiRWS+5FmZNJ0+Ru2MEA+79vMiOZY5aRByJ9fhTJY5lPh+ Zl8jMIburj15gI/CGGCENPqYwAADPZDno3F6JXJarc89zgEeCR6NZDfqKB3Kkk5n8TytdM loKKribVZzfqgdjATAWxPq+tPpvWQ+jJLX0GQbH1BTAGts7E5AqlYiDzxpEewqVCZbLpvK vh2p8OV2Kgsbw5vsCBO/Aw6/S7v26tfkjMqCLsczGysns3MOSclmdOIMP5I9fg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TQcjm0DGVz11gF; Thu, 1 Feb 2024 11:53:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 411BrFsc010043; Thu, 1 Feb 2024 11:53:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411BrFiJ010040; Thu, 1 Feb 2024 11:53:15 GMT (envelope-from git) Date: Thu, 1 Feb 2024 11:53:15 GMT Message-Id: <202402011153.411BrFiJ010040@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 4f3fb1c3f9ba - main - textproc/R-cran-reprex: New port: Prepare Reproducible Example Code via the Clipboard List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f3fb1c3f9ba7948a1c8ece79d1e82530e88ab87 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f3fb1c3f9ba7948a1c8ece79d1e82530e88ab87 commit 4f3fb1c3f9ba7948a1c8ece79d1e82530e88ab87 Author: Nuno Teixeira AuthorDate: 2024-02-01 08:54:56 +0000 Commit: Nuno Teixeira CommitDate: 2024-02-01 11:53:01 +0000 textproc/R-cran-reprex: New port: Prepare Reproducible Example Code via the Clipboard Convenience wrapper that uses the 'rmarkdown' package to render small snippets of code to target formats that include both code and output. The goal is to encourage the sharing of small, reproducible, and runnable examples on code-oriented websites, such as stackoverflow.com and github.com, or in email. The user's clipboard is the default source of input code and the default target for rendered output. 'reprex' also extracts clean, runnable R code from various common formats, such as copy/paste from an R session. WWW: https://cran.r-project.org/web/packages/reprex/ --- textproc/Makefile | 1 + textproc/R-cran-reprex/Makefile | 31 +++++++++++++++++++++++++++++++ textproc/R-cran-reprex/distinfo | 3 +++ textproc/R-cran-reprex/pkg-descr | 10 ++++++++++ 4 files changed, 45 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b831355715c6..e702745f7781 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -21,6 +21,7 @@ SUBDIR += R-cran-readr SUBDIR += R-cran-readxl SUBDIR += R-cran-rematch + SUBDIR += R-cran-reprex SUBDIR += R-cran-rex SUBDIR += R-cran-rio SUBDIR += R-cran-rmarkdown diff --git a/textproc/R-cran-reprex/Makefile b/textproc/R-cran-reprex/Makefile new file mode 100644 index 000000000000..2985e39b16bd --- /dev/null +++ b/textproc/R-cran-reprex/Makefile @@ -0,0 +1,31 @@ +PORTNAME= reprex +DISTVERSION= 2.1.0 +CATEGORIES= textproc +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= eduardo@FreeBSD.org +COMMENT= Prepare Reproducible Example Code via the Clipboard +WWW= https://cran.r-project.org/web/packages/reprex/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +CRAN_DEPENDS= R-cran-callr>=3.6.0:devel/R-cran-callr \ + R-cran-cli>=3.2.0:devel/R-cran-cli \ + R-cran-clipr>=0.4.0:devel/R-cran-clipr \ + R-cran-fs>0:sysutils/R-cran-fs \ + R-cran-glue>0:devel/R-cran-glue \ + R-cran-knitr>=1.23:print/R-cran-knitr \ + R-cran-lifecycle>0:devel/R-cran-lifecycle \ + R-cran-rlang>=1.0.0:devel/R-cran-rlang \ + R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \ + R-cran-rstudioapi>0:devel/R-cran-rstudioapi \ + R-cran-withr>=2.3.0:devel/R-cran-withr +BUILD_DEPENDS= ${CRAN_DEPENDS} +RUN_DEPENDS= ${CRAN_DEPENDS} \ + hs-pandoc>=2.0:textproc/hs-pandoc +TEST_DEPENDS= R-cran-testthat>=3.0.2:devel/R-cran-testthat + +USES= cran:auto-plist + +.include diff --git a/textproc/R-cran-reprex/distinfo b/textproc/R-cran-reprex/distinfo new file mode 100644 index 000000000000..cb108b26d331 --- /dev/null +++ b/textproc/R-cran-reprex/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706692524 +SHA256 (reprex_2.1.0.tar.gz) = 0a0dfe5976e5ddb908d5a7582b11cbddee342e99d8dbd64b08ff64c1e705a951 +SIZE (reprex_2.1.0.tar.gz) = 1088629 diff --git a/textproc/R-cran-reprex/pkg-descr b/textproc/R-cran-reprex/pkg-descr new file mode 100644 index 000000000000..2850919f97e4 --- /dev/null +++ b/textproc/R-cran-reprex/pkg-descr @@ -0,0 +1,10 @@ +Convenience wrapper that uses the 'rmarkdown' package to render small +snippets of code to target formats that include both code and output. + +The goal is to encourage the sharing of small, reproducible, and runnable +examples on code-oriented websites, such as stackoverflow.com and +github.com, or in email. + +The user's clipboard is the default source of input code and the default +target for rendered output. 'reprex' also extracts clean, runnable R code +from various common formats, such as copy/paste from an R session.