pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/rubygems Add a patch to detect NetBSD correctly i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7cc07beba5d1
branches:  trunk
changeset: 631780:7cc07beba5d1
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Mar 13 18:05:49 2014 +0000

description:
Add a patch to detect NetBSD correctly in Gem::Platform.

Bump PKGREVISION.

diffstat:

 misc/rubygems/Makefile                               |   4 +-
 misc/rubygems/PLIST                                  |   4 +-
 misc/rubygems/distinfo                               |  25 ++++++++++---------
 misc/rubygems/patches/patch-lib_rubygems_platform.rb |  14 +++++++++++
 4 files changed, 31 insertions(+), 16 deletions(-)

diffs (75 lines):

diff -r 14a1806bf1fe -r 7cc07beba5d1 misc/rubygems/Makefile
--- a/misc/rubygems/Makefile    Thu Mar 13 18:01:34 2014 +0000
+++ b/misc/rubygems/Makefile    Thu Mar 13 18:05:49 2014 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2014/02/19 15:47:32 taca Exp $
+# $NetBSD: Makefile,v 1.57 2014/03/13 18:05:49 taca Exp $
 
 DISTNAME=      rubygems-2.0.10
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    misc ruby
 MASTER_SITES=  http://production.cf.rubygems.org/rubygems/
 EXTRACT_SUFX=  .tgz
diff -r 14a1806bf1fe -r 7cc07beba5d1 misc/rubygems/PLIST
--- a/misc/rubygems/PLIST       Thu Mar 13 18:01:34 2014 +0000
+++ b/misc/rubygems/PLIST       Thu Mar 13 18:05:49 2014 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.23 2013/07/07 15:12:56 taca Exp $
-bin/gem${RUBY_VER}.new
+@comment $NetBSD: PLIST,v 1.24 2014/03/13 18:05:49 taca Exp $
+bin/gem${RUBY_SUFFIX}.new
 ${RUBY_VENDORLIB}/gauntlet_rubygems.rb
 ${RUBY_VENDORLIB}/rubygems.rb
 ${RUBY_VENDORLIB}/rubygems/available_set.rb
diff -r 14a1806bf1fe -r 7cc07beba5d1 misc/rubygems/distinfo
--- a/misc/rubygems/distinfo    Thu Mar 13 18:01:34 2014 +0000
+++ b/misc/rubygems/distinfo    Thu Mar 13 18:05:49 2014 +0000
@@ -1,16 +1,17 @@
-$NetBSD: distinfo,v 1.45 2014/02/19 15:47:32 taca Exp $
+$NetBSD: distinfo,v 1.46 2014/03/13 18:05:49 taca Exp $
 
 SHA1 (rubygems-2.0.10.tgz) = e4119824649771958038b2347485df85c3a09fc6
 RMD160 (rubygems-2.0.10.tgz) = cc6c5adb29464217067eeab6e06bbb1b67d6cf42
 Size (rubygems-2.0.10.tgz) = 338280 bytes
-SHA1 (patch-aa) = ec1af229bb7cf9b36b0b5669b8c6f3d97f7ea15e
-SHA1 (patch-ab) = a960d57b48397fa499c0ee1a91b534eb10574d06
-SHA1 (patch-ac) = 1a59a5d2fc090dfcf6d3bd3b9c133f0ce4a1feee
-SHA1 (patch-ad) = 40819a75ae0094292417a7c682ed56abd98de1c2
-SHA1 (patch-af) = d96d5dafd830b0c94bf6c191a3274701ebc6d564
-SHA1 (patch-ag) = 1114e30ce7161a6aa98c3ac6c4ee81f1c22a10d8
-SHA1 (patch-ah) = ae9cd39b900793dbb3d22bad88163750e4d120fe
-SHA1 (patch-aj) = 3b77a675470ea3702b9870843d2bb39bb6a83f3e
-SHA1 (patch-am) = 9146ece86c0bae61553c916adafb2c108f3f07a9
-SHA1 (patch-ao) = 4a8be3bdab5e465814b626d17a5f2811fbfc808c
-SHA1 (patch-test_rubygems_test__gem.rb) = 883675c1af0314c66c3d02fb9c012fac768ebb9b
+SHA1 (patch-aa) = a3bde2fd1c77a7437334aa0446ee4decf8a63cd6
+SHA1 (patch-ab) = 90dfc9e075c761532f9c45217a224200c21d6ad3
+SHA1 (patch-ac) = 6ba089cbd8357c3b05eaf476c405741871b3b303
+SHA1 (patch-ad) = 02fd612a5baae276610d1a2751c6e664c27413c8
+SHA1 (patch-af) = 519d25bcdeb0f4d8e9cabdf672fe1c2cf69f8edd
+SHA1 (patch-ag) = 2a580df537ecee799a8762c09206692079d063a9
+SHA1 (patch-ah) = d289815727dbf144f554afe0406810c2f8410632
+SHA1 (patch-aj) = 96257077f01c323a6482390ef7fba685651d3b8c
+SHA1 (patch-am) = 9f258243e0cedea45c36fae5699877374ad7d246
+SHA1 (patch-ao) = 70e1b7aa21e637d5878d5e70ba286455e7f3e937
+SHA1 (patch-lib_rubygems_platform.rb) = 1a80ea59f02366c5de035783e40b7904df4be84f
+SHA1 (patch-test_rubygems_test__gem.rb) = 01f53c715f01b0c9f890248525440cd05b5e3eaa
diff -r 14a1806bf1fe -r 7cc07beba5d1 misc/rubygems/patches/patch-lib_rubygems_platform.rb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rubygems/patches/patch-lib_rubygems_platform.rb      Thu Mar 13 18:05:49 2014 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_rubygems_platform.rb,v 1.1 2014/03/13 18:05:49 taca Exp $
+
+Allow simple "netbsd" as Gem::Platform.
+
+--- lib/rubygems/platform.rb.orig      2013-09-24 23:47:37.000000000 +0000
++++ lib/rubygems/platform.rb
+@@ -84,6 +84,7 @@ class Gem::Platform
+                         @cpu = 'x86' if @cpu.nil? and os =~ /32$/
+                         [os, version]
+                       when /netbsdelf/ then             [ 'netbsdelf', nil ]
++                      when /netbsd/ then                [ 'netbsd', nil ]
+                       when /openbsd(\d+\.\d+)?/ then    [ 'openbsd',   $1  ]
+                       when /solaris(\d+\.\d+)?/ then    [ 'solaris',   $1  ]
+                       # test



Home | Main Index | Thread Index | Old Index