<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6db1ea382de873848b94b2b682eb44e4c09d8d1b">https://github.com/macports/macports-ports/commit/6db1ea382de873848b94b2b682eb44e4c09d8d1b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6db1ea382de873848b94b2b682eb44e4c09d8d1b
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Fri Apr 5 16:07:04 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> R-quanteda: update to 4.0.0
</span>---
R/R-quanteda/Portfile | 28 +++++++++++++++++++++-------
R/R-quanteda/files/patch-Makevars.diff | 7 +++++++
2 files changed, 28 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-quanteda/Portfile b/R/R-quanteda/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2ca59f75625..6527a3ab9f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-quanteda/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-quanteda/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,28 +4,42 @@ PortSystem 1.0
</span> PortGroup R 1.0
# Revert to GitHub once updated there.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-R.setup cran quanteda quanteda 3.3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup cran quanteda quanteda 4.0.0
</span> revision 0
categories-append textproc
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span> description Quantitative Analysis of Textual Data
long_description {*}${description}
homepage https://quanteda.io
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d1addbdb8dfc3da01c0f4f7d95ec7931b7711223 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 628542307d7ac45d4996fbc993a43ed5efcca73d97735ca74a10ccea401d4166 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 4242312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f922698cba12639e4ddced25953211e644d1a282 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 713054d790ecb8ed58b4a42ab4ffb78a624f4ee9b321f186e9bec78c7cec9f92 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4095204
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:R-fastmatch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Notice that 4.0.0 has switched to using OneTBB instead of R-RcppParallel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# (which is an R interface to a legacy TBB). The last version to use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# R-RcppParallel is 3.3.1. If OneTBB happens to be broken for some system,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# R-quanteda can be conditionally reverted to 3.3.1.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:onetbb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-fastmatch \
</span> port:R-jsonlite \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:R-lifecycle \
</span> port:R-magrittr \
port:R-Rcpp \
port:R-RcppArmadillo \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:R-RcppParallel \
</span> port:R-SnowballC \
port:R-stopwords \
port:R-stringi \
port:R-xml2 \
port:R-yaml
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Make sure our OneTBB is found.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# configure script is broken and does nothing.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makevars.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/Makevars.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compilers.setup require_fortran
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-quanteda/files/patch-Makevars.diff b/R/R-quanteda/files/patch-Makevars.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1961fe2561e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-quanteda/files/patch-Makevars.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makevars.in 2024-04-03 18:46:42.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makevars.in 2024-04-05 15:51:31.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,2 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) @TBB_LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKG_CXXFLAGS = -I../inst/include @TBB_CFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) -L@PREFIX@/libexec/onetbb/lib @TBB_LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKG_CXXFLAGS = -I@PREFIX@/libexec/onetbb/include -I../inst/include @TBB_CFLAGS@
</span></pre><pre style='margin:0'>
</pre>