commit:     c6a01080d000fe234107d8a6b641a4da5022c8e4
Author:     Robert Greener <me <AT> r0bert <DOT> dev>
AuthorDate: Sun Jul  3 09:43:01 2022 +0000
Commit:     Robert Greener <me <AT> r0bert <DOT> dev>
CommitDate: Sun Jul  3 09:43:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6a01080

dev-R/readxl: new package, add 1.4.0

Signed-off-by: Robert Greener <me <AT> r0bert.dev>

 dev-R/readxl/Manifest            |  1 +
 dev-R/readxl/metadata.xml        | 17 +++++++++++++++++
 dev-R/readxl/readxl-1.4.0.ebuild | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-R/readxl/Manifest b/dev-R/readxl/Manifest
new file mode 100644
index 000000000..a1317f97d
--- /dev/null
+++ b/dev-R/readxl/Manifest
@@ -0,0 +1 @@
+DIST readxl_1.4.0.tar.gz 2089229 BLAKE2B 
ed3442bc105ad87e6b3a9083094d1c23039f353fc630f29e90f07a6d1e970058eaad028c5bb897642e59a74db48ca21ce0e75e44ebf5d7096df64a7b0aa3e9d7
 SHA512 
5d1cf403c9fa6319e0ab9f53083b20c37d5381bf8f4b9cefe037692a2e637eb175a27661371a63ddd2755bfffbfee7bb2713d4090f6c8621c4626165c1fc45e5

diff --git a/dev-R/readxl/metadata.xml b/dev-R/readxl/metadata.xml
new file mode 100644
index 000000000..1786ee87f
--- /dev/null
+++ b/dev-R/readxl/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">Import excel files into R. Supports '.xls' 
via the embedded 'libxls' C library https://github.com/libxls/libxls and 
'.xlsx' via the embedded 'RapidXML' C++ library 
http://rapidxml.sourceforge.net. Works on Windows, Mac and Linux without 
external dependencies.</longdescription>
+       <upstream>
+               <maintainer>
+                       <name>Jennifer Bryan</name>
+                       <email>je...@rstudio.com</email>
+               </maintainer>
+               <bugs-to>https://github.com/tidyverse/readxl/issues</bugs-to>
+               <remote-id type="github">tidyverse/readxl</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-R/readxl/readxl-1.4.0.ebuild b/dev-R/readxl/readxl-1.4.0.ebuild
new file mode 100644
index 000000000..56cd496c4
--- /dev/null
+++ b/dev-R/readxl/readxl-1.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit R-packages edo
+
+DESCRIPTION="Read Excel Files"
+KEYWORDS="~amd64"
+LICENSE='MIT'
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+DEPEND="
+       dev-R/cellranger
+       >=dev-R/tibble-2.0.1
+       >=dev-R/cpp11-0.4.0
+       dev-R/progress
+       test? (
+               >=dev-R/testthat-3.0.0
+       )
+"
+
+SUGGESTED_PACKAGES="
+       dev-R/knitr
+       dev-R/rmarkdown
+       >=dev-R/testthat-3.0.0
+"
+
+src_test() {
+       cd "${WORKDIR}/${P}/tests" || die
+       NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
+}

Reply via email to