fix the r-sponge depends

This commit is contained in:
Kuoi 2022-05-10 22:36:25 +01:00
parent 1e1944c285
commit 97fb0ed3e5
14 changed files with 301 additions and 1 deletions

View 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:

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,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

View 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:

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,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

View 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:

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,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

View file

@ -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

View file

@ -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

View 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:

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,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