dev-R/clipr: new package, add 0.8.0

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 22:11:49 +01:00
parent fd640ded60
commit 4b03727e22
3 changed files with 50 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST clipr_0.8.0.tar.gz 21898 BLAKE2B 6b489ff1b8353942a327a550eaf9f1f693d74809515990b4e9dc666d7829532d89f368aeb081413dfb7a1e4aeedbb247c570f3187310078ea8bbf264d9b0bb2d SHA512 e3fad72072bd4d380cb69133d359a8f3b48aae3fc3eed78fd53fb23d35bdf4e2e4e43afecca4fb8870695c84198c065c0da216e68dd1ac17152c70ee8e698c85

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Read and Write from the System Clipboard'
KEYWORDS="~amd64"
LICENSE='GPL-3'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
|| ( x11-misc/xclip x11-misc/xsel gui-apps/wl-clipboard )
test? (
>=dev-R/testthat-2.0.0
)
"
SUGGESTED_PACKAGES="
dev-R/covr
dev-R/knitr
dev-R/rmarkdown
>=dev-R/rstudioapi-0.5
>=dev-R/testthat-2.0.0
"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}

17
dev-R/clipr/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">Simple utility functions to read from and write to the Windows, OS X, and X11 clipboards.</longdescription>
<upstream>
<maintainer>
<name>Matthew Lincoln</name>
<email>matthew.d.lincoln@gmail.com</email>
</maintainer>
<bugs-to>https://github.com/mdlincoln/clipr/issues</bugs-to>
<remote-id type="github">mdlincoln/clipr</remote-id>
</upstream>
</pkgmetadata>