From 8a4f25c17601de403342a103fed7b8809f820f63 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 5 May 2022 12:39:13 +0000 Subject: Adding metadata --- dev-R/RcppEnsmallen/Manifest | 2 +- .../RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 44 ----------------- .../RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild | 56 ++++++++++++++++++++++ 3 files changed, 57 insertions(+), 45 deletions(-) delete mode 100644 dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild create mode 100644 dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild (limited to 'dev-R/RcppEnsmallen') diff --git a/dev-R/RcppEnsmallen/Manifest b/dev-R/RcppEnsmallen/Manifest index a0c565f82cb9..933182fcd64f 100644 --- a/dev-R/RcppEnsmallen/Manifest +++ b/dev-R/RcppEnsmallen/Manifest @@ -1 +1 @@ -DIST RcppEnsmallen_0.2.17.0.1.tar.gz 243399 BLAKE2B c143d6f2d3631e1226ee35894fc56ea113a756418efbd1e2deb70d9b1ddbf63e79b6cbe8c86f2dab81bbfd62af2ae464651fedd893dee0c6961c8759f589c421 SHA512 6b6c10ad188b13cca2498c5fc2cec74a18eab34f30411cbc48e09c327253889aa85a80717372aadc2f5c2245f7a7332c474cae237730bab5dbf4b4895f0f7607 +DIST RcppEnsmallen_0.2.19.0.1.tar.gz 252878 BLAKE2B 20d1d87aadc14abb68263c2384e517b6f71ee805cb95cd0d3c0ba240ab11cacedaf74d0f50a56e033b228ddfbd0e0ea9d09c95af057571381a43743107fdc94d SHA512 e201d2e76cd20e2d01d7a7d76ce685320481f0ed61a58c9ccc49d38a8f7168dc455f36660dd7cab2484e8eb809cbae79a91c998aca430f4699ddff95c6bbb59f diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild deleted file mode 100644 index 003cfc953aca..000000000000 --- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit R-packages eapi8-dosym - -MY_PV="$(ver_cut 2-4 ${PV})" -DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo' -#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz" -KEYWORDS="~amd64" -LICENSE='GPL-2+' - -DEPEND=" - >=dev-lang/R-3.3.0 - dev-R/Rcpp - =sci-libs/ensmallen-${MY_PV}*:= -" -RDEPEND="${DEPEND} - >=dev-R/RcppArmadillo-0.8.400.0.0 -" - -src_prepare() { - default - - # remove bundled - rm -r inst/include/ensmallen_bits || die - rm inst/include/ensmallen.hpp || die - - # link to sci-libs/ensmallen - ln -s "${ESYSROOT}"/usr/include/ensmallen_bits inst/include/ensmallen_bits || die - ln -s "${ESYSROOT}"/usr/include/ensmallen.hpp inst/include/ensmallen.hpp || die -} - -src_install() { - R-packages_src_install - - R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include" - dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp" - - # portage doesn't like symlinks to folders, symlink all the files then - rm -rf "${ED}/${R_includedir}"/ensmallen_bits/* || die - cp -rs "/usr/include/ensmallen_bits" "${ED}/${R_includedir}" || die -} diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild new file mode 100644 index 000000000000..9f73b5c34396 --- /dev/null +++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages eapi8-dosym + +MY_PV="$(ver_cut 2-4 ${PV})" + +DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo' +HOMEPAGE=" + https://cran.r-project.org/package=RcppEnsmallen + https://github.com/coatless-rpkg/rcppensmallen +" +#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz" + +KEYWORDS="~amd64" +LICENSE='GPL-2+' + +DEPEND=" + >=dev-lang/R-3.3.0 + dev-R/Rcpp + =sci-libs/ensmallen-${MY_PV}*:= +" +RDEPEND=" + ${DEPEND} + >=dev-R/RcppArmadillo-0.9.800.0.0 +" + +SUGGESTED_PACKAGES=" + dev-R/knitr + dev-R/rmarkdown +" + +src_prepare() { + default + + # remove bundled + rm -r inst/include/ensmallen_bits || die + rm inst/include/ensmallen.hpp || die + + # link to sci-libs/ensmallen + ln -s "${ESYSROOT}"/usr/include/ensmallen_bits inst/include/ensmallen_bits || die + ln -s "${ESYSROOT}"/usr/include/ensmallen.hpp inst/include/ensmallen.hpp || die +} + +src_install() { + R-packages_src_install + + R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include" + dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp" + + # portage doesn't like symlinks to folders, symlink all the files then + rm -rf "${ED}/${R_includedir}"/ensmallen_bits/* || die + cp -rs "/usr/include/ensmallen_bits" "${ED}/${R_includedir}" || die +} -- cgit v1.3