From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C10AD13835A for ; Sun, 20 Jun 2021 23:17:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E141EE0823; Sun, 20 Jun 2021 23:17:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD3D3E07F9 for ; Sun, 20 Jun 2021 23:17:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F5D3340948 for ; Sun, 20 Jun 2021 23:17:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B05278E for ; Sun, 20 Jun 2021 23:17:26 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1624231044.2c2a87bd3af9346b11fb2dbca3d9fd978cc98dd8.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild dev-R/RcppEnsmallen/metadata.xml X-VCS-Directories: dev-R/RcppEnsmallen/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 2c2a87bd3af9346b11fb2dbca3d9fd978cc98dd8 X-VCS-Branch: dev Date: Sun, 20 Jun 2021 23:17:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 99abb355-1db7-4965-9109-637d7efd589c X-Archives-Hash: 17062ad6ed779f5805af30585796291b commit: 2c2a87bd3af9346b11fb2dbca3d9fd978cc98dd8 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jun 20 21:34:53 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jun 20 23:17:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c2a87bd dev-R/RcppEnsmallen: unbundle ensmallen Signed-off-by: Alessandro Barbieri gmail.com> .../RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild | 16 +++++++++ dev-R/RcppEnsmallen/metadata.xml | 42 +++++++++++----------- 2 files changed, 37 insertions(+), 21 deletions(-) diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild index 5b357cc94..8fc973685 100644 --- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild +++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild @@ -22,3 +22,19 @@ RDEPEND=" dev-R/Rcpp >=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 + dosym /usr/include/ensmallen_bits inst/include/ensmallen_bits + dosym /usr/include/ensmallen.hpp inst/include/ensmallen.hpp +} + +src_install() { + R-packages_src_install + dosym /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits" + dosym /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp" +} diff --git a/dev-R/RcppEnsmallen/metadata.xml b/dev-R/RcppEnsmallen/metadata.xml index b666d2f18..c3fb57f8e 100644 --- a/dev-R/RcppEnsmallen/metadata.xml +++ b/dev-R/RcppEnsmallen/metadata.xml @@ -1,25 +1,25 @@ - - Header-Only C++ Mathematical Optimization Library for 'Armadillo' - // 'Ensmallen' is a templated C++ mathematical optimization - library (by the 'MLPACK' team) that provides a simple set of - abstractions for writing an objective function to optimize. - Provided within are various standard and cutting-edge - optimizers that include full-batch gradient descent techniques, - small-batch techniques, gradient-free optimizers, and - constrained optimization. The 'RcppEnsmallen' package includes - the header files from the 'Ensmallen' library and pairs the - appropriate header files from 'armadillo' through the - 'RcppArmadillo' package. Therefore, users do not need to - install 'Ensmallen' nor 'Armadillo' to use 'RcppEnsmallen'. - Note that 'Ensmallen' is licensed under 3-Clause BSD, - 'Armadillo' starting from 7.800.0 is licensed under Apache - License 2, 'RcppArmadillo' (the 'Rcpp' bindings/bridge to - 'Armadillo') is licensed under the GNU GPL version 2 or later. - Thus, 'RcppEnsmallen' is also licensed under similar terms. - Note that 'Ensmallen' requires a compiler that supports 'C++11' - and 'Armadillo' 8.400 or later. - + + + https://github.com/coatless/rcppensmallen/issues + https://cran.r-project.org/web/packages/RcppEnsmallen/RcppEnsmallen.pdf + https://cran.r-project.org/web/packages/RcppEnsmallen/ChangeLog + + James Joseph Balamuta + balamut2@illinois.edu + + coatless/rcppensmallen + + +Header-Only C++ Mathematical Optimization Library for 'Armadillo' +// 'Ensmallen' is a templated C++ mathematical optimization +library (by the 'MLPACK' team) that provides a simple set of +abstractions for writing an objective function to optimize. +Provided within are various standard and cutting-edge +optimizers that include full-batch gradient descent techniques, +small-batch techniques, gradient-free optimizers, and +constrained optimization. +