diff options
author | Robert Greener <me@r0bert.dev> | 2022-07-04 17:00:35 +0100 |
---|---|---|
committer | Robert Greener <me@r0bert.dev> | 2022-07-04 17:01:08 +0100 |
commit | 36078cbb465799865f682373c81725acdcb6527f (patch) | |
tree | 85f42988c02d36f5a470a94651393cb1cb354031 /dev-R | |
parent | dev-R/tinytex: new packaage, add 0.40 (diff) | |
download | guru-36078cbb465799865f682373c81725acdcb6527f.tar.gz guru-36078cbb465799865f682373c81725acdcb6527f.tar.bz2 guru-36078cbb465799865f682373c81725acdcb6527f.zip |
dev-R/R_utils: new package, add 2.12.0
Signed-off-by: Robert Greener <me@r0bert.dev>
Diffstat (limited to 'dev-R')
-rw-r--r-- | dev-R/R_utils/Manifest | 1 | ||||
-rw-r--r-- | dev-R/R_utils/R_utils-2.12.0.ebuild | 32 | ||||
-rw-r--r-- | dev-R/R_utils/metadata.xml | 17 |
3 files changed, 50 insertions, 0 deletions
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>me@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>henrikb@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> |