git: 9bb0dfed1f05 - main - devel/rubygem-nori: Update version requirement of RUN_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Jul 2025 04:42:18 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9bb0dfed1f05c31b0f58111fa5302da92bbddf47
commit 9bb0dfed1f05c31b0f58111fa5302da92bbddf47
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-29 04:00:54 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-29 04:32:13 +0000
devel/rubygem-nori: Update version requirement of RUN_DEPENDS
- Update pkg-descr
- Take maintainership
---
devel/rubygem-nori/Makefile | 16 +++++++---------
devel/rubygem-nori/pkg-descr | 7 ++++++-
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/devel/rubygem-nori/Makefile b/devel/rubygem-nori/Makefile
index b32b79947c67..b42fdfa74b08 100644
--- a/devel/rubygem-nori/Makefile
+++ b/devel/rubygem-nori/Makefile
@@ -3,28 +3,26 @@ DISTVERSION= 2.7.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Library for converting XML to Hash syntax
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= XML to Hash translator
WWW= https://github.com/savonrb/nori
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-bigdecimal>0:math/rubygem-bigdecimal
+RUN_DEPENDS= rubygem-bigdecimal>=0:math/rubygem-bigdecimal
USES= gem
NO_ARCH= yes
-OPTIONS_DEFAULT= NOKOGIRI
-
-OPTIONS_MULTI= PARSER
+OPTIONS_MULTI= PARSER
OPTIONS_MULTI_PARSER= NOKOGIRI REXML
-
+OPTIONS_DEFAULT=NOKOGIRI
NOKOGIRI_DESC= Use Nokogiri as parser
REXML_DESC= Use REXML as parser
-NOKOGIRI_RUN_DEPENDS= rubygem-nokogiri>0:textproc/rubygem-nokogiri
-REXML_RUN_DEPENDS= rubygem-rexml>0:textproc/rubygem-rexml
+NOKOGIRI_RUN_DEPENDS= rubygem-nokogiri>=0:textproc/rubygem-nokogiri
+REXML_RUN_DEPENDS= rubygem-rexml>=3.2<4:textproc/rubygem-rexml
.include <bsd.port.mk>
diff --git a/devel/rubygem-nori/pkg-descr b/devel/rubygem-nori/pkg-descr
index e1044fa8fefe..8214c6b6b8eb 100644
--- a/devel/rubygem-nori/pkg-descr
+++ b/devel/rubygem-nori/pkg-descr
@@ -1 +1,6 @@
-XML to Hash translator.
+Really simple XML parsing ripped from Crack, which ripped it from Merb.
+
+Nori supports pluggable parsers and ships with both REXML and Nokogiri
+implementations.
+
+It defaults to Nokogiri since v2.0.0, but you can change it to use REXML.