mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-voyager: init
This commit is contained in:
parent
d819e7e58b
commit
726f99b944
6 changed files with 206 additions and 0 deletions
32
BioArchLinux/r-automap/PKGBUILD
Normal file
32
BioArchLinux/r-automap/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||
|
||||
_pkgname=automap
|
||||
_pkgver=1.1-9
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Automatic Interpolation Package"
|
||||
arch=(any)
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=(GPL)
|
||||
depends=(
|
||||
r-ggplot2
|
||||
r-gstat
|
||||
r-reshape
|
||||
r-sf
|
||||
r-sp
|
||||
r-stars
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
md5sums=('e73467a1c2fa43bd4f4f536ec51ad71b')
|
||||
sha256sums=('f3070aed385352d2595ceddd74cb03cd71965f2e60b675832d16ec2ead6f3a43')
|
||||
|
||||
build() {
|
||||
mkdir -p build
|
||||
R CMD INSTALL "$_pkgname" -l build
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
14
BioArchLinux/r-automap/lilac.py
Normal file
14
BioArchLinux/r-automap/lilac.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
17
BioArchLinux/r-automap/lilac.yaml
Normal file
17
BioArchLinux/r-automap/lilac.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: pekkarr
|
||||
email: pekkarr@protonmail.com
|
||||
repo_depends:
|
||||
- r-ggplot2
|
||||
- r-gstat
|
||||
- r-reshape
|
||||
- r-sf
|
||||
- r-sp
|
||||
- r-stars
|
||||
update_on:
|
||||
- source: rpkgs
|
||||
pkgname: automap
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
86
BioArchLinux/r-voyager/PKGBUILD
Normal file
86
BioArchLinux/r-voyager/PKGBUILD
Normal file
|
@ -0,0 +1,86 @@
|
|||
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||
|
||||
_pkgname=Voyager
|
||||
_pkgver=1.4.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc="From geospatial to spatial omics"
|
||||
arch=(any)
|
||||
url="https://bioconductor.org/packages/${_pkgname}"
|
||||
license=(Artistic2.0)
|
||||
depends=(
|
||||
r-biocparallel
|
||||
r-bluster
|
||||
r-ggnewscale
|
||||
r-ggplot2
|
||||
r-lifecycle
|
||||
r-matrixstats
|
||||
r-patchwork
|
||||
r-rlang
|
||||
r-rspectra
|
||||
r-s4vectors
|
||||
r-scales
|
||||
r-scico
|
||||
r-sf
|
||||
r-singlecellexperiment
|
||||
r-spatialexperiment
|
||||
r-spatialfeatureexperiment
|
||||
r-spdep
|
||||
r-summarizedexperiment
|
||||
r-terra
|
||||
)
|
||||
checkdepends=(
|
||||
r-automap
|
||||
r-dropletutils
|
||||
r-ggh4x
|
||||
r-gstat
|
||||
r-hexbin
|
||||
r-scater
|
||||
r-scattermore
|
||||
r-scran
|
||||
r-sfedata
|
||||
r-testthat
|
||||
r-vdiffr
|
||||
r-vroom
|
||||
)
|
||||
optdepends=(
|
||||
r-automap
|
||||
r-biocsingular
|
||||
r-biocstyle
|
||||
r-cowplot
|
||||
r-experimenthub
|
||||
r-ggh4x
|
||||
r-gstat
|
||||
r-hexbin
|
||||
r-knitr
|
||||
r-pheatmap
|
||||
r-rhdf5
|
||||
r-rmarkdown
|
||||
r-scater
|
||||
r-scattermore
|
||||
r-scran
|
||||
r-sfarrow
|
||||
r-sfedata
|
||||
r-testthat
|
||||
r-vdiffr
|
||||
r-vroom
|
||||
)
|
||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
md5sums=('1cc32e63cf1c410d82c2cd1a26f9f929')
|
||||
sha256sums=('e04a6570a1b15319841d68946f59a9f9296b52c0776200a68663313ff447f538')
|
||||
|
||||
build() {
|
||||
mkdir -p build
|
||||
R CMD INSTALL "$_pkgname" -l build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_pkgname/tests"
|
||||
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
14
BioArchLinux/r-voyager/lilac.py
Normal file
14
BioArchLinux/r-voyager/lilac.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
43
BioArchLinux/r-voyager/lilac.yaml
Normal file
43
BioArchLinux/r-voyager/lilac.yaml
Normal file
|
@ -0,0 +1,43 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: pekkarr
|
||||
email: pekkarr@protonmail.com
|
||||
repo_depends:
|
||||
- r-biocparallel
|
||||
- r-bluster
|
||||
- r-ggnewscale
|
||||
- r-ggplot2
|
||||
- r-lifecycle
|
||||
- r-matrixstats
|
||||
- r-patchwork
|
||||
- r-rlang
|
||||
- r-rspectra
|
||||
- r-s4vectors
|
||||
- r-scales
|
||||
- r-scico
|
||||
- r-sf
|
||||
- r-singlecellexperiment
|
||||
- r-spatialexperiment
|
||||
- r-spatialfeatureexperiment
|
||||
- r-spdep
|
||||
- r-summarizedexperiment
|
||||
- r-terra
|
||||
repo_makedepends:
|
||||
- r-automap
|
||||
- r-dropletutils
|
||||
- r-ggh4x
|
||||
- r-gstat
|
||||
- r-hexbin
|
||||
- r-scater
|
||||
- r-scattermore
|
||||
- r-scran
|
||||
- r-sfedata
|
||||
- r-testthat
|
||||
- r-vdiffr
|
||||
- r-vroom
|
||||
update_on:
|
||||
- source: rpkgs
|
||||
pkgname: Voyager
|
||||
repo: bioc
|
||||
md5: true
|
||||
- alias: r
|
Loading…
Add table
Reference in a new issue