Gentoo Archives: gentoo-commits

From: Robert Greener <me@××××××.dev>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/tinytex/
Date: Mon, 04 Jul 2022 13:40:21
Message-Id: 1656942015.a3da6d6479cc10bfa65c500fa025e88e7cee4658.me@gentoo
1 commit: a3da6d6479cc10bfa65c500fa025e88e7cee4658
2 Author: Robert Greener <me <AT> r0bert <DOT> dev>
3 AuthorDate: Mon Jul 4 13:40:15 2022 +0000
4 Commit: Robert Greener <me <AT> r0bert <DOT> dev>
5 CommitDate: Mon Jul 4 13:40:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3da6d64
7
8 dev-R/tinytex: new packaage, add 0.40
9
10 Signed-off-by: Robert Greener <me <AT> r0bert.dev>
11
12 dev-R/tinytex/Manifest | 1 +
13 dev-R/tinytex/metadata.xml | 17 +++++++++++++++++
14 dev-R/tinytex/tinytex-0.40.ebuild | 29 +++++++++++++++++++++++++++++
15 3 files changed, 47 insertions(+)
16
17 diff --git a/dev-R/tinytex/Manifest b/dev-R/tinytex/Manifest
18 new file mode 100644
19 index 000000000..4fee2015a
20 --- /dev/null
21 +++ b/dev-R/tinytex/Manifest
22 @@ -0,0 +1 @@
23 +DIST tinytex_0.40.tar.gz 32846 BLAKE2B b3edb270254cf2a2f721a70531dc8d4486e073b68a8199c6e78ad8503a0cbff52ddfabe97c5227c62a2f7e5a51db1d34667536a1ade5bd5ac5553fc99298b094 SHA512 bcef31b9245ed0a989b04d6a1f91781eeabba9c8aac11f6dd7b2d457944e9f8f40adb1477c898d95eb72a1cbb6ddc728be80a7b8ce9010b294c0e44fe28f92ad
24
25 diff --git a/dev-R/tinytex/metadata.xml b/dev-R/tinytex/metadata.xml
26 new file mode 100644
27 index 000000000..b306c21c0
28 --- /dev/null
29 +++ b/dev-R/tinytex/metadata.xml
30 @@ -0,0 +1,17 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>me@××××××.dev</email>
36 + <name>Robert Greener</name>
37 + </maintainer>
38 + <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>
39 + <upstream>
40 + <maintainer>
41 + <name>Yihui Xie</name>
42 + <email>xie@×××××.name</email>
43 + </maintainer>
44 + <bugs-to>https://github.com/rstudio/tinytex/issues</bugs-to>
45 + <remote-id type="github">rstudio/tinytex</remote-id>
46 + </upstream>
47 +</pkgmetadata>
48
49 diff --git a/dev-R/tinytex/tinytex-0.40.ebuild b/dev-R/tinytex/tinytex-0.40.ebuild
50 new file mode 100644
51 index 000000000..2e8459972
52 --- /dev/null
53 +++ b/dev-R/tinytex/tinytex-0.40.ebuild
54 @@ -0,0 +1,29 @@
55 +# Copyright 1999-2022 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=7
59 +
60 +inherit R-packages edo
61 +
62 +DESCRIPTION='Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents'
63 +KEYWORDS="~amd64"
64 +LICENSE='MIT'
65 +RESTRICT="!test? ( test )"
66 +IUSE="test"
67 +
68 +DEPEND="
69 + dev-R/xfun
70 + test? (
71 + dev-R/testit
72 + )
73 +"
74 +
75 +SUGGESTED_PACKAGES="
76 + dev-R/testit
77 + dev-R/rstudioapi
78 +"
79 +
80 +src_test() {
81 + cd "${WORKDIR}/${P}/tests" || die
82 + R_LIBS="${T}/R" edo Rscript --vanilla test-cran.R
83 +}