mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add dpends and fix ridge
This commit is contained in:
parent
dc5583c131
commit
649a495d45
10 changed files with 197 additions and 0 deletions
43
BioArchLinux/r-bbotk/PKGBUILD
Normal file
43
BioArchLinux/r-bbotk/PKGBUILD
Normal 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:
|
12
BioArchLinux/r-bbotk/lilac.py
Normal file
12
BioArchLinux/r-bbotk/lilac.py
Normal 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()
|
15
BioArchLinux/r-bbotk/lilac.yaml
Normal file
15
BioArchLinux/r-bbotk/lilac.yaml
Normal 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
|
39
BioArchLinux/r-configr/PKGBUILD
Normal file
39
BioArchLinux/r-configr/PKGBUILD
Normal 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:
|
12
BioArchLinux/r-configr/lilac.py
Normal file
12
BioArchLinux/r-configr/lilac.py
Normal 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()
|
15
BioArchLinux/r-configr/lilac.yaml
Normal file
15
BioArchLinux/r-configr/lilac.yaml
Normal 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
|
36
BioArchLinux/r-gggenes/PKGBUILD
Normal file
36
BioArchLinux/r-gggenes/PKGBUILD
Normal 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:
|
12
BioArchLinux/r-gggenes/lilac.py
Normal file
12
BioArchLinux/r-gggenes/lilac.py
Normal 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()
|
12
BioArchLinux/r-gggenes/lilac.yaml
Normal file
12
BioArchLinux/r-gggenes/lilac.yaml
Normal 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
|
|
@ -12,6 +12,7 @@ url="https://cran.r-project.org/package=${_pkgname}"
|
|||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
gsl
|
||||
)
|
||||
optdepends=(
|
||||
r-covr
|
||||
|
|
Loading…
Add table
Reference in a new issue