mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Revert "dev-R/RcppArmadillo: treeclean"
This reverts commit 37a87bb5aa.
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
2
dev-R/RcppArmadillo/Manifest
Normal file
2
dev-R/RcppArmadillo/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
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
|
||||
46
dev-R/RcppArmadillo/RcppArmadillo-0.10.2.2.0.ebuild
Normal file
46
dev-R/RcppArmadillo/RcppArmadillo-0.10.2.2.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# 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-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-${MY_PV}*:=[lapack]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
#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
|
||||
}
|
||||
57
dev-R/RcppArmadillo/RcppArmadillo-0.10.8.1.0-r1.ebuild
Normal file
57
dev-R/RcppArmadillo/RcppArmadillo-0.10.8.1.0-r1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
31
dev-R/RcppArmadillo/metadata.xml
Normal file
31
dev-R/RcppArmadillo/metadata.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">'Armadillo' is a templated C++ linear algebra library (by Conrad
|
||||
Sanderson) that aims towards a good balance between speed and ease of
|
||||
use. Integer, floating point and complex numbers are supported, as
|
||||
well as a subset of trigonometric and statistics functions. Various
|
||||
matrix decompositions are provided through optional integration with
|
||||
LAPACK and ATLAS libraries. The 'RcppArmadillo' package includes the
|
||||
header files from the templated 'Armadillo' library. Thus users do
|
||||
not need to install 'Armadillo' itself in order to use
|
||||
'RcppArmadillo'. From release 7.800.0 on, 'Armadillo' is licensed
|
||||
under Apache License 2; previous releases were under licensed as MPL
|
||||
2.0 from version 3.800.0 onwards and LGPL-3 prior to that;
|
||||
'RcppArmadillo' (the 'Rcpp' bindings/bridge to Armadillo) is licensed
|
||||
under the GNU GPL version 2 or later, as is the rest of 'Rcpp'.
|
||||
Armadillo requires a C++11 compiler.</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Dirk Eddelbuettel</name>
|
||||
<email>edd@debian.org</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/RcppCore/RcppArmadillo/issues</bugs-to>
|
||||
<remote-id type="github">RcppCore/RcppArmadillo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user