1 |
commit: 07490c2edee4188458085da03ef678cd3876f6f0 |
2 |
Author: Robert Greener <me <AT> r0bert <DOT> dev> |
3 |
AuthorDate: Mon Jul 4 13:27:07 2022 +0000 |
4 |
Commit: Robert Greener <me <AT> r0bert <DOT> dev> |
5 |
CommitDate: Mon Jul 4 13:27:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=07490c2e |
7 |
|
8 |
dev-R/testit: new package, add 0.13 |
9 |
|
10 |
Signed-off-by: Robert Greener <me <AT> r0bert.dev> |
11 |
|
12 |
dev-R/testit/Manifest | 1 + |
13 |
dev-R/testit/metadata.xml | 17 +++++++++++++++++ |
14 |
dev-R/testit/testit-0.13.ebuild | 20 ++++++++++++++++++++ |
15 |
3 files changed, 38 insertions(+) |
16 |
|
17 |
diff --git a/dev-R/testit/Manifest b/dev-R/testit/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..77834ed9f |
20 |
--- /dev/null |
21 |
+++ b/dev-R/testit/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST testit_0.13.tar.gz 8493 BLAKE2B c1375be2392f3acc15e66deff6d45b4f4d750c15d8f6254ca63062208baa9943d79c875fecd13c98fe5000bf572633aed7c98015305dfbf0fab59371f5f6fda4 SHA512 f48774a055d6eb04523e6c3a7afdbc74698aa11accc13cd66d860feab9a584a816c430196bf7e12999ea20746c9b85b6544af9dc8e16922694968392eab36d3f |
24 |
|
25 |
diff --git a/dev-R/testit/metadata.xml b/dev-R/testit/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..3823f9b80 |
28 |
--- /dev/null |
29 |
+++ b/dev-R/testit/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">Helper functions to install and maintain the 'LaTeX' distribution named 'TinyTeX' (https://yihui.org/tinytex/), a lightweight, cross-platform, portable, and easy-to-maintain version of 'TeX Live'. This package also contains helper functions to compile 'LaTeX' documents, and install missing 'LaTeX' packages automatically.</longdescription> |
39 |
+ <upstream> |
40 |
+ <maintainer> |
41 |
+ <name>Yihui Xie</name> |
42 |
+ <email>xie@×××××.name</email> |
43 |
+ </maintainer> |
44 |
+ <bugs-to>https://github.com/yihui/testit/issues</bugs-to> |
45 |
+ <remote-id type="github">yihui/testit</remote-id> |
46 |
+ </upstream> |
47 |
+</pkgmetadata> |
48 |
|
49 |
diff --git a/dev-R/testit/testit-0.13.ebuild b/dev-R/testit/testit-0.13.ebuild |
50 |
new file mode 100644 |
51 |
index 000000000..4317d2d9b |
52 |
--- /dev/null |
53 |
+++ b/dev-R/testit/testit-0.13.ebuild |
54 |
@@ -0,0 +1,20 @@ |
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='A Simple Package for Testing R Packages' |
63 |
+KEYWORDS="~amd64" |
64 |
+LICENSE='GPL-3' |
65 |
+ |
66 |
+SUGGESTED_PACKAGES=" |
67 |
+ dev-R/rstudioapi |
68 |
+ dev-R/covr |
69 |
+" |
70 |
+ |
71 |
+src_test() { |
72 |
+ cd "${WORKDIR}/${P}/tests" || die |
73 |
+ R_LIBS="${T}/R" edo Rscript --vanilla test-all.R |
74 |
+} |