r-parsnip: fix optdepends

This commit is contained in:
Pekka Ristola 2024-03-23 12:20:04 +02:00
parent 0a48514986
commit 053ec85fcd
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
2 changed files with 7 additions and 4 deletions

View file

@ -1,10 +1,10 @@
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> # Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=parsnip _pkgname=parsnip
_pkgver=1.2.0 _pkgver=1.2.1
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=0
pkgdesc="A Common API to Modeling and Analysis Functions" pkgdesc="A Common API to Modeling and Analysis Functions"
arch=(any) arch=(any)
url="https://cran.r-project.org/package=$_pkgname" url="https://cran.r-project.org/package=$_pkgname"
@ -30,6 +30,7 @@ depends=(
) )
checkdepends=( checkdepends=(
python-tensorflow python-tensorflow
r-bench
r-c50 r-c50
r-dials r-dials
r-earth r-earth
@ -46,6 +47,7 @@ checkdepends=(
r-xgboost r-xgboost
) )
optdepends=( optdepends=(
r-bench
r-c50 r-c50
r-covr r-covr
r-dials r-dials
@ -67,8 +69,8 @@ optdepends=(
r-xgboost r-xgboost
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('5511bd877b251ff068613fd7e47d387c') md5sums=('8963904d37b6296869d29d0a8c22e61a')
b2sums=('2824147e2f4c46329ab4575f9a4493cc68d141ec031271799e5874a5b4e4148842db38d638b567ed4091e1f9fbe05e371a828c00f2fb603c6d6506c8d07c4181') b2sums=('b4456b926bbcb92b68a442c155e954d585c7695dd2e65b6ee2c2351ddb4e4e63b2896ec223c8b20ae62903a90778f16a28b97e7437820fdb37b5efa0c9f6643d')
build() { build() {
mkdir build mkdir build

View file

@ -21,6 +21,7 @@ repo_depends:
- r-vctrs - r-vctrs
- r-withr - r-withr
repo_makedepends: repo_makedepends:
- r-bench
- r-c50 - r-c50
- r-dials - r-dials
- r-earth - r-earth