commit:     18453454f262b4b67e91c3b0566a438bd896d2a9
Author:     Robert Greener <me <AT> r0bert <DOT> dev>
AuthorDate: Sun Jul  3 08:43:10 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 08:43:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18453454

dev-R/sourcetools: new package, add 0.1.7

Signed-off-by: Robert Greener <me <AT> r0bert.dev>

 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(+)

diff --git a/dev-R/sourcetools/Manifest b/dev-R/sourcetools/Manifest
new file mode 100644
index 000000000..59429cafb
--- /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 000000000..b4786290d
--- /dev/null
+++ b/dev-R/sourcetools/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Robert Greener</name>
+       </maintainer>
+       <longdescription lang="en">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.</longdescription>
+       <upstream>
+               <maintainer>
+                       <name>Kevin Ushey</name>
+                       <email>[email protected]</email>
+               </maintainer>
+               
<bugs-to>https://github.com/kevinushey/sourcetools/issues</bugs-to>
+               <remote-id type="github">kevinushey/sourcetools</remote-id>
+       </upstream>
+</pkgmetadata>

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 000000000..356ff9971
--- /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
+}

Reply via email to