mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-R/selectr: new package, add 0.4.2
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
36
dev-R/selectr/selectr-0.4.2.ebuild
Normal file
36
dev-R/selectr/selectr-0.4.2.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages edo
|
||||
|
||||
DESCRIPTION='Translate CSS Selectors to XPath Expressions'
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='BSD'
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
CRAN_PV="0.4-2"
|
||||
|
||||
DEPEND="
|
||||
dev-R/stringr
|
||||
dev-R/R6
|
||||
test? (
|
||||
dev-R/testthat
|
||||
dev-R/XML
|
||||
dev-R/xml2
|
||||
)
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/testthat
|
||||
dev-R/XML
|
||||
dev-R/xml2
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests"
|
||||
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla test-all.R
|
||||
}
|
||||
|
||||
SRC_URI="mirror://cran/src/contrib/${PN}_${CRAN_PV}.tar.gz"
|
||||
Reference in New Issue
Block a user