r-phenomis: init

This commit is contained in:
Pekka Ristola 2023-12-03 17:02:01 +02:00
parent 3ddad11b49
commit 36c6f470c9
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
4 changed files with 119 additions and 0 deletions

View file

@ -0,0 +1,70 @@
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=phenomis
_pkgver=1.4.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Postprocessing and univariate analysis of omics data"
arch=(any)
url="https://bioconductor.org/packages/${_pkgname}"
license=('CECILL-2.0')
depends=(
r-biobase
r-biodb
r-biodbchebi
r-data.table
r-futile.logger
r-ggplot2
r-ggrepel
r-htmlwidgets
r-igraph
r-limma
r-multiassayexperiment
r-multidataset
r-plotly
r-pmcmrplus
r-ranger
r-rcolorbrewer
r-ropls
r-summarizedexperiment
r-tibble
r-tidyr
r-venndiagram
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocgenerics
r-biocstyle
r-biosigner
r-cll
r-knitr
r-omicade4
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"$_pkgname-LICENSE::http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt")
md5sums=('6fc3be4aed9fead1f2038fb3d2837854'
'599cf91b33571e942d3ba5f9623b8011')
sha256sums=('2f002955d854868a2fd87bcea8902662a4f7089f07d83b490403d00034e1d9fd'
'0451b634c56ded90b29cd5e40295bcf24bd5224f5ffd7c5f1458535eb90ba85f')
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"
install -Dm644 "$_pkgname-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

View 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()

View file

@ -0,0 +1,34 @@
build_prefix: extra-x86_64
maintainers:
- github: pekkarr
email: pekkarr@protonmail.com
repo_depends:
- r-biobase
- r-biodb
- r-biodbchebi
- r-data.table
- r-futile.logger
- r-ggplot2
- r-ggrepel
- r-htmlwidgets
- r-igraph
- r-limma
- r-multiassayexperiment
- r-multidataset
- r-plotly
- r-pmcmrplus
- r-ranger
- r-rcolorbrewer
- r-ropls
- r-summarizedexperiment
- r-tibble
- r-tidyr
- r-venndiagram
repo_makedepends:
- r-testthat
update_on:
- source: rpkgs
pkgname: phenomis
repo: bioc
md5: true
- alias: r

View file

@ -195,6 +195,7 @@ license_map = {
"BSD_3_clause + file LICENSE": "BSD",
"BSL-1.0": "Boost",
"CC0": "CC0-1.0",
"CeCILL": "CECILL-2.0",
"EPL": "EPL",
"GPL": "GPL",
"GPL (>= 2)": "GPL",