dev-R/cachem: new package, add 1.0.6

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 11:10:57 +01:00
parent 0a23e5c726
commit e39969a710
3 changed files with 44 additions and 0 deletions

1
dev-R/cachem/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST cachem_1.0.6.tar.gz 25413 BLAKE2B f904bc756f1228d8abffa013d79d03376be8aa9fa6a3981141a80a2bee68069f91f6e4f3d6dcda50b3a4e82eeee4b730b6407714bfde850be5d625122bb1d63e SHA512 79736de4d40119c13dbddd33ddc589da37ddb7a95d611e24b8a3246209b4ebd396590eab645712ea308df744324bcc1d173d06f3567797983cd066618c7fd976

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Cache R Objects with Automatic Pruning'
KEYWORDS="~amd64"
LICENSE='MIT'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/rlang
dev-R/fastmap
test? ( dev-R/testthat )
"
SUGGESTED_PACKAGES="
dev-R/testthat
"
src_test() {
cd "${WORKDIR}/${P}/tests"
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}

17
dev-R/cachem/metadata.xml Normal file
View File

@@ -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>me@r0bert.dev</email>
<name>Robert Greener</name>
</maintainer>
<longdescription lang="en">Key-value stores with automatic pruning. Caches can limit either their total size or the age of the oldest object (or both), automatically pruning objects to maintain the constraints.</longdescription>
<upstream>
<maintainer>
<name>Winston Chang</name>
<email>winston@rstudio.com</email>
</maintainer>
<bugs-to>https://github.com/r-lib/cachem/issues</bugs-to>
<remote-id type="github">r-lib/cachem</remote-id>
</upstream>
</pkgmetadata>