mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-R/RcppArmadillo: add 0.10.2.2.0, drop 0.10.5.0.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user