public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppArmadillo/
Date: Tue,  1 Jun 2021 04:56:52 +0000 (UTC)	[thread overview]
Message-ID: <1622523331.7d69768a68574b3e3b249dc9bb729ed9e9277741.Alessandro-Barbieri@gentoo> (raw)

commit:     7d69768a68574b3e3b249dc9bb729ed9e9277741
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun  1 04:55:31 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun  1 04:55:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d69768a

dev-R/RcppArmadillo: add 0.10.2.2.0, drop 0.10.5.0.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-R/RcppArmadillo/Manifest                                 |  2 +-
 ...llo-0.10.5.0.0.ebuild => RcppArmadillo-0.10.2.2.0.ebuild} | 12 +++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-R/RcppArmadillo/Manifest b/dev-R/RcppArmadillo/Manifest
index d669ccdb9..bb6e382d9 100644
--- a/dev-R/RcppArmadillo/Manifest
+++ b/dev-R/RcppArmadillo/Manifest
@@ -1 +1 @@
-DIST RcppArmadillo_0.10.5.0.0.tar.gz 1669395 BLAKE2B 5b9c7e8d63ed5c782c8a848b6d580fb31bba89e7668048a90416ba1dd95554c2d78011c11b43f4a2c6be3ee4283b44acc84977e601faf6a688256a3cebf3a739 SHA512 843012eb1b44141ef7b2a20db140eed1f219c3eba6b435e7651884c010626ccd9618d962d9d923cacecd9d63c58ad5722ce78604debe2be165aea59bd336e548
+DIST RcppArmadillo_0.10.2.2.0.tar.gz 1661194 BLAKE2B 0c1de4e8d6278aa72c8bed99ca40a195b26cb6d23b2f45841d547c64247c1ffa398fd086874866c0764027737055fc60a420f105a2a443e74eb473a6e7c06885 SHA512 b068fae82278165d36756658fc3813302ad253bddc3d869034ab0fb81519596ca396e56bb35fe8cae372ff2d4557b55a52522698fcd6c2f30867c1f1b557b662

diff --git a/dev-R/RcppArmadillo/RcppArmadillo-0.10.5.0.0.ebuild b/dev-R/RcppArmadillo/RcppArmadillo-0.10.2.2.0.ebuild
similarity index 79%
rename from dev-R/RcppArmadillo/RcppArmadillo-0.10.5.0.0.ebuild
rename to dev-R/RcppArmadillo/RcppArmadillo-0.10.2.2.0.ebuild
index f14fd4406..2bd5ac434 100644
--- a/dev-R/RcppArmadillo/RcppArmadillo-0.10.5.0.0.ebuild
+++ b/dev-R/RcppArmadillo/RcppArmadillo-0.10.2.2.0.ebuild
@@ -5,26 +5,28 @@ EAPI=7
 
 inherit R-packages
 
+MYPV="$(ver_cut 2-3 ${PV})"
+
 DESCRIPTION='Rcpp Integration for the Armadillo templated linear algebra library'
+SRC_URI="mirror://cran/src/contrib/Archive/${PN}/${PN}_${PV}.tar.gz"
 KEYWORDS="~amd64"
 LICENSE='GPL-2+'
 
 DEPEND="
 	>=dev-lang/R-3.3.0
 	>=dev-R/Rcpp-0.11.0
-	sci-libs/armadillo[lapack]
-"
-RDEPEND="
-	${DEPEND}
-	dev-R/Rcpp
+	=sci-libs/armadillo-${MYPV}*:=[lapack]
 "
+RDEPEND="${DEPEND}"
 
 #TODO: correctly link to lapack
 
 src_prepare() {
 	default
+	#remove bundled
 	rm -r inst/include/armadillo_bits || die
 	rm inst/include/armadillo || die
+	#link to sci-libs/armadillo
 	dosym /usr/include/armadillo_bits inst/include/armadillo_bits
 	dosym /usr/include/armadillo inst/include/armadillo
 }


             reply	other threads:[~2021-06-01  4:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01  4:56 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-31 15:52 [gentoo-commits] repo/proj/guru:master commit in: dev-R/RcppArmadillo/ David Roman
2023-07-31 15:48 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2023-07-31 15:48 David Roman
2023-07-31 15:48 David Roman
2023-07-29 15:04 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-07-29 15:04 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2022-05-28 12:53 Alessandro Barbieri
2022-04-20 21:57 Alessandro Barbieri
2022-03-11  2:02 Alessandro Barbieri
2022-02-24  7:54 Anna Vyalkova
2022-02-23 13:44 Anna Vyalkova
2022-02-17 21:11 Anna Vyalkova
2022-02-09 13:12 Anna Vyalkova
2021-05-31 23:38 Alessandro Barbieri
2021-05-31 22:04 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1622523331.7d69768a68574b3e3b249dc9bb729ed9e9277741.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox