dev-R/reticulate: add 1.25, drop 1.24

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-14 15:29:25 +02:00
parent fb12540bdc
commit c3e3a1cc01
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit python-single-r1 R-packages
DESCRIPTION='Interface to Python'
HOMEPAGE="
https://rstudio.github.io/reticulate/
https://github.com/rstudio/reticulate
https://cran.r-project.org/package=reticulate
"
KEYWORDS="~amd64"
LICENSE='Apache-2.0'
DEPEND="
dev-R/jsonlite
dev-R/rappdirs
>=dev-R/Rcpp-0.12.7
>=dev-lang/R-3.0
dev-R/RcppTOML
virtual/Matrix
dev-R/here
dev-R/png
dev-R/withr
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_install() {
R-packages_src_install
python_optimize "${ED}/usr/$(get_libdir)/R/site-library/reticulate/python/rpytools"
# enforce python implementation
echo "RETICULATE_PYTHON=\"${PYTHON}\"" > "${T}/99reticulate" || die
doenvd "${T}/99reticulate"
}
SUGGESTED_PACKAGES="
dev-R/callr
dev-R/knitr
dev-R/rlang
dev-R/rmarkdown
dev-R/testthat
"