mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fix: r-devtools
This commit is contained in:
parent
7eaa2b66f9
commit
d51c158e5c
14 changed files with 310 additions and 7 deletions
|
@ -1,17 +1,16 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=devtools
|
||||
_pkgver=2.4.3
|
||||
_pkgver=2.4.4
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=2.4.3
|
||||
pkgrel=3
|
||||
pkgver=2.4.4
|
||||
pkgrel=0
|
||||
pkgdesc='Tools to Make Developing R Packages Easier'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
r
|
||||
r-callr
|
||||
r-cli
|
||||
r-desc
|
||||
r-ellipsis
|
||||
|
@ -19,16 +18,19 @@ depends=(
|
|||
r-httr
|
||||
r-lifecycle
|
||||
r-memoise
|
||||
r-miniui
|
||||
r-pkgbuild
|
||||
r-pkgdown
|
||||
r-pkgload
|
||||
r-profvis
|
||||
r-rcmdcheck
|
||||
r-remotes
|
||||
r-rlang
|
||||
r-roxygen2
|
||||
r-rstudioapi
|
||||
r-rversions
|
||||
r-sessioninfo
|
||||
r-testthat
|
||||
r-urlchecker
|
||||
r-usethis
|
||||
r-withr
|
||||
)
|
||||
|
@ -50,6 +52,7 @@ optdepends=(
|
|||
r-rhub
|
||||
r-rmarkdown
|
||||
r-spelling
|
||||
r-rstudioapi
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('e42159a9bca0b219170e76c282862e27ca283649d6cbf6a868175d8982e06b4f')
|
||||
|
|
|
@ -3,7 +3,6 @@ maintainers:
|
|||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
repo_depends:
|
||||
- r-callr
|
||||
- r-cli
|
||||
- r-desc
|
||||
- r-ellipsis
|
||||
|
@ -11,16 +10,19 @@ repo_depends:
|
|||
- r-httr
|
||||
- r-lifecycle
|
||||
- r-memoise
|
||||
- r-miniui
|
||||
- r-pkgbuild
|
||||
- r-pkgdown
|
||||
- r-pkgload
|
||||
- r-profvis
|
||||
- r-rcmdcheck
|
||||
- r-remotes
|
||||
- r-rlang
|
||||
- r-roxygen2
|
||||
- r-rstudioapi
|
||||
- r-rversions
|
||||
- r-sessioninfo
|
||||
- r-testthat
|
||||
- r-urlchecker
|
||||
- r-usethis
|
||||
- r-withr
|
||||
update_on:
|
||||
|
|
48
BioArchLinux/r-downlit/PKGBUILD
Normal file
48
BioArchLinux/r-downlit/PKGBUILD
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=downlit
|
||||
_pkgver=0.4.2
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Syntax Highlighting and Automatic Linking'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
r
|
||||
r-brio
|
||||
r-desc
|
||||
r-digest
|
||||
r-evaluate
|
||||
r-fansi
|
||||
r-memoise
|
||||
r-rlang
|
||||
r-vctrs
|
||||
r-withr
|
||||
r-yaml
|
||||
)
|
||||
optdepends=(
|
||||
r-covr
|
||||
r-htmltools
|
||||
r-jsonlite
|
||||
r-mass
|
||||
r-massspecwavelet
|
||||
r-pkgload
|
||||
r-rmarkdown
|
||||
r-testthat
|
||||
r-xml2
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('33dff66909104d1a5ba8e57b1288986e82b61fd5e91dce0cd358d53724b37e3c')
|
||||
|
||||
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-downlit/lilac.py
Normal file
12
BioArchLinux/r-downlit/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()
|
18
BioArchLinux/r-downlit/lilac.yaml
Normal file
18
BioArchLinux/r-downlit/lilac.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-brio
|
||||
- r-desc
|
||||
- r-digest
|
||||
- r-evaluate
|
||||
- r-fansi
|
||||
- r-memoise
|
||||
- r-rlang
|
||||
- r-vctrs
|
||||
- r-withr
|
||||
- r-yaml
|
||||
update_on:
|
||||
- regex: downlit_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=downlit
|
66
BioArchLinux/r-pkgdown/PKGBUILD
Normal file
66
BioArchLinux/r-pkgdown/PKGBUILD
Normal file
|
@ -0,0 +1,66 @@
|
|||
# system requirements: pandoc
|
||||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=pkgdown
|
||||
_pkgver=2.0.6
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Make Static HTML Documentation for a Package'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
r
|
||||
r-bslib
|
||||
r-callr
|
||||
r-cli
|
||||
r-desc
|
||||
r-digest
|
||||
r-downlit
|
||||
r-fs
|
||||
r-httr
|
||||
r-jsonlite
|
||||
r-magrittr
|
||||
r-memoise
|
||||
r-purrr
|
||||
r-ragg
|
||||
r-rlang
|
||||
r-rmarkdown
|
||||
r-tibble
|
||||
r-whisker
|
||||
r-withr
|
||||
r-xml2
|
||||
r-yaml
|
||||
)
|
||||
optdepends=(
|
||||
r-covr
|
||||
r-diffviewer
|
||||
r-evaluate
|
||||
r-htmltools
|
||||
r-htmlwidgets
|
||||
r-knitr
|
||||
r-lifecycle
|
||||
r-methods
|
||||
r-openssl
|
||||
r-pkgload
|
||||
r-rsconnect
|
||||
r-rstudioapi
|
||||
r-rticles
|
||||
r-sass
|
||||
r-testthat
|
||||
r-tools
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('d29a65c8a5b189fd89842e769f58f8c2369a55406269eabfb66d41d0fe1c7f69')
|
||||
|
||||
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-pkgdown/lilac.py
Normal file
12
BioArchLinux/r-pkgdown/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()
|
28
BioArchLinux/r-pkgdown/lilac.yaml
Normal file
28
BioArchLinux/r-pkgdown/lilac.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-bslib
|
||||
- r-callr
|
||||
- r-cli
|
||||
- r-desc
|
||||
- r-digest
|
||||
- r-downlit
|
||||
- r-fs
|
||||
- r-httr
|
||||
- r-jsonlite
|
||||
- r-magrittr
|
||||
- r-memoise
|
||||
- r-purrr
|
||||
- r-ragg
|
||||
- r-rlang
|
||||
- r-rmarkdown
|
||||
- r-tibble
|
||||
- r-whisker
|
||||
- r-withr
|
||||
- r-xml2
|
||||
- r-yaml
|
||||
update_on:
|
||||
- regex: pkgdown_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=pkgdown
|
37
BioArchLinux/r-profvis/PKGBUILD
Normal file
37
BioArchLinux/r-profvis/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=profvis
|
||||
_pkgver=0.3.7
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Interactive Visualizations for Profiling R Code'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
r-htmlwidgets
|
||||
r-stringr
|
||||
)
|
||||
optdepends=(
|
||||
r-devtools
|
||||
r-ggplot2
|
||||
r-htmltools
|
||||
r-knitr
|
||||
r-rmarkdown
|
||||
r-shiny
|
||||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('43974863cb793f81dbea4b94096343c321f7739c9038980405c9b16b04a906b9')
|
||||
|
||||
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-profvis/lilac.py
Normal file
12
BioArchLinux/r-profvis/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()
|
10
BioArchLinux/r-profvis/lilac.yaml
Normal file
10
BioArchLinux/r-profvis/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-htmlwidgets
|
||||
- r-stringr
|
||||
update_on:
|
||||
- regex: profvis_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=profvis
|
32
BioArchLinux/r-urlchecker/PKGBUILD
Normal file
32
BioArchLinux/r-urlchecker/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: sukanka <su975853527@gmail.com>
|
||||
|
||||
_pkgname=urlchecker
|
||||
_pkgver=1.0.1
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Run CRAN URL Checks from Older R Versions'
|
||||
arch=('any')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
r-cli
|
||||
r-curl
|
||||
r-xml2
|
||||
)
|
||||
optdepends=(
|
||||
r-covr
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('62165ddbe1b748b58c71a50c8f07fdde6f3d19a7b39787b9fa2b4f9216250318')
|
||||
|
||||
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-urlchecker/lilac.py
Normal file
12
BioArchLinux/r-urlchecker/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()
|
11
BioArchLinux/r-urlchecker/lilac.yaml
Normal file
11
BioArchLinux/r-urlchecker/lilac.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
repo_depends:
|
||||
- r-cli
|
||||
- r-curl
|
||||
- r-xml2
|
||||
update_on:
|
||||
- regex: urlchecker_([\d._-]+).tar.gz
|
||||
source: regex
|
||||
url: https://cran.r-project.org/package=urlchecker
|
Loading…
Add table
Reference in a new issue