mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-R/webfakes: release -r1 and fix failing tests
The tests fail when there is no running x server, disable the non-CRAN tests. Closes: https://bugs.gentoo.org/856343 Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
42
dev-R/webfakes/webfakes-1.1.3-r1.ebuild
Normal file
42
dev-R/webfakes/webfakes-1.1.3-r1.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages edo
|
||||
|
||||
DESCRIPTION='Fake Web Apps for HTTP Testing'
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='MIT'
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-R/callr
|
||||
dev-R/curl
|
||||
dev-R/glue
|
||||
dev-R/jsonlite
|
||||
dev-R/httr
|
||||
dev-R/httpuv
|
||||
>=dev-R/testthat-3.0.0
|
||||
dev-R/withr
|
||||
)
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/callr
|
||||
dev-R/curl
|
||||
dev-R/glue
|
||||
dev-R/jsonlite
|
||||
dev-R/httr
|
||||
dev-R/httpuv
|
||||
>=dev-R/testthat-3.0.0
|
||||
dev-R/withr
|
||||
dev-R/xml2
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests" || die
|
||||
R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
||||
}
|
||||
Reference in New Issue
Block a user