commit: e0dbb0a36eff36d4e971c5d41d12d67a5d255e57 Author: Robert Greener <me <AT> r0bert <DOT> dev> AuthorDate: Sun Jul 3 13:31:36 2022 +0000 Commit: Robert Greener <me <AT> r0bert <DOT> dev> CommitDate: Sun Jul 3 13:31:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0dbb0a3
dev-R/tinytest: new package, add 1.3.1 Signed-off-by: Robert Greener <me <AT> r0bert.dev> dev-R/tinytest/Manifest | 1 + dev-R/tinytest/metadata.xml | 17 +++++++++++++++++ dev-R/tinytest/tinytest-1.3.1.ebuild | 15 +++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/dev-R/tinytest/Manifest b/dev-R/tinytest/Manifest new file mode 100644 index 000000000..bd3c69559 --- /dev/null +++ b/dev-R/tinytest/Manifest @@ -0,0 +1 @@ +DIST tinytest_1.3.1.tar.gz 445398 BLAKE2B 481f8510dd09a75acdf2cba63ecf29c2ed7d39ea80042cc68fc3c8921806a97ef6010057c7c0d8f9a398e3948c467d55d9ff42adf4b4216e893863f32a273381 SHA512 bb580f42f47375e730a698072645c1cb8c5e6d46c8ab2e69b2fbd4c0f9edd5c97ddbbc0d4d3cc35d3d785e937f10d74a4c2c41f86777add8c81ec43c884bc019 diff --git a/dev-R/tinytest/metadata.xml b/dev-R/tinytest/metadata.xml new file mode 100644 index 000000000..23f0b3fab --- /dev/null +++ b/dev-R/tinytest/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>m...@r0bert.dev</email> + <name>Robert Greener</name> + </maintainer> + <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> + <upstream> + <maintainer> + <name>Mark van der Loo</name> + <email>mark.vander...@gmail.com</email> + </maintainer> + <bugs-to>https://github.com/markvanderloo/tinytest/issues</bugs-to> + <remote-id type="github">markvanderloo/tinytest</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-R/tinytest/tinytest-1.3.1.ebuild b/dev-R/tinytest/tinytest-1.3.1.ebuild new file mode 100644 index 000000000..6391f1dae --- /dev/null +++ b/dev-R/tinytest/tinytest-1.3.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='Lightweight and Feature Complete Unit Testing Framework' +KEYWORDS="~amd64" +LICENSE='GPL-3' + +src_test() { + cd "${WORKDIR}/${P}/tests" || die + R_LIBS="${T}/R" edo Rscript --vanilla tinytest.R +}