mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add deps for jaspBsts
This commit is contained in:
parent
7848c0d9b6
commit
3f22f23a40
9 changed files with 160 additions and 0 deletions
30
BioArchLinux/r-boom/PKGBUILD
Normal file
30
BioArchLinux/r-boom/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# system requirements: GNU Make, C++11
|
||||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=Boom
|
||||
_pkgver=0.9.10
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Bayesian Object Oriented Modeling'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('LGPL')
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
optdepends=(
|
||||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('403c1df9e3adbdf79b393c04cccfe99e6fbda352cce340eb5e2e65bcc61fa1f0')
|
||||
|
||||
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-boom/lilac.py
Normal file
12
BioArchLinux/r-boom/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()
|
7
BioArchLinux/r-boom/lilac.yaml
Normal file
7
BioArchLinux/r-boom/lilac.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
update_on:
|
||||
- regex: Boom_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=Boom
|
33
BioArchLinux/r-boomspikeslab/PKGBUILD
Normal file
33
BioArchLinux/r-boomspikeslab/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=BoomSpikeSlab
|
||||
_pkgver=1.2.5
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='MCMC for Spike and Slab Regression'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('LGPL')
|
||||
depends=(
|
||||
r
|
||||
r-boom
|
||||
)
|
||||
optdepends=(
|
||||
r-igraph
|
||||
r-mass
|
||||
r-mlbench
|
||||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('bc88ad95075b91799476e9e56281e4bf421106601acdbee5de783c9048b22bf8')
|
||||
|
||||
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-boomspikeslab/lilac.py
Normal file
12
BioArchLinux/r-boomspikeslab/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()
|
9
BioArchLinux/r-boomspikeslab/lilac.yaml
Normal file
9
BioArchLinux/r-boomspikeslab/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-boom
|
||||
update_on:
|
||||
- regex: BoomSpikeSlab_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=BoomSpikeSlab
|
33
BioArchLinux/r-bsts/PKGBUILD
Normal file
33
BioArchLinux/r-bsts/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=bsts
|
||||
_pkgver=0.9.8
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Bayesian Structural Time Series'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('LGPL')
|
||||
depends=(
|
||||
r
|
||||
r-boom
|
||||
r-boomspikeslab
|
||||
r-xts
|
||||
r-zoo
|
||||
)
|
||||
optdepends=(
|
||||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('8c8ef3cd2bdb6d23fe72c74971ceb88847d215091bdc76fae3765f9b99430090')
|
||||
|
||||
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-bsts/lilac.py
Normal file
12
BioArchLinux/r-bsts/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-bsts/lilac.yaml
Normal file
12
BioArchLinux/r-bsts/lilac.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-boom
|
||||
- r-boomspikeslab
|
||||
- r-xts
|
||||
- r-zoo
|
||||
update_on:
|
||||
- regex: bsts_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=bsts
|
Loading…
Add table
Reference in a new issue