r-cellxgenedp: init for r-uniprot.ws

This commit is contained in:
Kuoi 2022-08-23 13:23:53 +01:00
parent b636d27d44
commit 606f1629c6
3 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# system requirements: C++14
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=cellxgenedp
_pkgver=1.0.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Discover and Access Single Cell Data Sets in the cellxgene Data Portal'
arch=('x86_64')
url="https://bioconductor.org/packages/${_pkgname}"
license=('Artistic2.0')
depends=(
r
r-cpp11
r-curl
r-dplyr
r-dt
r-httr
r-jsonlite
r-shiny
)
optdepends=(
r-biocstyle
r-hdf5array
r-knitr
r-mockery
r-rmarkdown
r-singlecellexperiment
r-testthat
r-zellkonverter
)
source=("https://bioconductor.org/packages/release/bioc/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:

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

View file

@ -0,0 +1,17 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
repo_depends:
- r-cpp11
- r-curl
- r-dplyr
- r-dt
- r-httr
- r-jsonlite
- r-shiny
update_on:
- regex: cellxgenedp_([\d._-]+).tar.gz
source: regex
url: https://bioconductor.org/packages/cellxgenedp
- alias: r