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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35FAE15801B for ; Mon, 31 Jul 2023 15:48:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FEFDE0CB9; Mon, 31 Jul 2023 15:48:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10EB0E0CB9 for ; Mon, 31 Jul 2023 15:48:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBB3533FECD for ; Mon, 31 Jul 2023 15:48:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A88CE9E for ; Mon, 31 Jul 2023 15:48:04 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1690818472.1d688f7269dbc406063eb767a7ad4c8d0a01dc71.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppArmadillo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-R/RcppArmadillo/Manifest dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild X-VCS-Directories: dev-R/RcppArmadillo/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 1d688f7269dbc406063eb767a7ad4c8d0a01dc71 X-VCS-Branch: dev Date: Mon, 31 Jul 2023 15:48:04 +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: 0d1d1d19-4092-4784-ac8d-221f2ea39398 X-Archives-Hash: 65b3d507752cab76f887d43aad0a1f04 commit: 1d688f7269dbc406063eb767a7ad4c8d0a01dc71 Author: David Roman gmail com> AuthorDate: Mon Jul 31 15:43:45 2023 +0000 Commit: David Roman gmail com> CommitDate: Mon Jul 31 15:47:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d688f72 dev-R/RcppArmadillo: add 0.12.4.1.0 Signed-off-by: David Roman gmail.com> dev-R/RcppArmadillo/Manifest | 1 + .../RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-R/RcppArmadillo/Manifest b/dev-R/RcppArmadillo/Manifest index 051bc7d813..972ceec1cf 100644 --- a/dev-R/RcppArmadillo/Manifest +++ b/dev-R/RcppArmadillo/Manifest @@ -1,2 +1,3 @@ DIST RcppArmadillo_0.10.2.2.0.tar.gz 1661194 BLAKE2B 0c1de4e8d6278aa72c8bed99ca40a195b26cb6d23b2f45841d547c64247c1ffa398fd086874866c0764027737055fc60a420f105a2a443e74eb473a6e7c06885 SHA512 b068fae82278165d36756658fc3813302ad253bddc3d869034ab0fb81519596ca396e56bb35fe8cae372ff2d4557b55a52522698fcd6c2f30867c1f1b557b662 DIST RcppArmadillo_0.10.8.1.0.tar.gz 1364404 BLAKE2B 263b3103c1ea86991732fd4a4254803863c85ff5e516417560cfced4b60cb9a0d50cde6db5f0eb9f07ea4814b285bf10da3d8131a434c9b20dfb44b6cbfa2808 SHA512 d1c3f445b1538cc79d1b422639321695e276a934d453084497a84a2ba48bc263614d140f5fd4cc2fb73e1ac565c56bbdd7e23a3b60448232178afd907d07e567 +DIST RcppArmadillo_0.12.4.1.0.tar.gz 1373512 BLAKE2B 9228e80227c9f78be552c71bebb299a96306b7676b2d6c94657d1622b01f341d5846937451d195a25109232aa675303c29413ea84fb32bd23954c5564a146332 SHA512 33ad6c44606f1d16a67861aafdb0ea5750eb795974bfb0a594408e6ba82eedc3a1f8efd1cb5003cf3a4766cafd6fd6d6a4270d043339de3a56f22de22aa9b15f diff --git a/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild b/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild new file mode 100644 index 0000000000..30280253aa --- /dev/null +++ b/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild @@ -0,0 +1,57 @@ +# 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-3 ${PV})" + +DESCRIPTION='Rcpp Integration for the Armadillo templated linear algebra library' +SRC_URI="mirror://cran/src/contrib/${PN}_${PV}.tar.gz" + +SLOT="0/${PV}" +KEYWORDS="~amd64" +LICENSE='GPL-2+' + +DEPEND=" + >=dev-lang/R-3.3.0 + >=dev-R/Rcpp-0.11.0 + =sci-libs/armadillo-${MY_PV}*:=[lapack] +" +RDEPEND="${DEPEND}" + +SUGGESTED_PACKAGES=" + dev-R/tinytest + virtual/Matrix + dev-R/pkgKitten + dev-R/reticulate + dev-R/slam +" + +#TODO: correctly link to lapack + +src_prepare() { + R-packages_src_prepare + + #remove bundled + rm -r inst/include/armadillo_bits || die + rm inst/include/armadillo || die + + #link to sci-libs/armadillo + ln -s "${ESYSROOT}"/usr/include/armadillo_bits inst/include/armadillo_bits || die + ln -s "${ESYSROOT}"/usr/include/armadillo inst/include/armadillo || die +} + +src_install() { + R-packages_src_install + + R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include" + dosym8 -r /usr/include/armadillo "${R_includedir}/armadillo" + + dodir /usr/include/armadillo_bits + for file in "${ED}/${R_includedir}"/armadillo_bits/*; do + filename=$(basename "${file}") + dosym8 -r /usr/include/armadillo_bits/${filename} "${R_includedir}/armadillo_bits/${filename}" + done +} 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF30B15801B for ; Mon, 31 Jul 2023 15:52:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10F40E0CCD; Mon, 31 Jul 2023 15:52:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9859E0CCD for ; Mon, 31 Jul 2023 15:52:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C695533FE7D for ; Mon, 31 Jul 2023 15:52:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DEC9EA0 for ; Mon, 31 Jul 2023 15:52:10 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1690818472.1d688f7269dbc406063eb767a7ad4c8d0a01dc71.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-R/RcppArmadillo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-R/RcppArmadillo/Manifest dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild X-VCS-Directories: dev-R/RcppArmadillo/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 1d688f7269dbc406063eb767a7ad4c8d0a01dc71 X-VCS-Branch: master Date: Mon, 31 Jul 2023 15:52:10 +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: 36b14e15-f5c1-4e26-a616-00f7f6368642 X-Archives-Hash: 811efc56ec28e03f5c868342157a9c39 Message-ID: <20230731155210.BBVvHEKGqjbJQKGXn-M8LbT0G49dalUMJ_cttaLxxA0@z> commit: 1d688f7269dbc406063eb767a7ad4c8d0a01dc71 Author: David Roman gmail com> AuthorDate: Mon Jul 31 15:43:45 2023 +0000 Commit: David Roman gmail com> CommitDate: Mon Jul 31 15:47:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d688f72 dev-R/RcppArmadillo: add 0.12.4.1.0 Signed-off-by: David Roman gmail.com> dev-R/RcppArmadillo/Manifest | 1 + .../RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-R/RcppArmadillo/Manifest b/dev-R/RcppArmadillo/Manifest index 051bc7d813..972ceec1cf 100644 --- a/dev-R/RcppArmadillo/Manifest +++ b/dev-R/RcppArmadillo/Manifest @@ -1,2 +1,3 @@ DIST RcppArmadillo_0.10.2.2.0.tar.gz 1661194 BLAKE2B 0c1de4e8d6278aa72c8bed99ca40a195b26cb6d23b2f45841d547c64247c1ffa398fd086874866c0764027737055fc60a420f105a2a443e74eb473a6e7c06885 SHA512 b068fae82278165d36756658fc3813302ad253bddc3d869034ab0fb81519596ca396e56bb35fe8cae372ff2d4557b55a52522698fcd6c2f30867c1f1b557b662 DIST RcppArmadillo_0.10.8.1.0.tar.gz 1364404 BLAKE2B 263b3103c1ea86991732fd4a4254803863c85ff5e516417560cfced4b60cb9a0d50cde6db5f0eb9f07ea4814b285bf10da3d8131a434c9b20dfb44b6cbfa2808 SHA512 d1c3f445b1538cc79d1b422639321695e276a934d453084497a84a2ba48bc263614d140f5fd4cc2fb73e1ac565c56bbdd7e23a3b60448232178afd907d07e567 +DIST RcppArmadillo_0.12.4.1.0.tar.gz 1373512 BLAKE2B 9228e80227c9f78be552c71bebb299a96306b7676b2d6c94657d1622b01f341d5846937451d195a25109232aa675303c29413ea84fb32bd23954c5564a146332 SHA512 33ad6c44606f1d16a67861aafdb0ea5750eb795974bfb0a594408e6ba82eedc3a1f8efd1cb5003cf3a4766cafd6fd6d6a4270d043339de3a56f22de22aa9b15f diff --git a/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild b/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild new file mode 100644 index 0000000000..30280253aa --- /dev/null +++ b/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild @@ -0,0 +1,57 @@ +# 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-3 ${PV})" + +DESCRIPTION='Rcpp Integration for the Armadillo templated linear algebra library' +SRC_URI="mirror://cran/src/contrib/${PN}_${PV}.tar.gz" + +SLOT="0/${PV}" +KEYWORDS="~amd64" +LICENSE='GPL-2+' + +DEPEND=" + >=dev-lang/R-3.3.0 + >=dev-R/Rcpp-0.11.0 + =sci-libs/armadillo-${MY_PV}*:=[lapack] +" +RDEPEND="${DEPEND}" + +SUGGESTED_PACKAGES=" + dev-R/tinytest + virtual/Matrix + dev-R/pkgKitten + dev-R/reticulate + dev-R/slam +" + +#TODO: correctly link to lapack + +src_prepare() { + R-packages_src_prepare + + #remove bundled + rm -r inst/include/armadillo_bits || die + rm inst/include/armadillo || die + + #link to sci-libs/armadillo + ln -s "${ESYSROOT}"/usr/include/armadillo_bits inst/include/armadillo_bits || die + ln -s "${ESYSROOT}"/usr/include/armadillo inst/include/armadillo || die +} + +src_install() { + R-packages_src_install + + R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include" + dosym8 -r /usr/include/armadillo "${R_includedir}/armadillo" + + dodir /usr/include/armadillo_bits + for file in "${ED}/${R_includedir}"/armadillo_bits/*; do + filename=$(basename "${file}") + dosym8 -r /usr/include/armadillo_bits/${filename} "${R_includedir}/armadillo_bits/${filename}" + done +}