dev-R/tzdb: new package, add 0.3.0

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-03 10:53:15 +01:00
parent c6a01080d0
commit 24a8cae926
3 changed files with 47 additions and 0 deletions

View File

@@ -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="Time Zone Database Information"
KEYWORDS="~amd64"
LICENSE='MIT'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
>=dev-R/cpp11-0.4.2
test? (
>=dev-R/testthat-3.0.0
)
"
SUGGESTED_PACKAGES="
dev-R/covr
>=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
}