mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 18:43:18 -04:00
dev-R/reticulate: new package
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-R/reticulate/Manifest
Normal file
1
dev-R/reticulate/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST reticulate_1.24.tar.gz 1537517 BLAKE2B 8e2da502c5f9bd87a5c42261e2d456bc08a826c5afe690332a15d8d4c5d76a1488040ce3a436a1ce8e9eb6b5df0138ce11f32d4f46995f4fe806e5cf0f618125 SHA512 f6bcbb97162874b776adf0baa1cbd5723f232d6e15fe678b256af38b6287aa40d7266903ac3201d4e6f72b2eb0df85ef9854c4aa3dd07f02d7de2bf8b619397c
|
||||
17
dev-R/reticulate/metadata.xml
Normal file
17
dev-R/reticulate/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://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>
|
||||
Interface to 'Python' // Interface to 'Python' modules, classes,
|
||||
and functions. When calling into 'Python', R data types are
|
||||
automatically converted to their equivalent 'Python' types.
|
||||
When values are returned from 'Python' to R they are converted
|
||||
back to R types. Compatible with all versions of 'Python' =
|
||||
2.7.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
54
dev-R/reticulate/reticulate-1.24.ebuild
Normal file
54
dev-R/reticulate/reticulate-1.24.ebuild
Normal 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 "/usr/$(get_libdir)/R/site-library/reticulate/python/rpytools"
|
||||
|
||||
# enforce python implementation
|
||||
cat "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
|
||||
"
|
||||
Reference in New Issue
Block a user