Gentoo Archives: gentoo-commits

From: Robert Greener <me@××××××.dev>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/tinytest/
Date: Sun, 03 Jul 2022 13:31:56
Message-Id: 1656855110.e0dbb0a36eff36d4e971c5d41d12d67a5d255e57.me@gentoo
1 commit: e0dbb0a36eff36d4e971c5d41d12d67a5d255e57
2 Author: Robert Greener <me <AT> r0bert <DOT> dev>
3 AuthorDate: Sun Jul 3 13:31:36 2022 +0000
4 Commit: Robert Greener <me <AT> r0bert <DOT> dev>
5 CommitDate: Sun Jul 3 13:31:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0dbb0a3
7
8 dev-R/tinytest: new package, add 1.3.1
9
10 Signed-off-by: Robert Greener <me <AT> r0bert.dev>
11
12 dev-R/tinytest/Manifest | 1 +
13 dev-R/tinytest/metadata.xml | 17 +++++++++++++++++
14 dev-R/tinytest/tinytest-1.3.1.ebuild | 15 +++++++++++++++
15 3 files changed, 33 insertions(+)
16
17 diff --git a/dev-R/tinytest/Manifest b/dev-R/tinytest/Manifest
18 new file mode 100644
19 index 000000000..bd3c69559
20 --- /dev/null
21 +++ b/dev-R/tinytest/Manifest
22 @@ -0,0 +1 @@
23 +DIST tinytest_1.3.1.tar.gz 445398 BLAKE2B 481f8510dd09a75acdf2cba63ecf29c2ed7d39ea80042cc68fc3c8921806a97ef6010057c7c0d8f9a398e3948c467d55d9ff42adf4b4216e893863f32a273381 SHA512 bb580f42f47375e730a698072645c1cb8c5e6d46c8ab2e69b2fbd4c0f9edd5c97ddbbc0d4d3cc35d3d785e937f10d74a4c2c41f86777add8c81ec43c884bc019
24
25 diff --git a/dev-R/tinytest/metadata.xml b/dev-R/tinytest/metadata.xml
26 new file mode 100644
27 index 000000000..23f0b3fab
28 --- /dev/null
29 +++ b/dev-R/tinytest/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">Provides a lightweight (zero-dependency) and easy to use unit testing framework. Main features: install tests with the package. Test results are treated as data that can be stored and manipulated. Test files are R scripts interspersed with test commands, that can be programmed over. Fully automated build-install-test sequence for packages. Skip tests when not run locally (e.g. on CRAN). Flexible and configurable output printing. Compare computed output with output stored with the package. Run tests in parallel. Extensible by other packages. Report side effects.</longdescription>
39 + <upstream>
40 + <maintainer>
41 + <name>Mark van der Loo</name>
42 + <email>mark.vanderloo@×××××.com</email>
43 + </maintainer>
44 + <bugs-to>https://github.com/markvanderloo/tinytest/issues</bugs-to>
45 + <remote-id type="github">markvanderloo/tinytest</remote-id>
46 + </upstream>
47 +</pkgmetadata>
48
49 diff --git a/dev-R/tinytest/tinytest-1.3.1.ebuild b/dev-R/tinytest/tinytest-1.3.1.ebuild
50 new file mode 100644
51 index 000000000..6391f1dae
52 --- /dev/null
53 +++ b/dev-R/tinytest/tinytest-1.3.1.ebuild
54 @@ -0,0 +1,15 @@
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='Lightweight and Feature Complete Unit Testing Framework'
63 +KEYWORDS="~amd64"
64 +LICENSE='GPL-3'
65 +
66 +src_test() {
67 + cd "${WORKDIR}/${P}/tests" || die
68 + R_LIBS="${T}/R" edo Rscript --vanilla tinytest.R
69 +}