commit:     8d8f620668aef8c4171c1aa5ff4899a271c0fc19
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 16 15:46:38 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 16 16:20:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d8f6206

dev-R/Rcpp: update LICENSE

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

 dev-R/Rcpp/Rcpp-1.0.8.3.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-R/Rcpp/Rcpp-1.0.8.3.ebuild b/dev-R/Rcpp/Rcpp-1.0.8.3.ebuild
index 5376521a8..70f9a5eb4 100644
--- a/dev-R/Rcpp/Rcpp-1.0.8.3.ebuild
+++ b/dev-R/Rcpp/Rcpp-1.0.8.3.ebuild
@@ -6,14 +6,24 @@ EAPI="7"
 inherit R-packages
 
 DESCRIPTION='Seamless R and C++ Integration'
-LICENSE='GPL-2+'
 HOMEPAGE="
        https://www.rcpp.org
        http://dirk.eddelbuettel.com/code/rcpp.html
        https://github.com/RcppCore/Rcpp
        https://cran.r-project.org/package=Rcpp
 "
+
+LICENSE='GPL-2+ Boost-1.0'
 KEYWORDS="~amd64"
+IUSE="examples"
+
+src_prepare() {
+       if ! use examples ; then
+               rm -r inst/examples || die
+       fi
+       rm -r inst/tinytest || die
+       R-packages_src_prepare
+}
 
 SUGGESTED_PACKAGES="
        dev-R/tinytest

Reply via email to