mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
29 lines
480 B
Bash
29 lines
480 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit R-packages edo
|
|
|
|
DESCRIPTION="Obtain 'jQuery' as an HTML Dependency Object"
|
|
KEYWORDS="~amd64"
|
|
LICENSE='MIT'
|
|
RESTRICT="!test? ( test )"
|
|
IUSE="test"
|
|
|
|
DEPEND="
|
|
dev-R/htmltools
|
|
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
|
|
}
|