mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fix: r-gstat, r-learnr
add: r-stars, r-sftime, r-lwgeom as needed by r-gstat
This commit is contained in:
parent
3984505592
commit
ccc8350da4
13 changed files with 243 additions and 6 deletions
|
@ -12,8 +12,11 @@ license=('GPL')
|
|||
depends=(
|
||||
r
|
||||
r-fnn
|
||||
r-sf
|
||||
r-sftime
|
||||
r-sp
|
||||
r-spacetime
|
||||
r-stars
|
||||
r-zoo
|
||||
)
|
||||
optdepends=(
|
||||
|
@ -26,8 +29,6 @@ optdepends=(
|
|||
r-raster
|
||||
r-rgdal
|
||||
r-rgeos
|
||||
r-sf
|
||||
r-stars
|
||||
r-xts
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
|
|
|
@ -4,8 +4,11 @@ maintainers:
|
|||
email: kuoi@bioarchlinux.org
|
||||
repo_depends:
|
||||
- r-fnn
|
||||
- r-sf
|
||||
- r-sftime
|
||||
- r-sp
|
||||
- r-spacetime
|
||||
- r-stars
|
||||
- r-zoo
|
||||
update_on:
|
||||
- regex: gstat_([\d._-]+).tar.gz
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=learnr
|
||||
_pkgver=0.10.1
|
||||
_pkgver=0.11.1
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=0.10.1
|
||||
pkgrel=5
|
||||
pkgver=0.11.1
|
||||
pkgrel=0
|
||||
pkgdesc='Interactive Tutorials for R'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
|
@ -12,13 +12,17 @@ license=('Apache')
|
|||
depends=(
|
||||
r
|
||||
r-checkmate
|
||||
r-curl
|
||||
r-digest
|
||||
r-ellipsis
|
||||
r-evaluate
|
||||
r-htmltools
|
||||
r-htmlwidgets
|
||||
r-jsonlite
|
||||
r-knitr
|
||||
r-lifecycle
|
||||
r-markdown
|
||||
r-promises
|
||||
r-rappdirs
|
||||
r-renv
|
||||
r-rmarkdown
|
||||
|
@ -32,7 +36,7 @@ optdepends=(
|
|||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('6174932b8dbdb7c458c8d89e242359b0903040332cd1e5741b1e956e74adbc23')
|
||||
sha256sums=('fa8fceca3023a7cf6128b4b80b4e01f1c6dc4a692df6e53c5b75f9b1e12069dc')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
|
|
|
@ -4,13 +4,17 @@ maintainers:
|
|||
email: kuoi@bioarchlinux.org
|
||||
repo_depends:
|
||||
- r-checkmate
|
||||
- r-curl
|
||||
- r-digest
|
||||
- r-ellipsis
|
||||
- r-evaluate
|
||||
- r-htmltools
|
||||
- r-htmlwidgets
|
||||
- r-jsonlite
|
||||
- r-knitr
|
||||
- r-lifecycle
|
||||
- r-markdown
|
||||
- r-promises
|
||||
- r-rappdirs
|
||||
- r-renv
|
||||
- r-rmarkdown
|
||||
|
|
39
BioArchLinux/r-lwgeom/PKGBUILD
Normal file
39
BioArchLinux/r-lwgeom/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# system requirements: GEOS (>= 3.5.0), PROJ (>= 4.8.0), sqlite3
|
||||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=lwgeom
|
||||
_pkgver=0.2-9
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Bindings to Selected 'liblwgeom' Functions for Simple Features"
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
geos
|
||||
proj
|
||||
r
|
||||
r-rcpp
|
||||
r-sf
|
||||
r-units
|
||||
sqlite
|
||||
)
|
||||
optdepends=(
|
||||
r-covr
|
||||
r-geosphere
|
||||
r-sp
|
||||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('69b2a2efdafb0b32c801932eee7cd2c4b8402cede6487f4dfea4e14873091aa8')
|
||||
|
||||
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-lwgeom/lilac.py
Normal file
13
BioArchLinux/r-lwgeom/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-lwgeom/lilac.yaml
Normal file
11
BioArchLinux/r-lwgeom/lilac.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-rcpp
|
||||
- r-sf
|
||||
- r-units
|
||||
update_on:
|
||||
- regex: lwgeom_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=lwgeom
|
41
BioArchLinux/r-sftime/PKGBUILD
Normal file
41
BioArchLinux/r-sftime/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=sftime
|
||||
_pkgver=0.2-0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Classes and Methods for Simple Feature Objects that Have a Time Column'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('Apache')
|
||||
depends=(
|
||||
r
|
||||
r-sf
|
||||
)
|
||||
optdepends=(
|
||||
r-dplyr
|
||||
r-ggplot2
|
||||
r-knitr
|
||||
r-magrittr
|
||||
r-ncmeta
|
||||
r-rlang
|
||||
r-rmarkdown
|
||||
r-sp
|
||||
r-spacetime
|
||||
r-stars
|
||||
r-tidyr
|
||||
r-trajectories
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('d82a1d750fb0fe7fe9962e520f00f8f969fe075a9bb53592180b4ff41430b1fa')
|
||||
|
||||
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-sftime/lilac.py
Normal file
13
BioArchLinux/r-sftime/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()
|
9
BioArchLinux/r-sftime/lilac.yaml
Normal file
9
BioArchLinux/r-sftime/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-sf
|
||||
update_on:
|
||||
- regex: sftime_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=sftime
|
72
BioArchLinux/r-stars/PKGBUILD
Normal file
72
BioArchLinux/r-stars/PKGBUILD
Normal file
|
@ -0,0 +1,72 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=stars
|
||||
_pkgver=0.5-6
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Spatiotemporal Arrays, Raster and Vector Data Cubes'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('Apache')
|
||||
depends=(
|
||||
r
|
||||
r-abind
|
||||
r-classint
|
||||
r-lwgeom
|
||||
r-rlang
|
||||
r-sf
|
||||
r-units
|
||||
)
|
||||
optdepends=(
|
||||
r-clue
|
||||
r-covr
|
||||
r-cubelyr
|
||||
r-digest
|
||||
r-dplyr
|
||||
r-exactextractr
|
||||
r-fnn
|
||||
r-future.apply
|
||||
r-ggforce
|
||||
r-ggplot2
|
||||
r-ggthemes
|
||||
r-gstat
|
||||
r-httr
|
||||
r-jsonlite
|
||||
r-knitr
|
||||
r-mapdata
|
||||
r-maps
|
||||
r-ncdfgeom
|
||||
r-ncmeta
|
||||
r-pbapply
|
||||
r-pcict
|
||||
r-plm
|
||||
r-randomforest
|
||||
r-raster
|
||||
r-rgdal
|
||||
r-rmarkdown
|
||||
r-rnetcdf
|
||||
r-sp
|
||||
r-spacetime
|
||||
r-spatstat
|
||||
r-spatstat.geom
|
||||
r-starsdata
|
||||
r-terra
|
||||
r-testthat
|
||||
r-tidyr
|
||||
r-viridis
|
||||
r-xts
|
||||
r-zoo
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('e0413c95423635f7f7b2520813382e911257da8ace9b743da9fe3eab568a9461')
|
||||
|
||||
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-stars/lilac.py
Normal file
13
BioArchLinux/r-stars/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()
|
14
BioArchLinux/r-stars/lilac.yaml
Normal file
14
BioArchLinux/r-stars/lilac.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-abind
|
||||
- r-classint
|
||||
- r-lwgeom
|
||||
- r-rlang
|
||||
- r-sf
|
||||
- r-units
|
||||
update_on:
|
||||
- regex: stars_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=stars
|
Loading…
Add table
Reference in a new issue