mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-R/htmltools: release -r1 and fix failing tests
The tests fail as there needs to be a running X server. I've removed these tests. Closes: https://bugs.gentoo.org/856355 Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
39
dev-R/htmltools/htmltools-0.5.2-r1.ebuild
Normal file
39
dev-R/htmltools/htmltools-0.5.2-r1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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 HTML'
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='GPL-2+'
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-R/digest
|
||||
dev-R/base64enc
|
||||
>=dev-R/rlang-0.4.10
|
||||
dev-R/fastmap
|
||||
test? (
|
||||
dev-R/markdown
|
||||
dev-R/withr
|
||||
dev-R/testthat
|
||||
)
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/markdown
|
||||
dev-R/testthat
|
||||
dev-R/withr
|
||||
dev-R/Cairo
|
||||
dev-R/ragg
|
||||
dev-R/shiny
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests" || die
|
||||
rm "testthat/test-images.R" || die
|
||||
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla test-all.R
|
||||
}
|
||||
Reference in New Issue
Block a user