mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fix coregx error
This commit is contained in:
parent
b766a0fd1d
commit
9a59cd73f0
8 changed files with 127 additions and 0 deletions
48
BioArchLinux/r-bench/PKGBUILD
Normal file
48
BioArchLinux/r-bench/PKGBUILD
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
|
_pkgname=bench
|
||||||
|
_pkgver=1.1.2
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='High Precision Timing of R Expressions'
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('MIT')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-glue
|
||||||
|
r-pillar
|
||||||
|
r-profmem
|
||||||
|
r-rlang
|
||||||
|
r-tibble
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-covr
|
||||||
|
r-dplyr
|
||||||
|
r-forcats
|
||||||
|
r-ggbeeswarm
|
||||||
|
r-ggplot2
|
||||||
|
r-ggridges
|
||||||
|
r-jsonlite
|
||||||
|
r-mockery
|
||||||
|
r-parallel
|
||||||
|
r-scales
|
||||||
|
r-testthat
|
||||||
|
r-tidyr
|
||||||
|
r-vctrs
|
||||||
|
r-withr
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('a')
|
||||||
|
|
||||||
|
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"
|
||||||
|
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
}
|
||||||
|
# vim:set ts=2 sw=2 et:
|
12
BioArchLinux/r-bench/lilac.py
Normal file
12
BioArchLinux/r-bench/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()
|
14
BioArchLinux/r-bench/lilac.yaml
Normal file
14
BioArchLinux/r-bench/lilac.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
repo_depends:
|
||||||
|
- r-glue
|
||||||
|
- r-pillar
|
||||||
|
- r-profmem
|
||||||
|
- r-rlang
|
||||||
|
- r-tibble
|
||||||
|
update_on:
|
||||||
|
- regex: bench_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=bench
|
|
@ -26,6 +26,7 @@ depends=(
|
||||||
r-rlang
|
r-rlang
|
||||||
r-s4vectors
|
r-s4vectors
|
||||||
r-summarizedexperiment
|
r-summarizedexperiment
|
||||||
|
r-bench
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
r-biocstyle
|
r-biocstyle
|
||||||
|
|
|
@ -18,6 +18,7 @@ repo_depends:
|
||||||
- r-rlang
|
- r-rlang
|
||||||
- r-s4vectors
|
- r-s4vectors
|
||||||
- r-summarizedexperiment
|
- r-summarizedexperiment
|
||||||
|
- r-bench
|
||||||
update_on:
|
update_on:
|
||||||
- regex: CoreGx_([\d._-]+).tar.gz
|
- regex: CoreGx_([\d._-]+).tar.gz
|
||||||
source: regex
|
source: regex
|
||||||
|
|
31
BioArchLinux/r-profmem/PKGBUILD
Normal file
31
BioArchLinux/r-profmem/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
|
_pkgname=profmem
|
||||||
|
_pkgver=0.6.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Simple Memory Profiling for R'
|
||||||
|
arch=('any')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('LGPL')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-markdown
|
||||||
|
r-microbenchmark
|
||||||
|
r-r.rsp
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('a')
|
||||||
|
|
||||||
|
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:
|
12
BioArchLinux/r-profmem/lilac.py
Normal file
12
BioArchLinux/r-profmem/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()
|
8
BioArchLinux/r-profmem/lilac.yaml
Normal file
8
BioArchLinux/r-profmem/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- regex: profmem_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=profmem
|
Loading…
Add table
Reference in a new issue