diff options
Diffstat (limited to 'textproc/rubygem-html2text')
-rw-r--r-- | textproc/rubygem-html2text/Makefile | 9 | ||||
-rw-r--r-- | textproc/rubygem-html2text/distinfo | 6 | ||||
-rw-r--r-- | 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@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"]) |