From 9fae6f34cdc2a542f7572bdffdf4c4be39640b5a Mon Sep 17 00:00:00 2001 From: Butui Hu Date: Tue, 10 May 2022 21:09:06 +0800 Subject: [PATCH] addpkg: r-report and its deps --- BioArchLinux/r-bayestestr/PKGBUILD | 62 ++++++++++++++ BioArchLinux/r-bayestestr/lilac.py | 12 +++ BioArchLinux/r-bayestestr/lilac.yaml | 10 +++ BioArchLinux/r-effectsize/PKGBUILD | 64 +++++++++++++++ BioArchLinux/r-effectsize/lilac.py | 12 +++ BioArchLinux/r-effectsize/lilac.yaml | 12 +++ BioArchLinux/r-parameters/PKGBUILD | 114 ++++++++++++++++++++++++++ BioArchLinux/r-parameters/lilac.py | 12 +++ BioArchLinux/r-parameters/lilac.yaml | 10 +++ BioArchLinux/r-performance/PKGBUILD | 80 ++++++++++++++++++ BioArchLinux/r-performance/lilac.py | 12 +++ BioArchLinux/r-performance/lilac.yaml | 11 +++ BioArchLinux/r-report/PKGBUILD | 46 +++++++++++ BioArchLinux/r-report/lilac.py | 12 +++ BioArchLinux/r-report/lilac.yaml | 14 ++++ 15 files changed, 483 insertions(+) create mode 100644 BioArchLinux/r-bayestestr/PKGBUILD create mode 100644 BioArchLinux/r-bayestestr/lilac.py create mode 100644 BioArchLinux/r-bayestestr/lilac.yaml create mode 100644 BioArchLinux/r-effectsize/PKGBUILD create mode 100644 BioArchLinux/r-effectsize/lilac.py create mode 100644 BioArchLinux/r-effectsize/lilac.yaml create mode 100644 BioArchLinux/r-parameters/PKGBUILD create mode 100644 BioArchLinux/r-parameters/lilac.py create mode 100644 BioArchLinux/r-parameters/lilac.yaml create mode 100644 BioArchLinux/r-performance/PKGBUILD create mode 100644 BioArchLinux/r-performance/lilac.py create mode 100644 BioArchLinux/r-performance/lilac.yaml create mode 100644 BioArchLinux/r-report/PKGBUILD create mode 100644 BioArchLinux/r-report/lilac.py create mode 100644 BioArchLinux/r-report/lilac.yaml diff --git a/BioArchLinux/r-bayestestr/PKGBUILD b/BioArchLinux/r-bayestestr/PKGBUILD new file mode 100644 index 0000000000..a524681a2d --- /dev/null +++ b/BioArchLinux/r-bayestestr/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Hu Butui + +_pkgname=bayestestR +_pkgver=0.12.1 +pkgname=r-${_pkgname,,} +pkgver=0.12.1 +pkgrel=1 +pkgdesc='Understand and Describe Bayesian Models and Posterior Distributions' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-datawizard + r-insight +) +optdepends=( + r-bayesfactor + r-bayesqr + r-blavaan + r-bridgesampling + r-brms + r-dplyr + r-effectsize + r-emmeans + r-ggally + r-ggplot2 + r-ggridges + r-httr + r-kernsmooth + r-knitr + r-lavaan + r-lme4 + r-logspline + r-mass + r-mclust + r-mediation + r-modelbased + r-parameters + r-performance + r-rmarkdown + r-rstan + r-rstanarm + r-see + r-spelling + r-stringr + r-testthat + r-tidyr + r-tweedie +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('3f80c00222028236255e57107136793ea8413ab4c8c0e39dcaf6ffc29eba73b9') + +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: diff --git a/BioArchLinux/r-bayestestr/lilac.py b/BioArchLinux/r-bayestestr/lilac.py new file mode 100644 index 0000000000..620556bc87 --- /dev/null +++ b/BioArchLinux/r-bayestestr/lilac.py @@ -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() diff --git a/BioArchLinux/r-bayestestr/lilac.yaml b/BioArchLinux/r-bayestestr/lilac.yaml new file mode 100644 index 0000000000..5a0d5c2fc4 --- /dev/null +++ b/BioArchLinux/r-bayestestr/lilac.yaml @@ -0,0 +1,10 @@ +build_prefix: extra-x86_64 +maintainers: + - github: hubutui +repo_depends: + - r-datawizard + - r-insight +update_on: + - regex: bayestestR_([\d._-]+).tar.gz + source: regex + url: https://cran.r-project.org/package=bayestestR diff --git a/BioArchLinux/r-effectsize/PKGBUILD b/BioArchLinux/r-effectsize/PKGBUILD new file mode 100644 index 0000000000..07d4d14b11 --- /dev/null +++ b/BioArchLinux/r-effectsize/PKGBUILD @@ -0,0 +1,64 @@ +# Maintainer: Hu Butui + +_pkgname=effectsize +_pkgver=0.6.0.1 +pkgname=r-${_pkgname,,} +pkgver=0.6.0.1 +pkgrel=1 +pkgdesc='Indices of Effect Size and Standardized Parameters' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-bayestestr + r-insight + r-parameters + r-performance +) +optdepends=( + r-afex + r-bayesfactor + r-boot + r-brms + r-car + r-correlation + r-covr + r-dplyr + r-emmeans + r-gamm4 + r-ggplot2 + r-knitr + r-lavaan + r-lm.beta + r-lme4 + r-lmertest + r-mass + r-mediation + r-mgcv + r-modelbased + r-mumin + r-performance + r-pscl + r-rmarkdown + r-rms + r-rstanarm + r-rstantools + r-see + r-spelling + r-testthat + r-tidymodels + r-tidyr +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('3fe234c167af3beac46e01dbc9434db4f54e3816dbfc66aa8d5b819d3d5c17e6') + +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: diff --git a/BioArchLinux/r-effectsize/lilac.py b/BioArchLinux/r-effectsize/lilac.py new file mode 100644 index 0000000000..620556bc87 --- /dev/null +++ b/BioArchLinux/r-effectsize/lilac.py @@ -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() diff --git a/BioArchLinux/r-effectsize/lilac.yaml b/BioArchLinux/r-effectsize/lilac.yaml new file mode 100644 index 0000000000..87cd991e63 --- /dev/null +++ b/BioArchLinux/r-effectsize/lilac.yaml @@ -0,0 +1,12 @@ +build_prefix: extra-x86_64 +maintainers: + - github: hubutui +repo_depends: + - r-bayestestr + - r-insight + - r-parameters + - r-performance +update_on: + - regex: effectsize_([\d._-]+).tar.gz + source: regex + url: https://cran.r-project.org/package=effectsize diff --git a/BioArchLinux/r-parameters/PKGBUILD b/BioArchLinux/r-parameters/PKGBUILD new file mode 100644 index 0000000000..f9875c26d4 --- /dev/null +++ b/BioArchLinux/r-parameters/PKGBUILD @@ -0,0 +1,114 @@ +# Maintainer: Hu Butui + +_pkgname=parameters +_pkgver=0.17.0 +pkgname=r-${_pkgname,,} +pkgver=0.17.0 +pkgrel=1 +pkgdesc='Processing of Model Parameters' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-bayestestr + r-insight +) +optdepends=( + r-aer + r-afex + r-aod + r-bayesfactor + r-bayesfm + r-bbmle + r-betareg + r-blme + r-boot + r-brglm2 + r-brms + r-broom + r-caic4 + r-car + r-cgam + r-clubsandwich + r-cluster + r-cplm + r-dplyr + r-drr + r-effectsize + r-eganet + r-emmeans + r-factominer + r-fastica + r-gam + r-gamlss + r-gee + r-geepack + r-ggplot2 + r-glmmadaptive + r-glmmtmb + r-gparotation + r-gt + r-knitr + r-lavaan + r-lavasearch2 + r-lm.beta + r-lme4 + r-lmertest + r-logspline + r-lqmm + r-m3c + r-magrittr + r-mass + r-matrix + r-mclust + r-mcmcglmm + r-mediation + r-metabma + r-metafor + r-mfx + r-mgcv + r-mice + r-multcomp + r-multimode + r-mumin + r-nbclust + r-nfactors + r-nlme + r-panelr + r-pbkrtest + r-performance + r-plm + r-pmcmrplus + r-projpred + r-pscl + r-psych + r-quantreg + r-randomforest + r-rmarkdown + r-rstanarm + r-sandwich + r-see + r-sjstats + r-spelling + r-survey + r-survival + r-testthat + r-tmb + r-tripack + r-truncreg + r-vgam + r-wrs2 +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('e94089accb80951dceff94d9d28fb381647369d6963cf8582044980cf3d03073') + +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: diff --git a/BioArchLinux/r-parameters/lilac.py b/BioArchLinux/r-parameters/lilac.py new file mode 100644 index 0000000000..620556bc87 --- /dev/null +++ b/BioArchLinux/r-parameters/lilac.py @@ -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() diff --git a/BioArchLinux/r-parameters/lilac.yaml b/BioArchLinux/r-parameters/lilac.yaml new file mode 100644 index 0000000000..97929772e8 --- /dev/null +++ b/BioArchLinux/r-parameters/lilac.yaml @@ -0,0 +1,10 @@ +build_prefix: extra-x86_64 +maintainers: + - github: hubutui +repo_depends: + - r-bayestestr + - r-insight +update_on: + - regex: parameters_([\d._-]+).tar.gz + source: regex + url: https://cran.r-project.org/package=parameters diff --git a/BioArchLinux/r-performance/PKGBUILD b/BioArchLinux/r-performance/PKGBUILD new file mode 100644 index 0000000000..02470f75d4 --- /dev/null +++ b/BioArchLinux/r-performance/PKGBUILD @@ -0,0 +1,80 @@ +# Maintainer: Hu Butui + +_pkgname=performance +_pkgver=0.9.0 +pkgname=r-${_pkgname,,} +pkgver=0.9.0 +pkgrel=1 +pkgdesc='Assessment of Regression Models Performance' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-bayestestr + r-datawizard + r-insight +) +optdepends=( + r-aer + r-afex + r-bayesfactor + r-betareg + r-bigutilsr + r-brms + r-car + r-compquadform + r-correlation + r-cplm + r-dbscan + r-fixest + r-forecast + r-gamm4 + r-ggplot2 + r-glmmtmb + r-gridextra + r-ics + r-icsoutlier + r-islr + r-lavaan + r-lme4 + r-lmtest + r-loo + r-magrittr + r-mass + r-matrix + r-metafor + r-mgcv + r-mlogit + r-nlme + r-nonnest2 + r-ordinal + r-parallel + r-parameters + r-pscl + r-psych + r-randomforest + r-rmarkdown + r-rstanarm + r-rstantools + r-sandwich + r-see + r-spelling + r-survey + r-survival + r-testthat + r-tweedie + r-vgam +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('9c67168e06900def7acf55249ec40f3f93444714aa666c241ddf6c794324d9fe') + +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: diff --git a/BioArchLinux/r-performance/lilac.py b/BioArchLinux/r-performance/lilac.py new file mode 100644 index 0000000000..620556bc87 --- /dev/null +++ b/BioArchLinux/r-performance/lilac.py @@ -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() diff --git a/BioArchLinux/r-performance/lilac.yaml b/BioArchLinux/r-performance/lilac.yaml new file mode 100644 index 0000000000..de8c03e742 --- /dev/null +++ b/BioArchLinux/r-performance/lilac.yaml @@ -0,0 +1,11 @@ +build_prefix: extra-x86_64 +maintainers: + - github: hubutui +repo_depends: + - r-bayestestr + - r-datawizard + - r-insight +update_on: + - regex: performance_([\d._-]+).tar.gz + source: regex + url: https://cran.r-project.org/package=performance diff --git a/BioArchLinux/r-report/PKGBUILD b/BioArchLinux/r-report/PKGBUILD new file mode 100644 index 0000000000..8a97b47a61 --- /dev/null +++ b/BioArchLinux/r-report/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Hu Butui + +_pkgname=report +_pkgver=0.5.0 +pkgname=r-${_pkgname,,} +pkgver=0.5.0 +pkgrel=1 +pkgdesc='Automated Reporting of Results and Statistical Models' +arch=('any') +url="https://github.com/easystats/report" +license=('GPL') +depends=( + r + r-bayestestr + r-datawizard + r-effectsize + r-insight + r-parameters + r-performance +) +optdepends=( + r-bayesfactor + r-brms + r-dplyr + r-httr + r-knitr + r-lavaan + r-lme4 + r-logspline + r-rmarkdown + r-rstanarm + r-spelling + r-testthat +) +source=("${_pkgname}_${pkgver}.tar.gz::https://github.com/easystats/report/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('c661f4682cfa03936052fea733043f255b31d653ce3280006adffbc9f48b05fd') + +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: diff --git a/BioArchLinux/r-report/lilac.py b/BioArchLinux/r-report/lilac.py new file mode 100644 index 0000000000..620556bc87 --- /dev/null +++ b/BioArchLinux/r-report/lilac.py @@ -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() diff --git a/BioArchLinux/r-report/lilac.yaml b/BioArchLinux/r-report/lilac.yaml new file mode 100644 index 0000000000..40183158d5 --- /dev/null +++ b/BioArchLinux/r-report/lilac.yaml @@ -0,0 +1,14 @@ +build_prefix: extra-x86_64 +maintainers: + - github: hubutui +repo_depends: + - r-bayestestr + - r-datawizard + - r-effectsize + - r-insight + - r-parameters + - r-performance +update_on: + - source: github + github: easystats/report + use_max_tag: true