r-jfa: fix tests

This commit is contained in:
Pekka Ristola 2024-04-29 18:16:05 +03:00
parent c7800ac0b1
commit b58ea18418
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E

View file

@ -47,9 +47,17 @@ optdepends=(
r-samplingbook
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('2d99aa11cb75b26c85f0fde696ee2fcc')
b2sums=('44d5b877d4a37394870fc6ab62ae755a87e9221a2c32ac55d7d96dc48c99c186dca94c0cf7606f4c94ddd69cf8097bae788cd3590806ff45c91e2ae2718cbd27')
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"$_pkgname-fix-tests.patch::https://github.com/koenderks/jfa/commit/6f515a5adc01ab7534a4f2b24005f5d71ea36c2b.patch")
md5sums=('2d99aa11cb75b26c85f0fde696ee2fcc'
'854be57f42f4583c46f1c0960ee92970')
b2sums=('44d5b877d4a37394870fc6ab62ae755a87e9221a2c32ac55d7d96dc48c99c186dca94c0cf7606f4c94ddd69cf8097bae788cd3590806ff45c91e2ae2718cbd27'
'44b992f5937df02da5ea92ae5573922a286e20364d1d3a2729bfe0876ce70853aca8d69fef234f1c7405c5b891541363289792599a308c4471513d58af8d42d8')
prepare() {
# fix tests
patch -Np1 -d "$_pkgname" < "$_pkgname-fix-tests.patch"
}
build() {
mkdir build