Fix gemspec for rubygem-rbvmomi 2.0.0 update

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-02-18 21:06:19 +00:00
parent 7e806c1ab6
commit 25b6e12d10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493323
2 changed files with 15 additions and 2 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= fog-vsphere
PORTVERSION= 2.5.0
PORTREVISION= 1
CATEGORIES= net rubygems
MASTER_SITES= RG
@ -15,8 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-fog-core>=0:devel/rubygem-fog-core \
rubygem-rbvmomi>=1.9:net/rubygem-rbvmomi
NO_ARCH= yes
USE_RUBY= yes
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- fog-vsphere.gemspec.orig 2019-02-17 19:59:32 UTC
+++ fog-vsphere.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<fog-core>.freeze, [">= 0"])
- s.add_runtime_dependency(%q<rbvmomi>.freeze, ["~> 1.9"])
+ s.add_runtime_dependency(%q<rbvmomi>.freeze, [">= 1.9", "< 3"])
s.add_development_dependency(%q<bundler>.freeze, ["~> 1.10"])
s.add_development_dependency(%q<pry>.freeze, ["~> 0.10"])
s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])