add dpends and fix ridge

This commit is contained in:
Kuoi 2022-05-11 00:17:18 +01:00
parent dc5583c131
commit 649a495d45
10 changed files with 197 additions and 0 deletions

View file

@ -0,0 +1,43 @@
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=bbotk
_pkgver=0.5.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Black-Box Optimization Toolkit'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('LGPL')
depends=(
r
r-checkmate
r-data.table
r-lgr
r-mlr3misc
r-paradox
r-r6
)
optdepends=(
r-adagio
r-emoa
r-gensa
r-irace
r-knitr
r-nloptr
r-progressr
r-rmarkdown
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('a')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,15 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
repo_depends:
- r-checkmate
- r-data.table
- r-lgr
- r-mlr3misc
- r-paradox
- r-r6
update_on:
- regex: bbotk_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=bbotk

View file

@ -0,0 +1,39 @@
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=configr
_pkgver=0.3.5
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='An Implementation of Parsing and Writing Configuration File (JSON/INI/YAML/TOML)'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('MIT')
depends=(
r
r-glue
r-ini
r-jsonlite
r-rcpptoml
r-stringr
r-yaml
)
optdepends=(
r-knitr
r-prettydoc
r-rmarkdown
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('a')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,15 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
repo_depends:
- r-glue
- r-ini
- r-jsonlite
- r-rcpptoml
- r-stringr
- r-yaml
update_on:
- regex: configr_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=configr

View file

@ -0,0 +1,36 @@
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=gggenes
_pkgver=0.4.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Draw Gene Arrow Maps in 'ggplot2'"
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-ggfittext
r-ggplot2
r-rlang
)
optdepends=(
r-knitr
r-rmarkdown
r-spelling
r-testthat
r-vdiffr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('a')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
repo_depends:
- r-ggfittext
- r-ggplot2
- r-rlang
update_on:
- regex: gggenes_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=gggenes

View file

@ -12,6 +12,7 @@ url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
gsl
)
optdepends=(
r-covr