mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-screenr: init
This commit is contained in:
parent
6bea5bd571
commit
358369b92d
6 changed files with 157 additions and 0 deletions
31
BioArchLinux/r-ggvenn/PKGBUILD
Normal file
31
BioArchLinux/r-ggvenn/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||||
|
|
||||||
|
_pkgname=ggvenn
|
||||||
|
_pkgver=0.1.10
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//-/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Draw Venn Diagram by 'ggplot2'"
|
||||||
|
arch=(any)
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=(MIT)
|
||||||
|
depends=(
|
||||||
|
r-dplyr
|
||||||
|
r-ggplot2
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
md5sums=('eb81af74065bc4f88778e8f88b7bbd8e')
|
||||||
|
sha256sums=('cde116f117266cca27d8cd20205512e602c23514db6d97caaa950b9b21fa873e')
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
}
|
14
BioArchLinux/r-ggvenn/lilac.py
Normal file
14
BioArchLinux/r-ggvenn/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()
|
13
BioArchLinux/r-ggvenn/lilac.yaml
Normal file
13
BioArchLinux/r-ggvenn/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: pekkarr
|
||||||
|
email: pekkarr@protonmail.com
|
||||||
|
repo_depends:
|
||||||
|
- r-dplyr
|
||||||
|
- r-ggplot2
|
||||||
|
update_on:
|
||||||
|
- source: rpkgs
|
||||||
|
pkgname: ggvenn
|
||||||
|
repo: cran
|
||||||
|
md5: true
|
||||||
|
- alias: r
|
58
BioArchLinux/r-screenr/PKGBUILD
Normal file
58
BioArchLinux/r-screenr/PKGBUILD
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||||
|
|
||||||
|
_pkgname=ScreenR
|
||||||
|
_pkgver=1.4.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//-/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Package to Perform High Throughput Biological Screening"
|
||||||
|
arch=(any)
|
||||||
|
url="https://bioconductor.org/packages/${_pkgname}"
|
||||||
|
license=(MIT)
|
||||||
|
depends=(
|
||||||
|
r-dplyr
|
||||||
|
r-edger
|
||||||
|
r-ggplot2
|
||||||
|
r-ggvenn
|
||||||
|
r-limma
|
||||||
|
r-magrittr
|
||||||
|
r-patchwork
|
||||||
|
r-purrr
|
||||||
|
r-rlang
|
||||||
|
r-scales
|
||||||
|
r-stringr
|
||||||
|
r-tibble
|
||||||
|
r-tidyr
|
||||||
|
r-tidyselect
|
||||||
|
)
|
||||||
|
checkdepends=(
|
||||||
|
r-testthat
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-biocstyle
|
||||||
|
r-covr
|
||||||
|
r-knitr
|
||||||
|
r-rmarkdown
|
||||||
|
r-testthat
|
||||||
|
)
|
||||||
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
md5sums=('bb8bd3276b17f7e0d63de9c19e64473d')
|
||||||
|
sha256sums=('a1b28353c9292d6760fa60e1f1bdd9a884619332c5f69ab6c5ea2ef3b9fa5b88')
|
||||||
|
|
||||||
|
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 -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
|
||||||
|
}
|
14
BioArchLinux/r-screenr/lilac.py
Normal file
14
BioArchLinux/r-screenr/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()
|
27
BioArchLinux/r-screenr/lilac.yaml
Normal file
27
BioArchLinux/r-screenr/lilac.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: pekkarr
|
||||||
|
email: pekkarr@protonmail.com
|
||||||
|
repo_depends:
|
||||||
|
- r-dplyr
|
||||||
|
- r-edger
|
||||||
|
- r-ggplot2
|
||||||
|
- r-ggvenn
|
||||||
|
- r-limma
|
||||||
|
- r-magrittr
|
||||||
|
- r-patchwork
|
||||||
|
- r-purrr
|
||||||
|
- r-rlang
|
||||||
|
- r-scales
|
||||||
|
- r-stringr
|
||||||
|
- r-tibble
|
||||||
|
- r-tidyr
|
||||||
|
- r-tidyselect
|
||||||
|
repo_makedepends:
|
||||||
|
- r-testthat
|
||||||
|
update_on:
|
||||||
|
- source: rpkgs
|
||||||
|
pkgname: ScreenR
|
||||||
|
repo: bioc
|
||||||
|
md5: true
|
||||||
|
- alias: r
|
Loading…
Add table
Reference in a new issue