diff options
author | BioArchLinuxBot | 2023-07-20 18:01:55 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-07-20 18:01:55 +0000 |
commit | ea7164aaa9363a03c600238e234eb3c5b320e96a (patch) | |
tree | c322e980de4e7fa21f9b1a0389e6b1edfd857491 | |
parent | 24b4334168b21d5f0536298b794ea1e6d4829f40 (diff) | |
download | aur-ea7164aaa9363a03c600238e234eb3c5b320e96a.tar.gz |
[lilac] updated to 1.5.0-1
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 52 insertions, 20 deletions
@@ -1,28 +1,40 @@ pkgbase = r-seriation pkgdesc = Infrastructure for Ordering Objects Using Seriation - pkgver = 1.4.2 + pkgver = 1.5.0 pkgrel = 1 url = https://cran.r-project.org/package=seriation arch = x86_64 - license = GPL + license = GPL3 + checkdepends = r-dbscan + checkdepends = r-dendextend + checkdepends = r-ga + checkdepends = r-rtsne + checkdepends = r-testthat + checkdepends = r-umap makedepends = gcc-fortran - depends = r depends = r-ca depends = r-colorspace + depends = r-foreach depends = r-gclus depends = r-qap depends = r-registry depends = r-tsp + depends = r-vegan optdepends = r-dbscan optdepends = r-dendextend optdepends = r-dendser + optdepends = r-doparallel optdepends = r-ga optdepends = r-ggplot2 + optdepends = r-keras optdepends = r-rtsne optdepends = r-scales + optdepends = r-smacof + optdepends = r-tensorflow optdepends = r-testthat optdepends = r-umap - source = https://cran.r-project.org/src/contrib/seriation_1.4.2.tar.gz - sha256sums = ad19ecbc375aa8121b8a60c6bbd0e7b3a5ab2779dab805c72124caa472ff5090 + source = https://cran.r-project.org/src/contrib/seriation_1.5.0.tar.gz + md5sums = 4af46ea5729630ce6281b76d2c23dc20 + sha256sums = daddfee4f7a1c4b63d98a1106481754b368c8163abf043198c274b0097a85118 pkgname = r-seriation @@ -1,46 +1,66 @@ -# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> +# Contributor: Guoyi Zhang <guoyizhang at malacology dot net> _pkgname=seriation -_pkgver=1.4.2 +_pkgver=1.5.0 pkgname=r-${_pkgname,,} -pkgver=1.4.2 +pkgver=${_pkgver//-/.} pkgrel=1 -pkgdesc='Infrastructure for Ordering Objects Using Seriation' -arch=('x86_64') +pkgdesc="Infrastructure for Ordering Objects Using Seriation" +arch=(x86_64) url="https://cran.r-project.org/package=${_pkgname}" -license=('GPL') +license=(GPL3) depends=( - r r-ca r-colorspace + r-foreach r-gclus r-qap r-registry r-tsp + r-vegan +) +makedepends=( + gcc-fortran +) +checkdepends=( + r-dbscan + r-dendextend + r-ga + r-rtsne + r-testthat + r-umap ) optdepends=( r-dbscan r-dendextend r-dendser + r-doparallel r-ga r-ggplot2 + r-keras r-rtsne r-scales + r-smacof + r-tensorflow r-testthat r-umap ) -makedepends=( - gcc-fortran -) source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") -sha256sums=('ad19ecbc375aa8121b8a60c6bbd0e7b3a5ab2779dab805c72124caa472ff5090') +md5sums=('4af46ea5729630ce6281b76d2c23dc20') +sha256sums=('daddfee4f7a1c4b63d98a1106481754b368c8163abf043198c274b0097a85118') build() { - R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" + 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 -dm0755 "${pkgdir}/usr/lib/R/library" - cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" + install -d "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library" } -# vim:set ts=2 sw=2 et: |