Files
2026-05-02 11:50:56 +04:00

67 lines
2.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup R 1.0
# Revert to GitHub once updated there.
R.setup cran quanteda quanteda 4.0.2
revision 1
categories-append textproc
maintainers nomaintainer
license GPL-3
description Quantitative Analysis of Textual Data
long_description {*}${description}
homepage https://quanteda.io
checksums rmd160 1c7946889b56fc8fe695085f42b466e6584e5d23 \
sha256 b21c650c01f925e406057950455991f87979708e321688abf86638bbc63504e8 \
size 4328262
# Notice that 4.0.0 has switched to using OneTBB instead of R-RcppParallel
# (which is an R interface to a legacy TBB). The last version to use
# R-RcppParallel is 3.3.1. If OneTBB happens to be broken for some system,
# R-quanteda can be conditionally reverted to 3.3.1.
depends_build-append \
path:bin/pkg-config:pkgconfig
depends_lib-append port:onetbb \
port:R-fastmatch \
port:R-jsonlite \
port:R-lifecycle \
port:R-magrittr \
port:R-Rcpp \
port:R-RcppArmadillo \
port:R-SnowballC \
port:R-stopwords \
port:R-stringi \
port:R-xml2 \
port:R-yaml
# Make sure our OneTBB is found.
# configure script is broken and does nothing.
patchfiles patch-Makevars.diff
compilers.setup require_fortran
depends_test-append port:R-dplyr \
port:R-formatR \
port:R-knitr \
port:R-lda \
port:R-lsa \
port:R-purrr \
port:R-rlang \
port:R-rmarkdown \
port:R-slam \
port:R-spacyr \
port:R-spelling \
port:R-stm \
port:R-testthat \
port:R-text2vec \
port:R-tibble \
port:R-tidytext \
port:R-tm \
port:R-tokenizers \
port:R-topicmodels
test.run yes