mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add r-httpgd and r-bayesrules
This commit is contained in:
parent
8e04c67266
commit
4ef3ae8c21
15 changed files with 351 additions and 0 deletions
38
BioArchLinux/r-bayesrules/PKGBUILD
Normal file
38
BioArchLinux/r-bayesrules/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=bayesrules
|
||||||
|
_pkgver=0.0.2
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Datasets and Supplemental Functions from Bayes Rules! Book'
|
||||||
|
arch=('any')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-dplyr
|
||||||
|
r-e1071
|
||||||
|
r-ggplot2
|
||||||
|
r-groupdata2
|
||||||
|
r-janitor
|
||||||
|
r-magrittr
|
||||||
|
r-purrr
|
||||||
|
r-rstanarm
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-knitr
|
||||||
|
r-rmarkdown
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('8bc801d95109c8e38867ffd9036566ce53f974601883d60b4a3eab90b00a2a28')
|
||||||
|
|
||||||
|
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-bayesrules/lilac.py
Normal file
12
BioArchLinux/r-bayesrules/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()
|
16
BioArchLinux/r-bayesrules/lilac.yaml
Normal file
16
BioArchLinux/r-bayesrules/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-dplyr
|
||||||
|
- r-e1071
|
||||||
|
- r-ggplot2
|
||||||
|
- r-groupdata2
|
||||||
|
- r-janitor
|
||||||
|
- r-magrittr
|
||||||
|
- r-purrr
|
||||||
|
- r-rstanarm
|
||||||
|
update_on:
|
||||||
|
- regex: bayesrules_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=bayesrules
|
48
BioArchLinux/r-groupdata2/PKGBUILD
Normal file
48
BioArchLinux/r-groupdata2/PKGBUILD
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=groupdata2
|
||||||
|
_pkgver=2.0.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Creating Groups from Data'
|
||||||
|
arch=('any')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('MIT')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-checkmate
|
||||||
|
r-dplyr
|
||||||
|
r-lifecycle
|
||||||
|
r-numbers
|
||||||
|
r-plyr
|
||||||
|
r-purrr
|
||||||
|
r-rearrr
|
||||||
|
r-rlang
|
||||||
|
r-tibble
|
||||||
|
r-tidyr
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-broom
|
||||||
|
r-covr
|
||||||
|
r-ggplot2
|
||||||
|
r-hydrogof
|
||||||
|
r-knitr
|
||||||
|
r-lmertest
|
||||||
|
r-rmarkdown
|
||||||
|
r-testthat
|
||||||
|
r-xpectr
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('a314616e31eaf21039525c9077a8171efc1743199e38de0aa726f30fa413c4e8')
|
||||||
|
|
||||||
|
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-groupdata2/lilac.py
Normal file
12
BioArchLinux/r-groupdata2/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-groupdata2/lilac.yaml
Normal file
18
BioArchLinux/r-groupdata2/lilac.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-checkmate
|
||||||
|
- r-dplyr
|
||||||
|
- r-lifecycle
|
||||||
|
- r-numbers
|
||||||
|
- r-plyr
|
||||||
|
- r-purrr
|
||||||
|
- r-rearrr
|
||||||
|
- r-rlang
|
||||||
|
- r-tibble
|
||||||
|
- r-tidyr
|
||||||
|
update_on:
|
||||||
|
- regex: groupdata2_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=groupdata2
|
42
BioArchLinux/r-httpgd/PKGBUILD
Normal file
42
BioArchLinux/r-httpgd/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# system requirements: C++17, libpng, cairo, freetype2, fontconfig
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=httpgd
|
||||||
|
_pkgver=1.3.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A 'HTTP' Server Graphics Device"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-bh
|
||||||
|
r-cpp11
|
||||||
|
r-later
|
||||||
|
r-systemfonts
|
||||||
|
libpng
|
||||||
|
cairo
|
||||||
|
freetype2
|
||||||
|
fontconfig
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-fontquiver
|
||||||
|
r-knitr
|
||||||
|
r-rmarkdown
|
||||||
|
r-testthat
|
||||||
|
r-xml2
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('f3d6cdac150a8209283121e1394c8e27dd4cb89ecae1c436fb5f5bf774f3f35f')
|
||||||
|
|
||||||
|
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-httpgd/lilac.py
Normal file
12
BioArchLinux/r-httpgd/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()
|
17
BioArchLinux/r-httpgd/lilac.yaml
Normal file
17
BioArchLinux/r-httpgd/lilac.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-bh
|
||||||
|
- r-cpp11
|
||||||
|
- r-later
|
||||||
|
- r-systemfonts
|
||||||
|
- libpng
|
||||||
|
- cairo
|
||||||
|
- freetype2
|
||||||
|
- fontconfig
|
||||||
|
update_on:
|
||||||
|
- regex: httpgd_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=httpgd
|
||||||
|
- alias: cairo
|
46
BioArchLinux/r-janitor/PKGBUILD
Normal file
46
BioArchLinux/r-janitor/PKGBUILD
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=janitor
|
||||||
|
_pkgver=2.1.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Simple Tools for Examining and Cleaning Dirty Data'
|
||||||
|
arch=('any')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('MIT')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-dplyr
|
||||||
|
r-lifecycle
|
||||||
|
r-lubridate
|
||||||
|
r-magrittr
|
||||||
|
r-purrr
|
||||||
|
r-rlang
|
||||||
|
r-snakecase
|
||||||
|
r-stringi
|
||||||
|
r-stringr
|
||||||
|
r-tidyr
|
||||||
|
r-tidyselect
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-knitr
|
||||||
|
r-rmarkdown
|
||||||
|
r-sf
|
||||||
|
r-testthat
|
||||||
|
r-tibble
|
||||||
|
r-tidygraph
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('d60615940fbe174f67799c8abc797f27928eca4ac180418527c5897a4aaad826')
|
||||||
|
|
||||||
|
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-janitor/lilac.py
Normal file
12
BioArchLinux/r-janitor/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()
|
19
BioArchLinux/r-janitor/lilac.yaml
Normal file
19
BioArchLinux/r-janitor/lilac.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-dplyr
|
||||||
|
- r-lifecycle
|
||||||
|
- r-lubridate
|
||||||
|
- r-magrittr
|
||||||
|
- r-purrr
|
||||||
|
- r-rlang
|
||||||
|
- r-snakecase
|
||||||
|
- r-stringi
|
||||||
|
- r-stringr
|
||||||
|
- r-tidyr
|
||||||
|
- r-tidyselect
|
||||||
|
update_on:
|
||||||
|
- regex: janitor_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=janitor
|
37
BioArchLinux/r-snakecase/PKGBUILD
Normal file
37
BioArchLinux/r-snakecase/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Maintainer: sukanka <su975853527@gmail.com>
|
||||||
|
|
||||||
|
_pkgname=snakecase
|
||||||
|
_pkgver=0.11.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Convert Strings into any Case'
|
||||||
|
arch=('any')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-stringi
|
||||||
|
r-stringr
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-covr
|
||||||
|
r-knitr
|
||||||
|
r-magrittr
|
||||||
|
r-purrrlyr
|
||||||
|
r-rmarkdown
|
||||||
|
r-testthat
|
||||||
|
r-tibble
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('998420a58391ac85785e60bcdf6fd6927c82758ad2859a9a73a0e57299e8c1cf')
|
||||||
|
|
||||||
|
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-snakecase/lilac.py
Normal file
12
BioArchLinux/r-snakecase/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-snakecase/lilac.yaml
Normal file
10
BioArchLinux/r-snakecase/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
repo_depends:
|
||||||
|
- r-stringi
|
||||||
|
- r-stringr
|
||||||
|
update_on:
|
||||||
|
- regex: snakecase_([\d._-]+).tar.gz
|
||||||
|
source: regex
|
||||||
|
url: https://cran.r-project.org/package=snakecase
|
Loading…
Add table
Reference in a new issue