commit: a3da6d6479cc10bfa65c500fa025e88e7cee4658 Author: Robert Greener <me <AT> r0bert <DOT> dev> AuthorDate: Mon Jul 4 13:40:15 2022 +0000 Commit: Robert Greener <me <AT> r0bert <DOT> dev> CommitDate: Mon Jul 4 13:40:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3da6d64
dev-R/tinytex: new packaage, add 0.40 Signed-off-by: Robert Greener <me <AT> r0bert.dev> dev-R/tinytex/Manifest | 1 + dev-R/tinytex/metadata.xml | 17 +++++++++++++++++ dev-R/tinytex/tinytex-0.40.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-R/tinytex/Manifest b/dev-R/tinytex/Manifest new file mode 100644 index 000000000..4fee2015a --- /dev/null +++ b/dev-R/tinytex/Manifest @@ -0,0 +1 @@ +DIST tinytex_0.40.tar.gz 32846 BLAKE2B b3edb270254cf2a2f721a70531dc8d4486e073b68a8199c6e78ad8503a0cbff52ddfabe97c5227c62a2f7e5a51db1d34667536a1ade5bd5ac5553fc99298b094 SHA512 bcef31b9245ed0a989b04d6a1f91781eeabba9c8aac11f6dd7b2d457944e9f8f40adb1477c898d95eb72a1cbb6ddc728be80a7b8ce9010b294c0e44fe28f92ad diff --git a/dev-R/tinytex/metadata.xml b/dev-R/tinytex/metadata.xml new file mode 100644 index 000000000..b306c21c0 --- /dev/null +++ b/dev-R/tinytex/metadata.xml @@ -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"> + <email>m...@r0bert.dev</email> + <name>Robert Greener</name> + </maintainer> + <longdescription lang="en">Helper functions to install and maintain the 'LaTeX' distribution named 'TinyTeX' (https://yihui.org/tinytex/), a lightweight, cross-platform, portable, and easy-to-maintain version of 'TeX Live'. This package also contains helper functions to compile 'LaTeX' documents, and install missing 'LaTeX' packages automatically.</longdescription> + <upstream> + <maintainer> + <name>Yihui Xie</name> + <email>x...@yihui.name</email> + </maintainer> + <bugs-to>https://github.com/rstudio/tinytex/issues</bugs-to> + <remote-id type="github">rstudio/tinytex</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-R/tinytex/tinytex-0.40.ebuild b/dev-R/tinytex/tinytex-0.40.ebuild new file mode 100644 index 000000000..2e8459972 --- /dev/null +++ b/dev-R/tinytex/tinytex-0.40.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents' +KEYWORDS="~amd64" +LICENSE='MIT' +RESTRICT="!test? ( test )" +IUSE="test" + +DEPEND=" + dev-R/xfun + test? ( + dev-R/testit + ) +" + +SUGGESTED_PACKAGES=" + dev-R/testit + dev-R/rstudioapi +" + +src_test() { + cd "${WORKDIR}/${P}/tests" || die + R_LIBS="${T}/R" edo Rscript --vanilla test-cran.R +}