pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2018Q2]: pkgsrc Pullup ticket #5785 - requested by taca



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0249c45b045
branches:  pkgsrc-2018Q2
changeset: 408400:b0249c45b045
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jul 14 09:22:39 2018 +0000

description:
Pullup ticket #5785 - requested by taca
devel/ruby-activesupport32: build fix

Revisions pulled up:
- devel/ruby-activesupport32/Makefile                           1.6
- lang/ruby/files/update-gemspec.rb                             1.10

---
   Module Name: pkgsrc
   Committed By:        taca
   Date:                Fri Jul  6 15:37:09 UTC 2018

   Modified Files:
        pkgsrc/lang/ruby/files: update-gemspec.rb

   Log Message:
   lang/ruby/files: improve update-gemspec.rb

   Improve update-gemspec.rb script which handles OVERRIDE_GEMSPEC.

   When overriding depending versions, clear completely old dependencies.
   Previously, it replace first dependency only and it cause incomplete
   ruby gem's dependency in a few case.

---
   Module Name: pkgsrc
   Committed By:        taca
   Date:                Fri Jul  6 15:38:55 UTC 2018

   Modified Files:
        pkgsrc/devel/ruby-activesupport32: Makefile

   Log Message:
   devel/ruby-activesupport32: dependencies change in gemspec

   By update of lang/ruby/files/update-gemspec.rb, dependencies changed in
   gemspec.

   Bump PKGREVISION.

diffstat:

 devel/ruby-activesupport32/Makefile |  4 ++--
 lang/ruby/files/update-gemspec.rb   |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 6484815ee76d -r b0249c45b045 devel/ruby-activesupport32/Makefile
--- a/devel/ruby-activesupport32/Makefile       Sat Jul 14 07:49:05 2018 +0000
+++ b/devel/ruby-activesupport32/Makefile       Sat Jul 14 09:22:39 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2018/03/18 14:21:20 taca Exp $
+# $NetBSD: Makefile,v 1.5.4.1 2018/07/14 09:22:39 bsiegert Exp $
 
 DISTNAME=      activesupport-${RAILS_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-activesupport${RUBY_RAILS}-${RAILS_VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 6484815ee76d -r b0249c45b045 lang/ruby/files/update-gemspec.rb
--- a/lang/ruby/files/update-gemspec.rb Sat Jul 14 07:49:05 2018 +0000
+++ b/lang/ruby/files/update-gemspec.rb Sat Jul 14 09:22:39 2018 +0000
@@ -1,9 +1,10 @@
 #!/usr/pkg/bin/ruby
 # -*- coding: utf-8 -*-
 #
-# $NetBSD: update-gemspec.rb,v 1.9 2017/04/09 15:49:50 taca Exp $
+# $NetBSD: update-gemspec.rb,v 1.9.12.1 2018/07/14 09:22:39 bsiegert Exp $
 #
-# Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016 The NetBSD Foundation, Inc.
+# Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
+# The NetBSD Foundation, Inc.
 # All rights reserved.
 #
 # This code is derived from software contributed to The NetBSD Foundation
@@ -106,8 +107,8 @@
       update = @requirements[dep.name]
       if not update.nil? and update[:method] == :update
         r = dep.requirement.requirements
-        r[0][0] = update[:op]
-        r[0][1] = update[:version]
+        r.clear
+        r[0] = [update[:op], update[:version]]
         unless update[:name].nil?
           dep.name = update[:name]
         end



Home | Main Index | Thread Index | Old Index