~dricottone/pkgbuilds

f867d3c9b38973c98398ea8a8f2825ad776de1ef — Dominic Ricottone 11 months ago ac15488
Added r-tidytext and dependencies

Added r-tidytext, r-janeaustenr, r-snowballc, and r-tokenizers.
M Makefile => Makefile +12 -0
@@ 148,6 148,9 @@ r-ids:
r-isoband:
	cd $@ && make build

r-janeaustenr:
	cd $@ && make build

r-jsonlite:
	cd $@ && make build



@@ 262,6 265,9 @@ r-scales:
r-selectr:
	cd $@ && make build

r-snowballc:
	cd $@ && make build

r-stringi:
	cd $@ && make build



@@ 286,6 292,9 @@ r-tidyr:
r-tidyselect:
	cd $@ && make build

r-tidytext:
	cd $@ && make build

r-tidyverse:
	cd $@ && make build



@@ 295,6 304,9 @@ r-timechange:
r-tinytex:
	cd $@ && make build

r-tokenizers:
	cd $@ && make build

r-tzdb:
	cd $@ && make build


M README.md => README.md +11 -0
@@ 298,4 298,15 @@ flowchart TD
    r-rmarkdown --> r-fontawesome
    r-rmarkdown --> r-tinytex
    r-rmarkdown --> r-stringr

    r-tokenizers --> r-stringi
    r-tokenizers --> r-rcpp
    r-tokenizers --> r-snowballc

    r-tidytext --> r-stringr
    r-tidytext --> r-dplyr
    r-tidytext --> r-janeaustenr
    r-tidytext --> r-matrix
    r-tidytext --> r-purrr
    r-tidytext --> r-tokenizers
