mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add r-jaspbase
This commit is contained in:
parent
5f886ef5a5
commit
7848c0d9b6
12 changed files with 311 additions and 0 deletions
55
BioArchLinux/r-jaspbase/PKGBUILD
Normal file
55
BioArchLinux/r-jaspbase/PKGBUILD
Normal file
|
@ -0,0 +1,55 @@
|
|||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||
_pkgname=jaspBase
|
||||
_pkgver=0.15
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Package contains the JASP Bayesian and Frequentist analyses."
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(r
|
||||
'r-ggplot2'
|
||||
'r-gridextra'
|
||||
'r-gridgraphics'
|
||||
'r-jsonlite'
|
||||
'r-modules'
|
||||
'r-officer'
|
||||
'r-pkgbuild'
|
||||
'r-plyr'
|
||||
'r-qgraph'
|
||||
'r-ragg'
|
||||
'r-r6'
|
||||
'r-renv'
|
||||
'r-rjson'
|
||||
'r-rvg'
|
||||
'r-svglite'
|
||||
'r-systemfonts'
|
||||
'r-withr'
|
||||
'r-testthat'
|
||||
'r-data.table'
|
||||
'r-httr'
|
||||
'r-lifecycle'
|
||||
'r-pkgload'
|
||||
'r-remotes'
|
||||
'r-stringi'
|
||||
'r-stringr'
|
||||
'r-vdiffr'
|
||||
)
|
||||
groups=(r-jasp r-jaspbase)
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
build() {
|
||||
mkdir -p ${srcdir}/usr/lib/R/library
|
||||
R -e "install.packages('${srcdir}/${_pkgname}',\
|
||||
type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
|
||||
}
|
12
BioArchLinux/r-jaspbase/lilac.py
Normal file
12
BioArchLinux/r-jaspbase/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()
|
37
BioArchLinux/r-jaspbase/lilac.yaml
Normal file
37
BioArchLinux/r-jaspbase/lilac.yaml
Normal file
|
@ -0,0 +1,37 @@
|
|||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
build_prefix: extra-x86_64
|
||||
repo_depends:
|
||||
- "r-ggplot2"
|
||||
- "r-gridextra"
|
||||
- "r-gridgraphics"
|
||||
- "r-jsonlite"
|
||||
- "r-modules"
|
||||
- "r-officer"
|
||||
- "r-pkgbuild"
|
||||
- "r-plyr"
|
||||
- "r-qgraph"
|
||||
- "r-ragg"
|
||||
- "r-r6"
|
||||
- "r-renv"
|
||||
- "r-rjson"
|
||||
- "r-rvg"
|
||||
- "r-svglite"
|
||||
- "r-systemfonts"
|
||||
- "r-withr"
|
||||
- "r-testthat"
|
||||
- "r-data.table"
|
||||
- "r-httr"
|
||||
- "r-lifecycle"
|
||||
- "r-pkgload"
|
||||
- "r-remotes"
|
||||
- "r-stringi"
|
||||
- "r-stringr"
|
||||
- "r-vdiffr"
|
||||
pre_build: vcs_update
|
||||
post_build: git_pkgbuild_commit
|
||||
update_on:
|
||||
- regex: 'Version:\s*([\d._-]+)'
|
||||
source: regex
|
||||
url: https://raw.githubusercontent.com/jasp-stats/jaspBase/master/DESCRIPTION
|
37
BioArchLinux/r-jaspgraphs/PKGBUILD
Normal file
37
BioArchLinux/r-jaspgraphs/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||
_pkgname=jaspGraphs
|
||||
_pkgver=0.5.2.13
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Custom Graphs for JASP"
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(r
|
||||
'r-jsonlite'
|
||||
'r-lifecycle'
|
||||
'r-ggplot2'
|
||||
'r-gridextra'
|
||||
'r-rlang'
|
||||
'r-scales'
|
||||
'r-viridislite'
|
||||
'r-rcolorbrewer'
|
||||
)
|
||||
groups=(r-jasp r-jaspbase)
|
||||
makedepends=()
|
||||
optdepends=('r-testthat')
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
build() {
|
||||
mkdir -p ${srcdir}/usr/lib/R/library
|
||||
R -e "install.packages('${srcdir}/${_pkgname}',\
|
||||
type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
|
||||
}
|
12
BioArchLinux/r-jaspgraphs/lilac.py
Normal file
12
BioArchLinux/r-jaspgraphs/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()
|
19
BioArchLinux/r-jaspgraphs/lilac.yaml
Normal file
19
BioArchLinux/r-jaspgraphs/lilac.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
build_prefix: extra-x86_64
|
||||
repo_depends:
|
||||
- "r-jsonlite"
|
||||
- "r-lifecycle"
|
||||
- "r-ggplot2"
|
||||
- "r-gridextra"
|
||||
- "r-rlang"
|
||||
- "r-scales"
|
||||
- "r-viridislite"
|
||||
- "r-rcolorbrewer"
|
||||
pre_build: vcs_update
|
||||
post_build: git_pkgbuild_commit
|
||||
update_on:
|
||||
- regex: 'Version:\s*([\d._-]+)'
|
||||
source: regex
|
||||
url: https://raw.githubusercontent.com/jasp-stats/jaspGraphs/master/DESCRIPTION
|
37
BioArchLinux/r-jaspresults/PKGBUILD
Normal file
37
BioArchLinux/r-jaspresults/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||
_pkgname=jaspResults
|
||||
_pkgver=1.16
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Easy results for your JASP analysis"
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(r
|
||||
'r-rcpp'
|
||||
)
|
||||
groups=(r-jasp r-jaspbase)
|
||||
makedepends=()
|
||||
optdepends=('r-jaspgraphs')
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git"
|
||||
"jaspColumnEncoder::git+https://github.com/jasp-stats/jaspColumnEncoder.git"
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'SKIP')
|
||||
|
||||
prepare(){
|
||||
cp -rf $srcdir/jaspColumnEncoder/* $srcdir/${_pkgname}/src/jaspColumnEncoder
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
mkdir -p ${srcdir}/usr/lib/R/library
|
||||
R -e "install.packages('${srcdir}/${_pkgname}',\
|
||||
type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
|
||||
}
|
12
BioArchLinux/r-jaspresults/lilac.py
Normal file
12
BioArchLinux/r-jaspresults/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-jaspresults/lilac.yaml
Normal file
12
BioArchLinux/r-jaspresults/lilac.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
build_prefix: extra-x86_64
|
||||
repo_depends:
|
||||
- "r-rcpp"
|
||||
pre_build: vcs_update
|
||||
post_build: git_pkgbuild_commit
|
||||
update_on:
|
||||
- regex: 'Version:\s*([\d._-]+)'
|
||||
source: regex
|
||||
url: https://raw.githubusercontent.com/jasp-stats/jaspResults/master/DESCRIPTION
|
42
BioArchLinux/r-jasptools/PKGBUILD
Normal file
42
BioArchLinux/r-jasptools/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||
_pkgname=jaspTools
|
||||
_pkgver=1.5.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Helps preview and debug JASP analyses"
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(r
|
||||
'r-jsonlite'
|
||||
'r-pkgbuild'
|
||||
'r-rjson'
|
||||
'r-rvg'
|
||||
'r-testthat'
|
||||
'r-data.table'
|
||||
'r-httr'
|
||||
'r-lifecycle'
|
||||
'r-pkgload'
|
||||
'r-remotes'
|
||||
'r-stringi'
|
||||
'r-stringr'
|
||||
'r-vdiffr'
|
||||
)
|
||||
groups=(r-jasp jaspbase)
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
source=("git+https://github.com/jasp-stats/${_pkgname}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
build() {
|
||||
mkdir -p ${srcdir}/usr/lib/R/library
|
||||
R -e "install.packages('${srcdir}/${_pkgname}',\
|
||||
type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
|
||||
}
|
12
BioArchLinux/r-jasptools/lilac.py
Normal file
12
BioArchLinux/r-jasptools/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()
|
24
BioArchLinux/r-jasptools/lilac.yaml
Normal file
24
BioArchLinux/r-jasptools/lilac.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
build_prefix: extra-x86_64
|
||||
repo_depends:
|
||||
- "r-jsonlite"
|
||||
- "r-pkgbuild"
|
||||
- "r-rjson"
|
||||
- "r-rvg"
|
||||
- "r-testthat"
|
||||
- "r-data.table"
|
||||
- "r-httr"
|
||||
- "r-lifecycle"
|
||||
- "r-pkgload"
|
||||
- "r-remotes"
|
||||
- "r-stringi"
|
||||
- "r-stringr"
|
||||
- "r-vdiffr"
|
||||
pre_build: vcs_update
|
||||
post_build: git_pkgbuild_commit
|
||||
update_on:
|
||||
- regex: 'Version:\s*([\d._-]+)'
|
||||
source: regex
|
||||
url: https://raw.githubusercontent.com/jasp-stats/jaspTools/master/DESCRIPTION
|
Loading…
Add table
Reference in a new issue