mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fix the r-sponge depends
This commit is contained in:
parent
1e1944c285
commit
97fb0ed3e5
14 changed files with 301 additions and 1 deletions
60
BioArchLinux/r-cvms/PKGBUILD
Normal file
60
BioArchLinux/r-cvms/PKGBUILD
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=cvms
|
||||
_pkgver=1.3.3
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Cross-Validation for Model Selection'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
r
|
||||
r-checkmate
|
||||
r-data.table
|
||||
r-dplyr
|
||||
r-ggplot2
|
||||
r-lifecycle
|
||||
r-lme4
|
||||
r-mumin
|
||||
r-parameters
|
||||
r-plyr
|
||||
r-proc
|
||||
r-purrr
|
||||
r-rearrr
|
||||
r-recipes
|
||||
r-rlang
|
||||
r-stringr
|
||||
r-tibble
|
||||
r-tidyr
|
||||
)
|
||||
optdepends=(
|
||||
r-auc
|
||||
r-covr
|
||||
r-e1071
|
||||
r-furrr
|
||||
r-ggimage
|
||||
r-ggnewscale
|
||||
r-groupdata2
|
||||
r-knitr
|
||||
r-nnet
|
||||
r-randomforest
|
||||
r-rmarkdown
|
||||
r-rsvg
|
||||
r-testthat
|
||||
r-xpectr
|
||||
)
|
||||
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-cvms/lilac.py
Normal file
12
BioArchLinux/r-cvms/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()
|
26
BioArchLinux/r-cvms/lilac.yaml
Normal file
26
BioArchLinux/r-cvms/lilac.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
repo_depends:
|
||||
- r-checkmate
|
||||
- r-data.table
|
||||
- r-dplyr
|
||||
- r-ggplot2
|
||||
- r-lifecycle
|
||||
- r-lme4
|
||||
- r-mumin
|
||||
- r-parameters
|
||||
- r-plyr
|
||||
- r-proc
|
||||
- r-purrr
|
||||
- r-rearrr
|
||||
- r-recipes
|
||||
- r-rlang
|
||||
- r-stringr
|
||||
- r-tibble
|
||||
- r-tidyr
|
||||
update_on:
|
||||
- regex: cvms_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=cvms
|
27
BioArchLinux/r-metbrewer/PKGBUILD
Normal file
27
BioArchLinux/r-metbrewer/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=MetBrewer
|
||||
_pkgver=0.2.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Color Palettes Inspired by Works at the Metropolitan Museum of Art'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('CC0')
|
||||
depends=(
|
||||
r
|
||||
r-ggplot2
|
||||
)
|
||||
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-metbrewer/lilac.py
Normal file
12
BioArchLinux/r-metbrewer/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()
|
10
BioArchLinux/r-metbrewer/lilac.yaml
Normal file
10
BioArchLinux/r-metbrewer/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
repo_depends:
|
||||
- r-ggplot2
|
||||
update_on:
|
||||
- regex: MetBrewer_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=MetBrewer
|
44
BioArchLinux/r-rearrr/PKGBUILD
Normal file
44
BioArchLinux/r-rearrr/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=rearrr
|
||||
_pkgver=0.3.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Rearranging Data'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
r
|
||||
r-checkmate
|
||||
r-dplyr
|
||||
r-lifecycle
|
||||
r-plyr
|
||||
r-purrr
|
||||
r-r6
|
||||
r-rlang
|
||||
r-tibble
|
||||
)
|
||||
optdepends=(
|
||||
r-covr
|
||||
r-ggplot2
|
||||
r-knitr
|
||||
r-plotly
|
||||
r-testthat
|
||||
r-tidyr
|
||||
r-xpectr
|
||||
)
|
||||
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-rearrr/lilac.py
Normal file
12
BioArchLinux/r-rearrr/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()
|
17
BioArchLinux/r-rearrr/lilac.yaml
Normal file
17
BioArchLinux/r-rearrr/lilac.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
repo_depends:
|
||||
- r-checkmate
|
||||
- r-dplyr
|
||||
- r-lifecycle
|
||||
- r-plyr
|
||||
- r-purrr
|
||||
- r-r6
|
||||
- r-rlang
|
||||
- r-tibble
|
||||
update_on:
|
||||
- regex: rearrr_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=rearrr
|
|
@ -22,12 +22,27 @@ depends=(
|
|||
r-iterators
|
||||
r-logging
|
||||
r-ppcor
|
||||
r-tidyverse
|
||||
r-caret
|
||||
r-dplyr
|
||||
r-biomart
|
||||
r-randomforest
|
||||
r-ggridges
|
||||
r-cvms
|
||||
r-mirbaseconverter
|
||||
r-complexheatmap
|
||||
r-ggplot2
|
||||
r-metbrewer
|
||||
r-rlang
|
||||
r-tnet
|
||||
r-ggpubr
|
||||
r-stringr
|
||||
r-tidyr
|
||||
)
|
||||
optdepends=(
|
||||
r-bigmemory
|
||||
r-digest
|
||||
r-doparallel
|
||||
r-ggplot2
|
||||
r-ggrepel
|
||||
r-gridextra
|
||||
r-knitr
|
||||
|
|
|
@ -14,6 +14,22 @@ repo_depends:
|
|||
- r-iterators
|
||||
- r-logging
|
||||
- r-ppcor
|
||||
- r-tidyverse
|
||||
- r-caret
|
||||
- r-dplyr
|
||||
- r-biomart
|
||||
- r-randomforest
|
||||
- r-ggridges
|
||||
- r-cvms
|
||||
- r-mirbaseconverter
|
||||
- r-complexheatmap
|
||||
- r-ggplot2
|
||||
- r-metbrewer
|
||||
- r-rlang
|
||||
- r-tnet
|
||||
- r-ggpubr
|
||||
- r-stringr
|
||||
- r-tidyr
|
||||
update_on:
|
||||
- regex: SPONGE_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
|
|
27
BioArchLinux/r-tnet/PKGBUILD
Normal file
27
BioArchLinux/r-tnet/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=tnet
|
||||
_pkgver=3.0.16
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Weighted, Two-Mode, and Longitudinal Networks Analysis'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
r-igraph
|
||||
)
|
||||
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-tnet/lilac.py
Normal file
12
BioArchLinux/r-tnet/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()
|
10
BioArchLinux/r-tnet/lilac.yaml
Normal file
10
BioArchLinux/r-tnet/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
repo_depends:
|
||||
- r-igraph
|
||||
update_on:
|
||||
- regex: tnet_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=tnet
|
Loading…
Add table
Reference in a new issue