```

M r-dplyr/Makefile => r-dplyr/Makefile +1 -0
@@ 22,4 22,5 @@ build: .SRCINFO
		-I ~/pkg/local/pkgs/r-withr-2.5.2-2-any.pkg.tar.zst
	@echo "Please sign package and rebuild **r-dtplyr**!"
	@echo "Please sign package and rebuild **r-tidyr**!"
	@echo "Please sign package and rebuild **r-tidytext**!"


A r-janeaustenr/.SRCINFO => r-janeaustenr/.SRCINFO +14 -0
@@ 0,0 1,14 @@
pkgbase = r-janeaustenr
	pkgdesc = Full texts for Jane Austen's 6 completed novels, ready for text analysis.
	pkgver = 1.0.0
	pkgrel = 1
	url = https://cran.r-project.org/package=janeaustenr
	arch = any
	license = MIT
	depends = r
	optdepends = r-dplyr
	optdepends = r-testthat
	source = https://cran.r-project.org/src/contrib/janeaustenr_1.0.0.tar.gz
	sha256sums = b4c32ee1395ee4a8efe714c535c0fe578b0dbf5f3bb85b41fa5cc87569b8e8aa

pkgname = r-janeaustenr

A r-janeaustenr/Makefile => r-janeaustenr/Makefile +9 -0
@@ 0,0 1,9 @@
.SRCINFO:
	makepkg --printsrcinfo > .SRCINFO

.PHONY: build
build: .SRCINFO
	arch-nspawn $$CHROOT/root pacman -Syu
	makechrootpkg -c -r $$CHROOT
	@echo "Please sign package and rebuild **r-tidytext**!"


A r-janeaustenr/PKGBUILD => r-janeaustenr/PKGBUILD +23 -0
@@ 0,0 1,23 @@
_cranname=janeaustenr
_cranver=1.0.0
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Full texts for Jane Austen's 6 completed novels, ready for text analysis."
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=(r)
optdepends=(r-dplyr r-testthat)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('b4c32ee1395ee4a8efe714c535c0fe578b0dbf5f3bb85b41fa5cc87569b8e8aa')

build() {
  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"

  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}

M r-purrr/Makefile => r-purrr/Makefile +1 -0
@@ 13,4 13,5 @@ build: .SRCINFO
		-I ~/pkg/local/pkgs/r-vctrs-0.6.4-1-x86_64.pkg.tar.zst
	@echo "Please sign package and rebuild **r-googledrive**!"
	@echo "Please sign package and rebuild **r-tidyr**!"
	@echo "Please sign package and rebuild **r-tidytext**!"


A r-snowballc/.SRCINFO => r-snowballc/.SRCINFO +12 -0
@@ 0,0 1,12 @@
pkgbase = r-snowballc
	pkgdesc = An R interface to the C 'libstemmer' library.
	pkgver = 0.7.1
	pkgrel = 1
	url = https://cran.r-project.org/package=SnowballC
	arch = any
	license = MIT
	depends = r
	source = https://cran.r-project.org/src/contrib/SnowballC_0.7.1.tar.gz
	sha256sums = 753cf13f3206751662c03b1cf39bce9e680024f6d9f8503b836a83797181c034

pkgname = r-snowballc

A r-snowballc/Makefile => r-snowballc/Makefile +9 -0
@@ 0,0 1,9 @@
.SRCINFO:
	makepkg --printsrcinfo > .SRCINFO

.PHONY: build
build: .SRCINFO
	arch-nspawn $$CHROOT/root pacman -Syu
	makechrootpkg -c -r $$CHROOT
	@echo "Please sign package and rebuild **r-tokenizer**!"


A r-snowballc/PKGBUILD => r-snowballc/PKGBUILD +22 -0
@@ 0,0 1,22 @@
_cranname=SnowballC
_cranver=0.7.1
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="An R interface to the C 'libstemmer' library."
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(BSD)
depends=(r)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('753cf13f3206751662c03b1cf39bce9e680024f6d9f8503b836a83797181c034')

build() {
  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"

  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}

M r-stringr/Makefile => r-stringr/Makefile +1 -0
@@ 15,4 15,5 @@ build: .SRCINFO
	@echo "Please sign package and rebuild **r-rmarkdown**!"
	@echo "Please sign package and rebuild **r-selectr**!"
	@echo "Please sign package and rebuild **r-tidyr**!"
	@echo "Please sign package and rebuild **r-tidytext**!"


A r-tidytext/.SRCINFO => r-tidytext/.SRCINFO +47 -0
@@ 0,0 1,47 @@
pkgbase = r-tidytext
	pkgdesc = Functions and supporting data sets to allow conversion of text to and from tidy formats, and to switch seamlessly between tidy tools and existing text mining packages.
	pkgver = 0.4.1
	pkgrel = 1
	url = https://cran.r-project.org/package=tidytext
	arch = any
	license = MIT
	depends = r>=2.10
	depends = r-cli
	depends = r-dplyr
	depends = r-generics
	depends = r-janeaustenr
	depends = r-lifecycle
	depends = r-matrix
	depends = r-methods
	depends = r-purrr
	depends = r-rlang>=0.4.10
	depends = r-stringr
	depends = r-tibble
	depends = r-tokenizers
	depends = r-vctrs
	optdepends = r-broom
	optdepends = r-covr
	optdepends = r-data.table
	optdepends = r-ggplot2
	optdepends = r-hunspell
	optdepends = r-knitr
	optdepends = r-mallet
	optdepends = r-nlp
	optdepends = r-quanteda
	optdepends = r-readr
	optdepends = r-reshape2
	optdepends = r-rmarkdown
	optdepends = r-scales
	optdepends = r-stm
	optdepends = r-stopwords
	optdepends = r-testthat>=2.1.0
	optdepends = r-textdata
	optdepends = r-tidyr
	optdepends = r-tm
	optdepends = r-topicmodels
	optdepends = r-vdiffr
	optdepends = r-wordcloud
	source = https://cran.r-project.org/src/contrib/tidytext_0.4.1.tar.gz
	sha256sums = 526750a2cc8ac7b65be1093f4c9186aa27f0a22f00023a6d6b3b878e1310c815

pkgname = r-tidytext

A r-tidytext/Makefile => r-tidytext/Makefile +32 -0
@@ 0,0 1,32 @@
.SRCINFO:
	makepkg --printsrcinfo > .SRCINFO

.PHONY: build
build: .SRCINFO
	arch-nspawn $$CHROOT/root pacman -Syu
	makechrootpkg -c -r $$CHROOT \
		-I ~/pkg/local/pkgs/r-cli-3.6.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-dplyr-1.1.4-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-fansi-1.0.5-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-generics-0.1.3-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-glue-1.6.2-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-janeaustenr-1.0.0-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-lifecycle-1.0.4-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-magrittr-2.0.3-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-pillar-1.9.0-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-pkgconfig-2.0.3-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-purrr-1.0.2-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-r6-2.5.1-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-rcpp-1.0.11-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-rlang-1.1.2-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-snowballc-0.7.1-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-stringi-1.8.2-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-stringr-1.5.1-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-tibble-3.2.1-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-tidyselect-1.2.0-2-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-tokenizers-0.3.0-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-utf8-1.2.4-2-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-vctrs-0.6.4-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-withr-2.5.2-2-any.pkg.tar.zst



A r-tidytext/PKGBUILD => r-tidytext/PKGBUILD +27 -0
@@ 0,0 1,27 @@
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Pranav K Anupam <pranavanupam@yahoo.com>
# Contributor: Alex Branham <branham@utexas.edu>

_cranname=tidytext
_cranver=0.4.1
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Functions and supporting data sets to allow conversion of text to and from tidy formats, and to switch seamlessly between tidy tools and existing text mining packages."
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=2.10' r-cli r-dplyr r-generics r-janeaustenr r-lifecycle r-matrix r-methods r-purrr 'r-rlang>=0.4.10' r-stringr r-tibble r-tokenizers r-vctrs)
optdepends=(r-broom r-covr r-data.table r-ggplot2 r-hunspell r-knitr r-mallet r-nlp r-quanteda r-readr r-reshape2 r-rmarkdown r-scales r-stm r-stopwords 'r-testthat>=2.1.0' r-textdata r-tidyr r-tm r-topicmodels r-vdiffr r-wordcloud)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('526750a2cc8ac7b65be1093f4c9186aa27f0a22f00023a6d6b3b878e1310c815')

build() {
  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"

  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}

A r-tokenizers/.SRCINFO => r-tokenizers/.SRCINFO +15 -0
@@ 0,0 1,15 @@
pkgbase = r-tokenizers
	pkgdesc = Convert natural language text into tokens.
	pkgver = 0.3.0
	pkgrel = 1
	url = https://cran.r-project.org/package=tokenizers
	arch = any
	license = MIT
	depends = r>=3.1.3
	depends = r-stringi>1.0.1
	depends = r-rcpp>=0.12.3
	depends = r-snowballc>=0.5.1
	source = https://cran.r-project.org/src/contrib/tokenizers_0.3.0.tar.gz
	sha256sums = 24571e4642a1a2d9f4f4c7a363b514eece74788d59c09012a5190ee718a91c29

pkgname = r-tokenizers

A r-tokenizers/Makefile => r-tokenizers/Makefile +12 -0
@@ 0,0 1,12 @@
.SRCINFO:
	makepkg --printsrcinfo > .SRCINFO

.PHONY: build
build: .SRCINFO
	arch-nspawn $$CHROOT/root pacman -Syu
	makechrootpkg -c -r $$CHROOT \
		-I ~/pkg/local/pkgs/r-rcpp-1.0.11-1-x86_64.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-snowballc-0.7.1-1-any.pkg.tar.zst \
		-I ~/pkg/local/pkgs/r-stringi-1.8.2-2-x86_64.pkg.tar.zst
	@echo "Please sign package and rebuild **r-tidytext**!"


A r-tokenizers/PKGBUILD => r-tokenizers/PKGBUILD +25 -0
@@ 0,0 1,25 @@
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Grey Christoforo <first name at last name dot net>

_cranname=tokenizers
_cranver=0.3.0
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Convert natural language text into tokens."
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.1.3' 'r-stringi>1.0.1' 'r-rcpp>=0.12.3' 'r-snowballc>=0.5.1')
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('24571e4642a1a2d9f4f4c7a363b514eece74788d59c09012a5190ee718a91c29')

build() {
  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"

  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}