diff --git a/dev-R/RcppTOML/Manifest b/dev-R/RcppTOML/Manifest new file mode 100644 index 0000000000..f99a18d2fd --- /dev/null +++ b/dev-R/RcppTOML/Manifest @@ -0,0 +1 @@ +DIST RcppTOML_0.1.7.tar.gz 42551 BLAKE2B 5622ed62137291615a527ff97ee964162e086960d22f62f570ed06bc0483d47dddcafc46a8382922fd88071fd023445d712d66facbcf7df46866fb15509ba64a SHA512 c1a9e2a0f0c0229620125b6b18e5fb73fcb059d916c716f2cb7cc0bfbdb6253e71462a3fe7482e5d2f0672d429a81307effc89c26f79f5a99fe393c6a9d35ce9 diff --git a/dev-R/RcppTOML/RcppTOML-0.1.7.ebuild b/dev-R/RcppTOML/RcppTOML-0.1.7.ebuild new file mode 100644 index 0000000000..b0a4cb1846 --- /dev/null +++ b/dev-R/RcppTOML/RcppTOML-0.1.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages + +DESCRIPTION='Rcpp Bindings to C++ parser for TOML files' +HOMEPAGE=" + https://cran.r-project.org/package=RcppTOML + https://github.com/eddelbuettel/rcpptoml +" +KEYWORDS="~amd64" +LICENSE='GPL-2+' + +DEPEND=" + dev-cpp/cpptoml + >=dev-lang/R-3.3.0 + >=dev-R/Rcpp-0.11.5 +" +RDEPEND="${DEPEND}" + +src_prepare() { + rm -r inst/tinytest || die + # replace bundled cpptoml + rm inst/include/cpptoml.h || die + ln -s /usr/include/cpptoml.h inst/include/cpptoml.h || die + R-packages_src_prepare +} + +src_install() { + R-packages_src_install + rm "${ED}/usr/lib64/R/site-library/RcppTOML/include/cpptoml.h" || die + dosym ../../../../../../usr/include/cpptoml.h "${EPREFIX}/usr/lib64/R/site-library/RcppTOML/include/cpptoml.h" +} + +SUGGESTED_PACKAGES="dev-R/tinytest" diff --git a/dev-R/RcppTOML/metadata.xml b/dev-R/RcppTOML/metadata.xml new file mode 100644 index 0000000000..5e0eb685f7 --- /dev/null +++ b/dev-R/RcppTOML/metadata.xml @@ -0,0 +1,18 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + 'Rcpp' Bindings to Parser for Tom's Obvious Markup Language // + The configuration format defined by 'TOML' (which expands to + "Tom's Obvious Markup Language") specifies an excellent format + (described at https://toml.io/en/) suitable for both human + editing as well as the common uses of a machine-readable + format. This package uses 'Rcpp' to connect the 'cpptoml' + parser written by Chase Geigle (in C++11) to R. + +