Fix gemspec for rubygem-heredoc_unindent and rubygem-msgpack

- While I'm here:
  - Add LICENSE_FILE
  - Fix indent
- Bump PORTREVISION for package change

PR:		220685
Reported by:	lifanov
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 17 days)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-07-30 13:13:30 +00:00
parent 204389b227
commit 75dabf476d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446929
2 changed files with 14 additions and 7 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= amqp-utils
PORTVERSION= 0.5.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= net rubygems
MASTER_SITES= RG
@ -11,6 +11,7 @@ MAINTAINER= loic-freebsd@loicp.eu
COMMENT= Command line utilies for interacting with AMQP compliant queues
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/License.txt
RUN_DEPENDS= rubygem-amqp>=0.7.1:net/rubygem-amqp \
rubygem-clio>=0.3.0:devel/rubygem-clio \
@ -20,11 +21,11 @@ RUN_DEPENDS= rubygem-amqp>=0.7.1:net/rubygem-amqp \
rubygem-msgpack>=0.4.5:devel/rubygem-msgpack \
rubygem-trollop1>=1.16.2:devel/rubygem-trollop1
NO_ARCH= yes
USE_RUBY= yes
NO_ARCH= yes
USE_RUBY= yes
USES= gem
PLIST_FILES+= bin/amqp-deleteq bin/amqp-dequeue bin/amqp-enqueue bin/amqp-peek bin/amqp-pop \
PLIST_FILES= bin/amqp-deleteq bin/amqp-dequeue bin/amqp-enqueue bin/amqp-peek bin/amqp-pop \
bin/amqp-purge bin/amqp-spy bin/amqp-statq bin/amqp-unbind \
bin/amqp-delexch bin/amqp-exchange

View file

@ -1,6 +1,6 @@
--- amqp-utils.gemspec.orig 2016-03-31 18:24:58 UTC
--- amqp-utils.gemspec.orig 2017-07-29 22:22:56 UTC
+++ amqp-utils.gemspec
@@ -23,9 +23,9 @@ Gem::Specification.new do |s|
@@ -23,13 +23,13 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@ -11,4 +11,10 @@
+ s.add_runtime_dependency(%q<facets>.freeze, [">= 2.9"])
s.add_runtime_dependency(%q<clio>.freeze, ["~> 0.3.0"])
s.add_runtime_dependency(%q<json>.freeze, ["~> 1.5"])
s.add_runtime_dependency(%q<heredoc_unindent>.freeze, ["~> 1.1.2"])
- s.add_runtime_dependency(%q<heredoc_unindent>.freeze, ["~> 1.1.2"])
- s.add_runtime_dependency(%q<msgpack>.freeze, ["~> 0.4.5"])
+ s.add_runtime_dependency(%q<heredoc_unindent>.freeze, [">= 1.1.2"])
+ s.add_runtime_dependency(%q<msgpack>.freeze, [">= 0.4.5"])
else
s.add_dependency(%q<amqp>.freeze, ["~> 0.7.1"])
s.add_dependency(%q<trollop>.freeze, ["~> 1.16.2"])