mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-ancombc: fix depends
This commit is contained in:
parent
9f22b4c66d
commit
e3e3ddf584
14 changed files with 281 additions and 26 deletions
|
@ -1,45 +1,49 @@
|
||||||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
_pkgname=ANCOMBC
|
_pkgname=ANCOMBC
|
||||||
_pkgver=1.6.2
|
_pkgver=1.6.3
|
||||||
pkgname=r-${_pkgname,,}
|
pkgname=r-${_pkgname,,}
|
||||||
pkgver=1.6.2
|
pkgver=${_pkgver//[:-]/.}
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='Analysis of compositions of microbiomes with bias correction'
|
pkgdesc='Microbiome differential abudance and correlation analyses with bias correction'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://bioconductor.org/packages/${_pkgname}"
|
url="https://bioconductor.org/packages/${_pkgname}"
|
||||||
license=('Artistic2.0')
|
license=('Artistic2.0')
|
||||||
depends=(
|
depends=(
|
||||||
r
|
r
|
||||||
|
r-cvxr
|
||||||
r-desctools
|
r-desctools
|
||||||
r-doparallel
|
r-doparallel
|
||||||
r-dorng
|
r-dorng
|
||||||
r-dplyr
|
r-dplyr
|
||||||
|
r-emmeans
|
||||||
r-energy
|
r-energy
|
||||||
r-foreach
|
r-foreach
|
||||||
r-hmisc
|
r-hmisc
|
||||||
|
r-lmertest
|
||||||
r-magrittr
|
r-magrittr
|
||||||
r-microbiome
|
r-mia
|
||||||
r-nloptr
|
r-nloptr
|
||||||
r-phyloseq
|
|
||||||
r-rdpack
|
r-rdpack
|
||||||
r-rlang
|
r-rlang
|
||||||
|
r-rngtools
|
||||||
|
r-s4vectors
|
||||||
|
r-singlecellexperiment
|
||||||
|
r-summarizedexperiment
|
||||||
r-tibble
|
r-tibble
|
||||||
r-tidyr
|
r-tidyr
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
r-corrplot
|
r-caret
|
||||||
r-dt
|
r-dt
|
||||||
r-ggforce
|
|
||||||
r-knitr
|
r-knitr
|
||||||
r-limma
|
r-microbiome
|
||||||
r-qwraps2
|
|
||||||
r-rmarkdown
|
r-rmarkdown
|
||||||
r-testthat
|
r-testthat
|
||||||
r-tidyverse
|
r-tidyverse
|
||||||
)
|
)
|
||||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
sha256sums=('5bb1cfb8b6828cd18c85d51cd2ef9d63d1a7e74eb0917aff73a6ebf94f2311b5')
|
sha256sums=('32d79daf0d76f66966e6794f7763508bd873a00ab3ddb31972affd1047706b8c')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||||
|
|
|
@ -3,21 +3,27 @@ maintainers:
|
||||||
- github: starsareintherose
|
- github: starsareintherose
|
||||||
email: kuoi@bioarchlinux.org
|
email: kuoi@bioarchlinux.org
|
||||||
repo_depends:
|
repo_depends:
|
||||||
- r-desctools
|
- r-cvxr
|
||||||
- r-doparallel
|
- r-desctools
|
||||||
- r-dorng
|
- r-doparallel
|
||||||
- r-dplyr
|
- r-dorng
|
||||||
- r-energy
|
- r-dplyr
|
||||||
- r-foreach
|
- r-emmeans
|
||||||
- r-hmisc
|
- r-energy
|
||||||
- r-magrittr
|
- r-foreach
|
||||||
- r-microbiome
|
- r-hmisc
|
||||||
- r-nloptr
|
- r-lmertest
|
||||||
- r-phyloseq
|
- r-magrittr
|
||||||
- r-rdpack
|
- r-mia
|
||||||
- r-rlang
|
- r-nloptr
|
||||||
- r-tibble
|
- r-rdpack
|
||||||
- r-tidyr
|
- r-rlang
|
||||||
|
- r-rngtools
|
||||||
|
- r-s4vectors
|
||||||
|
- r-singlecellexperiment
|
||||||
|
- r-summarizedexperiment
|
||||||
|
- r-tibble
|
||||||
|
- r-tidyr
|
||||||
update_on:
|
update_on:
|
||||||
- regex: ANCOMBC_([\d._-]+).tar.gz
|
- regex: ANCOMBC_([\d._-]+).tar.gz
|
||||||
source: regex
|
source: regex
|
||||||
|
|
49
BioArchLinux/r-cvxr/PKGBUILD
Normal file
49
BioArchLinux/r-cvxr/PKGBUILD
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=CVXR
|
||||||
|
_pkgver=1.0-10
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Disciplined Convex Optimization'
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('Apache')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-bit64
|
||||||
|
r-ecosolver
|
||||||
|
r-gmp
|
||||||
|
r-osqp
|
||||||
|
r-r6
|
||||||
|
r-rcpp
|
||||||
|
r-rcppeigen
|
||||||
|
r-rmpfr
|
||||||
|
r-scs
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-cccp
|
||||||
|
r-covr
|
||||||
|
r-gurobi
|
||||||
|
r-knitr
|
||||||
|
r-nnls
|
||||||
|
r-rcbc
|
||||||
|
r-rcplex
|
||||||
|
r-rglpk
|
||||||
|
r-rmarkdown
|
||||||
|
r-rmosek
|
||||||
|
r-slam
|
||||||
|
r-testthat
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('04118018ae99ab3fcffe5b5ccf2fc028ea11491d7078630f279ddc9135777432')
|
||||||
|
|
||||||
|
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:
|
13
BioArchLinux/r-cvxr/lilac.py
Normal file
13
BioArchLinux/r-cvxr/lilac.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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()
|
||||||
|
update_aur_repo()
|
18
BioArchLinux/r-cvxr/lilac.yaml
Normal file
18
BioArchLinux/r-cvxr/lilac.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-bit64
|
||||||
|
- r-ecosolver
|
||||||
|
- r-gmp
|
||||||
|
- r-osqp
|
||||||
|
- r-r6
|
||||||
|
- r-rcpp
|
||||||
|
- r-rcppeigen
|
||||||
|
- r-rmpfr
|
||||||
|
- r-scs
|
||||||
|
update_on:
|
||||||
|
- regex: CVXR_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=CVXR
|
||||||
|
- alias: r
|
36
BioArchLinux/r-ecosolver/PKGBUILD
Normal file
36
BioArchLinux/r-ecosolver/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# system requirements: GNU make
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=ECOSolveR
|
||||||
|
_pkgver=0.5.4
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Embedded Conic Solver in R'
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL')
|
||||||
|
makedepends=('make')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-covr
|
||||||
|
r-knitr
|
||||||
|
r-matrix
|
||||||
|
r-rmarkdown
|
||||||
|
r-slam
|
||||||
|
r-testthat
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('5d7489e8176c1df3f3f1290732243429280efca4f837916e6b6faa6dc8a8e324')
|
||||||
|
|
||||||
|
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:
|
13
BioArchLinux/r-ecosolver/lilac.py
Normal file
13
BioArchLinux/r-ecosolver/lilac.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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()
|
||||||
|
update_aur_repo()
|
8
BioArchLinux/r-ecosolver/lilac.yaml
Normal file
8
BioArchLinux/r-ecosolver/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
update_on:
|
||||||
|
- regex: ECOSolveR_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=ECOSolveR
|
||||||
|
- alias: r
|
31
BioArchLinux/r-osqp/PKGBUILD
Normal file
31
BioArchLinux/r-osqp/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=osqp
|
||||||
|
_pkgver=0.6.0.6
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Quadratic Programming Solver using the 'OSQP' Library"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('Apache')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-r6
|
||||||
|
r-rcpp
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-testthat
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('853f431b96d6097fd679adb84e288e159d60bf2f0b0d6ddc06ff7acef44ec6e0')
|
||||||
|
|
||||||
|
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:
|
13
BioArchLinux/r-osqp/lilac.py
Normal file
13
BioArchLinux/r-osqp/lilac.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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()
|
||||||
|
update_aur_repo()
|
11
BioArchLinux/r-osqp/lilac.yaml
Normal file
11
BioArchLinux/r-osqp/lilac.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-r6
|
||||||
|
- r-rcpp
|
||||||
|
update_on:
|
||||||
|
- regex: osqp_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=osqp
|
||||||
|
- alias: r
|
32
BioArchLinux/r-scs/PKGBUILD
Normal file
32
BioArchLinux/r-scs/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# system requirements: GNU Make
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=scs
|
||||||
|
_pkgver=3.0-1
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Splitting Conic Solver'
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL')
|
||||||
|
makedepends=('make')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-slam
|
||||||
|
r-testthat
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('d6881eeec7282f8bfbf60847327786e7f90299e4b8c0b084d8bd11fec7705913')
|
||||||
|
|
||||||
|
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:
|
13
BioArchLinux/r-scs/lilac.py
Normal file
13
BioArchLinux/r-scs/lilac.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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()
|
||||||
|
update_aur_repo()
|
8
BioArchLinux/r-scs/lilac.yaml
Normal file
8
BioArchLinux/r-scs/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
update_on:
|
||||||
|
- regex: scs_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=scs
|
||||||
|
- alias: r
|
Loading…
Add table
Reference in a new issue