pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby/files Do not restrict modifying depdencies t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbc4da8231f4
branches:  trunk
changeset: 355034:fbc4da8231f4
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 19 13:50:19 2016 +0000

description:
Do not restrict modifying depdencies to runtime.

diffstat:

 lang/ruby/files/update-gemspec.rb |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 51f36e0de0c2 -r fbc4da8231f4 lang/ruby/files/update-gemspec.rb
--- a/lang/ruby/files/update-gemspec.rb Sat Nov 19 06:50:46 2016 +0000
+++ b/lang/ruby/files/update-gemspec.rb Sat Nov 19 13:50:19 2016 +0000
@@ -1,9 +1,9 @@
 #!/usr/pkg/bin/ruby
 # -*- coding: utf-8 -*-
 #
-# $NetBSD: update-gemspec.rb,v 1.7 2014/07/20 01:11:28 obache Exp $
+# $NetBSD: update-gemspec.rb,v 1.8 2016/11/19 13:50:19 taca Exp $
 #
-# Copyright (c) 2011, 2012, 2013 The NetBSD Foundation, Inc.
+# Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016 The NetBSD Foundation, Inc.
 # All rights reserved.
 #
 # This code is derived from software contributed to The NetBSD Foundation
@@ -103,7 +103,6 @@
   def modify
     dependencies = @spec.instance_variable_get(:@dependencies)
     dependencies.each do |dep|
-      next if dep.type != :runtime
       update = @requirements[dep.name]
       if not update.nil? and update[:method] == :update
         r = dep.requirement.requirements
@@ -115,7 +114,6 @@
       end
     end
     dependencies.delete_if { |dep|
-      next if dep.type != :runtime
       update = @requirements[dep.name]
       not update.nil? and update[:method] == :delete
     }



Home | Main Index | Thread Index | Old Index