summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/R-cran-stringr/Makefile11
-rw-r--r--textproc/R-cran-stringr/distinfo6
-rw-r--r--textproc/p5-BibTeX-Parser/Makefile2
-rw-r--r--textproc/p5-BibTeX-Parser/distinfo6
-rw-r--r--textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm11
-rw-r--r--textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm11
-rw-r--r--textproc/py-mdformat/Makefile6
-rw-r--r--textproc/tree-sitter-grammars/Makefile4
-rw-r--r--textproc/tree-sitter-grammars/files/patch-src_main.rs8
-rw-r--r--textproc/xml2rfc/Makefile2
-rw-r--r--textproc/xml2rfc/distinfo6
11 files changed, 31 insertions, 42 deletions
diff --git a/textproc/R-cran-stringr/Makefile b/textproc/R-cran-stringr/Makefile
index 3cc747260f68..8ac1ac665a17 100644
--- a/textproc/R-cran-stringr/Makefile
+++ b/textproc/R-cran-stringr/Makefile
@@ -1,24 +1,23 @@
PORTNAME= stringr
-PORTVERSION= 1.5.1
+DISTVERSION= 1.5.2
CATEGORIES= textproc
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Make it easier to work with strings
WWW= https://cran.r-project.org/web/packages/stringr/
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-CRAN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \
+RUN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \
R-cran-glue>=1.6.1:devel/R-cran-glue \
R-cran-lifecycle>=1.0.3:devel/R-cran-lifecycle \
R-cran-magrittr>0:devel/R-cran-magrittr \
R-cran-rlang>=1.0.0:devel/R-cran-rlang \
R-cran-stringi>=1.5.3:textproc/R-cran-stringi \
R-cran-vctrs>0:devel/R-cran-vctrs
-BUILD_DEPENDS= ${CRAN_DEPENDS}
-RUN_DEPENDS= ${CRAN_DEPENDS}
-USES= cran:auto-plist
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/textproc/R-cran-stringr/distinfo b/textproc/R-cran-stringr/distinfo
index 9934aca75fea..006bfa4f63b7 100644
--- a/textproc/R-cran-stringr/distinfo
+++ b/textproc/R-cran-stringr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702216442
-SHA256 (stringr_1.5.1.tar.gz) = a4adec51bb3f04214b1d8ef40d3a58949f21b1497cbeaf2ba552e0891eef45de
-SIZE (stringr_1.5.1.tar.gz) = 176599
+TIMESTAMP = 1757509235
+SHA256 (stringr_1.5.2.tar.gz) = d410ecb4f19c3fd07bb32142d5d0286e2f19f1533ba86243776326a4e73837a3
+SIZE (stringr_1.5.2.tar.gz) = 178018
diff --git a/textproc/p5-BibTeX-Parser/Makefile b/textproc/p5-BibTeX-Parser/Makefile
index b61a676e591a..cc43ba6212f1 100644
--- a/textproc/p5-BibTeX-Parser/Makefile
+++ b/textproc/p5-BibTeX-Parser/Makefile
@@ -1,5 +1,5 @@
PORTNAME= BibTeX-Parser
-PORTVERSION= 1.92
+PORTVERSION= 1.93
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BORISV
diff --git a/textproc/p5-BibTeX-Parser/distinfo b/textproc/p5-BibTeX-Parser/distinfo
index 05a48bf36b99..5e91e2bd4e0a 100644
--- a/textproc/p5-BibTeX-Parser/distinfo
+++ b/textproc/p5-BibTeX-Parser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752262879
-SHA256 (BibTeX-Parser-1.92.tar.gz) = 5995391d232d75c846456eaf23c385d156bf4c0f98aa6ac7a21de4575a324763
-SIZE (BibTeX-Parser-1.92.tar.gz) = 28819
+TIMESTAMP = 1757520516
+SHA256 (BibTeX-Parser-1.93.tar.gz) = 6ea3682cd6ecb91a772d7c233366f1a51258253997a208d1451deda56487a5ca
+SIZE (BibTeX-Parser-1.93.tar.gz) = 28939
diff --git a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm b/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm
deleted file mode 100644
index 0051d3abf59e..000000000000
--- a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/BibTeX/Parser/Author.pm.orig 2025-07-11 19:47:50 UTC
-+++ lib/BibTeX/Parser/Author.pm
-@@ -5,7 +5,7 @@ use strict;
-
- use warnings;
- use strict;
--use BibTeX::Parser qw (_split_braced_string);
-+use BibTeX::Parser;
-
- use overload
- '""' => \&to_string;
diff --git a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm b/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm
deleted file mode 100644
index 6da048ae52a8..000000000000
--- a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/BibTeX/Parser/Entry.pm.orig 2025-07-11 19:47:56 UTC
-+++ lib/BibTeX/Parser/Entry.pm
-@@ -7,7 +7,7 @@ use BibTeX::Parser::Author;
- use strict;
-
- use BibTeX::Parser::Author;
--use BibTeX::Parser qw (_split_braced_string);
-+use BibTeX::Parser;
-
- sub new {
- my ($class, $type, $key, $parse_ok, $fieldsref) = @_;
diff --git a/textproc/py-mdformat/Makefile b/textproc/py-mdformat/Makefile
index 043ff38dc623..989ab1be270d 100644
--- a/textproc/py-mdformat/Makefile
+++ b/textproc/py-mdformat/Makefile
@@ -1,13 +1,13 @@
# XXX: see below (post-patch target) before updating
PORTNAME= mdformat
DISTVERSION= 0.7.22
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= CommonMark compliant Markdown formatter
-WWW= https://github.com/executablebooks/mdformat
+WWW= https://github.com/hukkin/mdformat
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${P
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1<5:textproc/py-markdown-it-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mdurl>=0.1.2:textproc/py-mdurl@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} \
+ ${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3.0_1:devel/py-covdefaults@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0:devel/py-pytest-cov@${PY_FLAVOR} \
diff --git a/textproc/tree-sitter-grammars/Makefile b/textproc/tree-sitter-grammars/Makefile
index 586c9ea4c669..c2aec35d5499 100644
--- a/textproc/tree-sitter-grammars/Makefile
+++ b/textproc/tree-sitter-grammars/Makefile
@@ -60,6 +60,10 @@ post-extract:
${CP} ${DISTDIR}/${LANG_HASH}/languages.toml ${WRKSRC}
+post-patch:
+ ${REINPLACE_CMD} "s#WRKDIR#${WRKDIR}#" \
+ ${WRKSRC}/src/main.rs
+
post-build:
cd ${WRKSRC}; \
${CARGO_TARGET_DIR}/release/build-tree-sitter --output ./output --tmp ${WRKSRC}/grammars
diff --git a/textproc/tree-sitter-grammars/files/patch-src_main.rs b/textproc/tree-sitter-grammars/files/patch-src_main.rs
index 4197c86a3f26..ea6c62211292 100644
--- a/textproc/tree-sitter-grammars/files/patch-src_main.rs
+++ b/textproc/tree-sitter-grammars/files/patch-src_main.rs
@@ -31,3 +31,11 @@
let path = if let Some(subpath) = grammar.source.subpath.as_ref() {
path.join(subpath)
} else {
+@@ -171,6 +171,7 @@ fn build_tree_sitter(name: &str, path: &Path, output:
+ fn build_tree_sitter(name: &str, path: &Path, output: &Path) -> Result<()> {
+ println!("-----------------------------------");
+ println!("now building tree sitter for {name}");
++ std::env::set_var("XDG_CACHE_HOME", "WRKDIR/.cache");
+ let output = Command::new("tree-sitter")
+ .current_dir(path)
+ .arg("build")
diff --git a/textproc/xml2rfc/Makefile b/textproc/xml2rfc/Makefile
index eb8d426ef60e..581304b2d710 100644
--- a/textproc/xml2rfc/Makefile
+++ b/textproc/xml2rfc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xml2rfc
-PORTVERSION= 3.30.1
+PORTVERSION= 3.30.2
CATEGORIES= textproc
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/xml2rfc/distinfo b/textproc/xml2rfc/distinfo
index 668260943b53..5b1bfe643cdf 100644
--- a/textproc/xml2rfc/distinfo
+++ b/textproc/xml2rfc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756661238
-SHA256 (xml2rfc-3.30.1.tar.gz) = 9299d9a9f02c41a51da28674c54cf4ed99f457ea121edcc0727026fcfd21d746
-SIZE (xml2rfc-3.30.1.tar.gz) = 421403
+TIMESTAMP = 1757432609
+SHA256 (xml2rfc-3.30.2.tar.gz) = dfd9f23288cfa805ad5bb613c9540dc1b349da98e117a16e0ca887d2261ed311
+SIZE (xml2rfc-3.30.2.tar.gz) = 421930