From 3fc79101dd340c84ea6ebb6a433f934d15e4e693 Mon Sep 17 00:00:00 2001 From: Robert Greener Date: Sat, 2 Jul 2022 11:31:51 +0100 Subject: [PATCH] dev-R/lubridate: new package, add 1.8.0 Signed-off-by: Robert Greener --- dev-R/lubridate/Manifest | 1 + dev-R/lubridate/lubridate-1.8.0.ebuild | 34 ++++++++++++++++++++++++++ dev-R/lubridate/metadata.xml | 17 +++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-R/lubridate/Manifest create mode 100644 dev-R/lubridate/lubridate-1.8.0.ebuild create mode 100644 dev-R/lubridate/metadata.xml diff --git a/dev-R/lubridate/Manifest b/dev-R/lubridate/Manifest new file mode 100644 index 0000000000..1313358c0f --- /dev/null +++ b/dev-R/lubridate/Manifest @@ -0,0 +1 @@ +DIST lubridate_1.8.0.tar.gz 475704 BLAKE2B daab82b133a0f455f6bad3f910c36c067e64d02b2a3f4e1d16a541b2e66631cdb245b141fbf1094cd08bc5a49f8e235a1e59ed033809f914c1cc846f1935f212 SHA512 b873d27cd0381a0f30719657681b7f3da39246b3490179577e37d1d3b0376924d2689b96f0d3b42f7920646faba2259dbed73a0db3d485e005f88ee042c5d593 diff --git a/dev-R/lubridate/lubridate-1.8.0.ebuild b/dev-R/lubridate/lubridate-1.8.0.ebuild new file mode 100644 index 0000000000..ad1203c1a8 --- /dev/null +++ b/dev-R/lubridate/lubridate-1.8.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='Make Dealing with Dates a Little Easier' +KEYWORDS="~amd64" +LICENSE='GPL2+' +RESTRICT="!test? ( test )" +IUSE="test" +DEPEND=" + dev-R/generics + >=dev-R/cpp11-0.2.7 + sys-libs/timezone-data + test? ( + >=dev-R/testthat-2.1.0 + >=dev-R/vctrs-0.3.0 + ) +" + +SUGGESTED_PACKAGES=" + dev-R/covr + dev-R/knitr + >=dev-R/testthat-2.1.0 + >=dev-R/vctrs-0.3.0 + dev-R/rmarkdown +" + +src_test() { + cd "${WORKDIR}/${P}/tests" + R_LIBS="${T}/R" edo Rscript --vanilla testthat.R +} diff --git a/dev-R/lubridate/metadata.xml b/dev-R/lubridate/metadata.xml new file mode 100644 index 0000000000..1cebf48f27 --- /dev/null +++ b/dev-R/lubridate/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + Functions to work with date-times and time-spans: fast and user friendly parsing of date-time data, extraction and updating of components of a date-time (years, months, days, hours, minutes, and seconds), algebraic manipulation on date-time and time-span objects. The 'lubridate' package has a consistent and memorable syntax that makes working with dates easy and fun. Parts of the 'CCTZ' source code, released under the Apache 2.0 License, are included in this package. See for more details. + + + Vitalie Spinu + spinuvit@gmail.com + + https://github.com/tidyverse/lubridate/issues + tidyverse/lubridate + +