1 |
commit: 18453454f262b4b67e91c3b0566a438bd896d2a9 |
2 |
Author: Robert Greener <me <AT> r0bert <DOT> dev> |
3 |
AuthorDate: Sun Jul 3 08:43:10 2022 +0000 |
4 |
Commit: Robert Greener <me <AT> r0bert <DOT> dev> |
5 |
CommitDate: Sun Jul 3 08:43:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18453454 |
7 |
|
8 |
dev-R/sourcetools: new package, add 0.1.7 |
9 |
|
10 |
Signed-off-by: Robert Greener <me <AT> r0bert.dev> |
11 |
|
12 |
dev-R/sourcetools/Manifest | 1 + |
13 |
dev-R/sourcetools/metadata.xml | 17 +++++++++++++++++ |
14 |
dev-R/sourcetools/sourcetools-0.1.7.ebuild | 27 +++++++++++++++++++++++++++ |
15 |
3 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/dev-R/sourcetools/Manifest b/dev-R/sourcetools/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..59429cafb |
20 |
--- /dev/null |
21 |
+++ b/dev-R/sourcetools/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST sourcetools_0.1.7.tar.gz 24155 BLAKE2B f52a5012623a555d0ca1abc2296efb2704521d495a436df0eaf40434e8254e6e1406c570c63eca79fddc426713b7932524ffd1ffe13d257d7cf2e800cea830fb SHA512 8446aec2a22046044a886c16b752f1846ba8e24b07fbce23678ca324536b6cc19acb795eb381491712c2bd913f891518911b48f37c0a4bd47aad12e57f6eb31d |
24 |
|
25 |
diff --git a/dev-R/sourcetools/metadata.xml b/dev-R/sourcetools/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..b4786290d |
28 |
--- /dev/null |
29 |
+++ b/dev-R/sourcetools/metadata.xml |
30 |
@@ -0,0 +1,17 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>me@××××××.dev</email> |
36 |
+ <name>Robert Greener</name> |
37 |
+ </maintainer> |
38 |
+ <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> |
39 |
+ <upstream> |
40 |
+ <maintainer> |
41 |
+ <name>Kevin Ushey</name> |
42 |
+ <email>kevinushey@×××××.com</email> |
43 |
+ </maintainer> |
44 |
+ <bugs-to>https://github.com/kevinushey/sourcetools/issues</bugs-to> |
45 |
+ <remote-id type="github">kevinushey/sourcetools</remote-id> |
46 |
+ </upstream> |
47 |
+</pkgmetadata> |
48 |
|
49 |
diff --git a/dev-R/sourcetools/sourcetools-0.1.7.ebuild b/dev-R/sourcetools/sourcetools-0.1.7.ebuild |
50 |
new file mode 100644 |
51 |
index 000000000..356ff9971 |
52 |
--- /dev/null |
53 |
+++ b/dev-R/sourcetools/sourcetools-0.1.7.ebuild |
54 |
@@ -0,0 +1,27 @@ |
55 |
+# Copyright 1999-2022 Gentoo Authors |
56 |
+# Distributed under the terms of the GNU General Public License v2 |
57 |
+ |
58 |
+EAPI=7 |
59 |
+ |
60 |
+inherit R-packages edo |
61 |
+ |
62 |
+DESCRIPTION='Tools for Reading, Tokenizing and Parsing R Code' |
63 |
+KEYWORDS="~amd64" |
64 |
+LICENSE='MIT' |
65 |
+RESTRICT="!test? ( test )" |
66 |
+IUSE="test" |
67 |
+ |
68 |
+DEPEND=" |
69 |
+ test? ( |
70 |
+ dev-R/testthat |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+SUGGESTED_PACKAGES=" |
75 |
+ dev-R/testthat |
76 |
+" |
77 |
+ |
78 |
+src_test() { |
79 |
+ cd "${WORKDIR}/${P}/tests" || die |
80 |
+ NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R |
81 |
+} |