git: 4e63182239f8 - main - textproc/rubygem-html2text: Update to 0.3.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jul 21 18:14:14 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e63182239f86225fe7b263bab12b60e67a8e1d4
commit 4e63182239f86225fe7b263bab12b60e67a8e1d4
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-21 17:19:40 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-21 18:12:01 +0000
textproc/rubygem-html2text: Update to 0.3.1
- Update version requirement of RUN_DEPENDS
Changes: https://github.com/soundasleep/html2text_ruby/blob/master/CHANGELOG.md
---
textproc/rubygem-html2text/Makefile | 9 +++++----
textproc/rubygem-html2text/distinfo | 6 +++---
textproc/rubygem-html2text/files/patch-gemspec | 11 +++++++++++
3 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/textproc/rubygem-html2text/Makefile b/textproc/rubygem-html2text/Makefile
index 781ae2ee7c0f..7be078fd99d1 100644
--- a/textproc/rubygem-html2text/Makefile
+++ b/textproc/rubygem-html2text/Makefile
@@ -1,7 +1,7 @@
# Created by: Torsten Zuehlsdorff <tz at FreeBSD.org>
PORTNAME= html2text
-PORTVERSION= 0.2.1
+PORTVERSION= 0.3.1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@@ -11,10 +11,11 @@ COMMENT= Convert HTML into a plain text format
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-RUN_DEPENDS= rubygem-nokogiri>=1.6:textproc/rubygem-nokogiri
+RUN_DEPENDS= rubygem-nokogiri>=1.10.3<2:textproc/rubygem-nokogiri
-NO_ARCH= yes
-USE_RUBY= yes
USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/rubygem-html2text/distinfo b/textproc/rubygem-html2text/distinfo
index 491ffcb1cf4f..00b1a0f6b64f 100644
--- a/textproc/rubygem-html2text/distinfo
+++ b/textproc/rubygem-html2text/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506594773
-SHA256 (rubygem/html2text-0.2.1.gem) = be4a249478cd6061cb5a30824036015af1d34b2a8cd7d03c2a1e91d8e102720b
-SIZE (rubygem/html2text-0.2.1.gem) = 12288
+TIMESTAMP = 1626714686
+SHA256 (rubygem/html2text-0.3.1.gem) = 8cc85d74dfd57041eae3b0c28660497f5f7e8be235853e0ecd8431e4834fe1a2
+SIZE (rubygem/html2text-0.3.1.gem) = 28672
diff --git a/textproc/rubygem-html2text/files/patch-gemspec b/textproc/rubygem-html2text/files/patch-gemspec
new file mode 100644
index 000000000000..d0fa75f2b8fb
--- /dev/null
+++ b/textproc/rubygem-html2text/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- html2text.gemspec.orig 2021-07-19 20:02:19 UTC
++++ html2text.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.10.3"])
++ s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.10", ">= 1.10.3"])
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
+ s.add_development_dependency(%q<rspec-collection_matchers>.freeze, [">= 0"])
+ s.add_development_dependency(%q<colorize>.freeze, [">= 0"])
More information about the dev-commits-ports-all
mailing list