mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-R/sourcetools: new package, add 0.1.7
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
1
dev-R/sourcetools/Manifest
Normal file
1
dev-R/sourcetools/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST sourcetools_0.1.7.tar.gz 24155 BLAKE2B f52a5012623a555d0ca1abc2296efb2704521d495a436df0eaf40434e8254e6e1406c570c63eca79fddc426713b7932524ffd1ffe13d257d7cf2e800cea830fb SHA512 8446aec2a22046044a886c16b752f1846ba8e24b07fbce23678ca324536b6cc19acb795eb381491712c2bd913f891518911b48f37c0a4bd47aad12e57f6eb31d
|
||||||
17
dev-R/sourcetools/metadata.xml
Normal file
17
dev-R/sourcetools/metadata.xml
Normal 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">Tools for the reading and tokenization of R code. The 'sourcetools' package provides both an R and C++ interface for the tokenization of R code, and helpers for interacting with the tokenized representation of R code.</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<maintainer>
|
||||||
|
<name>Kevin Ushey</name>
|
||||||
|
<email>kevinushey@gmail.com</email>
|
||||||
|
</maintainer>
|
||||||
|
<bugs-to>https://github.com/kevinushey/sourcetools/issues</bugs-to>
|
||||||
|
<remote-id type="github">kevinushey/sourcetools</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
27
dev-R/sourcetools/sourcetools-0.1.7.ebuild
Normal file
27
dev-R/sourcetools/sourcetools-0.1.7.ebuild
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit R-packages edo
|
||||||
|
|
||||||
|
DESCRIPTION='Tools for Reading, Tokenizing and Parsing R Code'
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
LICENSE='MIT'
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
dev-R/testthat
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
SUGGESTED_PACKAGES="
|
||||||
|
dev-R/testthat
|
||||||
|
"
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
cd "${WORKDIR}/${P}/tests" || die
|
||||||
|
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user