From 18453454f262b4b67e91c3b0566a438bd896d2a9 Mon Sep 17 00:00:00 2001 From: Robert Greener Date: Sun, 3 Jul 2022 09:43:10 +0100 Subject: [PATCH] dev-R/sourcetools: new package, add 0.1.7 Signed-off-by: Robert Greener --- dev-R/sourcetools/Manifest | 1 + dev-R/sourcetools/metadata.xml | 17 ++++++++++++++ dev-R/sourcetools/sourcetools-0.1.7.ebuild | 27 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-R/sourcetools/Manifest create mode 100644 dev-R/sourcetools/metadata.xml create mode 100644 dev-R/sourcetools/sourcetools-0.1.7.ebuild diff --git a/dev-R/sourcetools/Manifest b/dev-R/sourcetools/Manifest new file mode 100644 index 0000000000..59429cafb3 --- /dev/null +++ b/dev-R/sourcetools/Manifest @@ -0,0 +1 @@ +DIST sourcetools_0.1.7.tar.gz 24155 BLAKE2B f52a5012623a555d0ca1abc2296efb2704521d495a436df0eaf40434e8254e6e1406c570c63eca79fddc426713b7932524ffd1ffe13d257d7cf2e800cea830fb SHA512 8446aec2a22046044a886c16b752f1846ba8e24b07fbce23678ca324536b6cc19acb795eb381491712c2bd913f891518911b48f37c0a4bd47aad12e57f6eb31d diff --git a/dev-R/sourcetools/metadata.xml b/dev-R/sourcetools/metadata.xml new file mode 100644 index 0000000000..b4786290db --- /dev/null +++ b/dev-R/sourcetools/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + Tools for the reading and tokenization of R code. The 'sourcetools' package provides both an R and C++ interface for the tokenization of R code, and helpers for interacting with the tokenized representation of R code. + + + Kevin Ushey + kevinushey@gmail.com + + https://github.com/kevinushey/sourcetools/issues + kevinushey/sourcetools + + diff --git a/dev-R/sourcetools/sourcetools-0.1.7.ebuild b/dev-R/sourcetools/sourcetools-0.1.7.ebuild new file mode 100644 index 0000000000..356ff99713 --- /dev/null +++ b/dev-R/sourcetools/sourcetools-0.1.7.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='Tools for Reading, Tokenizing and Parsing R Code' +KEYWORDS="~amd64" +LICENSE='MIT' +RESTRICT="!test? ( test )" +IUSE="test" + +DEPEND=" + test? ( + dev-R/testthat + ) +" + +SUGGESTED_PACKAGES=" + dev-R/testthat +" + +src_test() { + cd "${WORKDIR}/${P}/tests" || die + NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R +}