commit: 36078cbb465799865f682373c81725acdcb6527f Author: Robert Greener <me <AT> r0bert <DOT> dev> AuthorDate: Mon Jul 4 16:00:35 2022 +0000 Commit: Robert Greener <me <AT> r0bert <DOT> dev> CommitDate: Mon Jul 4 16:01:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36078cbb
dev-R/R_utils: new package, add 2.12.0 Signed-off-by: Robert Greener <me <AT> r0bert.dev> dev-R/R_utils/Manifest | 1 + dev-R/R_utils/R_utils-2.12.0.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-R/R_utils/metadata.xml | 17 +++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-R/R_utils/Manifest b/dev-R/R_utils/Manifest new file mode 100644 index 000000000..54a21a28f --- /dev/null +++ b/dev-R/R_utils/Manifest @@ -0,0 +1 @@ +DIST R.utils_2.12.0.tar.gz 363986 BLAKE2B 48827d5b00523fea1d71e84ea17418fb5879b3378d41dfa87b85de3ddbf2b92046a7dad00a188392e3d9ba0cc959ffba6b6432e0a7b103a7261c00c825c01dbe SHA512 1a09ebc278f55ddb0f5adf56bcfb2647a026eb5d8597541cc96aad6e322832efd8603ee15d494f730ae4cf976316dee4adafd2785fc2390a5a896e97f08d2607 diff --git a/dev-R/R_utils/R_utils-2.12.0.ebuild b/dev-R/R_utils/R_utils-2.12.0.ebuild new file mode 100644 index 000000000..2a72049d1 --- /dev/null +++ b/dev-R/R_utils/R_utils-2.12.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION="Various Programming Utilities" +KEYWORDS="~amd64" +LICENSE='LGPL-2.1+' +CRAN_PN="R.utils" +IUSE="test" +RESTRICT="!test? ( test )" + +SRC_URI="mirror://cran/src/contrib/${CRAN_PN}_${PV}.tar.gz" + +DEPEND=" + >=dev-R/R_oo-1.24.0 + >=dev-R/R_methodsS3-1.8.1 + test? ( >=dev-R/digest-0.6.10 ) +" + +SUGGESTED_PACKAGES=" + >=dev-R/digest-0.6.10 +" + +src_test() { + cd "${WORKDIR}/${P}/tests" || die + for i in *.R; do + R_LIBS="${T}/R" edo Rscript --vanilla $i + done +} diff --git a/dev-R/R_utils/metadata.xml b/dev-R/R_utils/metadata.xml new file mode 100644 index 000000000..5064bda9d --- /dev/null +++ b/dev-R/R_utils/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">Utility functions useful when programming and developing R packages.</longdescription> + <upstream> + <maintainer> + <name>Henrik Bengtsson</name> + <email>henr...@braju.com</email> + </maintainer> + <bugs-to>https://github.com/HenrikBengtsson/R.utils/issues</bugs-to> + <remote-id type="github">HenrikBengtsson/R.utils</remote-id> + </upstream> +</pkgmetadata>