Change RUN_DEPENDS from rubygem-parslet1 to rubygem-parslet

- Bump PORTREVISION for dependency and package change

rubygem-toml 0.2.0 is compatible with rubygem-parslet 2.x.

Reference:	91daa0673b
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-06 11:36:28 +00:00
parent 009d16eb69
commit 81a90e617c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554276
2 changed files with 13 additions and 2 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= toml
PORTVERSION= 0.2.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@ -13,7 +13,7 @@ COMMENT= TOML parser
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-parslet1>=1.8.0<1.9:textproc/rubygem-parslet1
RUN_DEPENDS= rubygem-parslet>=1.8.0<3.0.0:textproc/rubygem-parslet
USES= gem
USE_RUBY= yes

View file

@ -0,0 +1,11 @@
--- toml.gemspec.orig 2020-10-23 17:16:49 UTC
+++ toml.gemspec
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.specification_version = 2
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<parslet>.freeze, ["~> 1.8.0"])
+ s.add_runtime_dependency(%q<parslet>.freeze, [">= 1.8.0", "< 3.0.0"])
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
else
s.add_dependency(%q<parslet>.freeze, ["~> 1.8.0"])