pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/ruby-archive-tar-minitar Fix minitar script:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa52028aa344
branches:  trunk
changeset: 556999:fa52028aa344
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Apr 07 21:06:54 2009 +0000

description:
Fix minitar script: require_gem method  is deprecated since RubyGems
0.9.0 and had been removed since RubyGems 1.0.0, use gem method
instead.
Bump PKGREVISION to 1.

diffstat:

 archivers/ruby-archive-tar-minitar/Makefile         |   3 ++-
 archivers/ruby-archive-tar-minitar/distinfo         |   3 ++-
 archivers/ruby-archive-tar-minitar/patches/patch-aa |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r ffeee51374a3 -r fa52028aa344 archivers/ruby-archive-tar-minitar/Makefile
--- a/archivers/ruby-archive-tar-minitar/Makefile       Tue Apr 07 19:34:10 2009 +0000
+++ b/archivers/ruby-archive-tar-minitar/Makefile       Tue Apr 07 21:06:54 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2008/08/15 16:03:51 taca Exp $
+# $NetBSD: Makefile,v 1.3 2009/04/07 21:06:54 seb Exp $
 
 DISTNAME=      archive-tar-minitar-0.5.2
+PKGREVISION=   1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics
 
diff -r ffeee51374a3 -r fa52028aa344 archivers/ruby-archive-tar-minitar/distinfo
--- a/archivers/ruby-archive-tar-minitar/distinfo       Tue Apr 07 19:34:10 2009 +0000
+++ b/archivers/ruby-archive-tar-minitar/distinfo       Tue Apr 07 21:06:54 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:13:23 jlam Exp $
+$NetBSD: distinfo,v 1.2 2009/04/07 21:06:54 seb Exp $
 
 SHA1 (archive-tar-minitar-0.5.2.gem) = 00002e37dba2de3022236b93a2a01d2d5582b97d
 RMD160 (archive-tar-minitar-0.5.2.gem) = e8d5eb202aae8f76010464baa1255b37a70da9e3
 Size (archive-tar-minitar-0.5.2.gem) = 23040 bytes
+SHA1 (patch-aa) = 1cebf4219c0aa9336cf859b68a0bf7566494d55c
diff -r ffeee51374a3 -r fa52028aa344 archivers/ruby-archive-tar-minitar/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ruby-archive-tar-minitar/patches/patch-aa       Tue Apr 07 21:06:54 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2009/04/07 21:06:54 seb Exp $
+
+require_gem is deprecated since RubyGems 0.9.0 and
+"removed" since RubyGems 1.0.0
+
+--- bin/minitar.orig   2009-04-05 00:40:32.000000000 +0000
++++ bin/minitar
+@@ -16,7 +16,7 @@
+   # 2) Try to load Archive::Tar::Minitar from $LOAD_PATH.
+ begin
+   require 'rubygems'
+-  require_gem 'archive-tar-minitar', '= 0.5.2'
++  gem 'archive-tar-minitar', '= 0.5.2'
+ rescue LoadError
+   nil
+ end



Home | Main Index | Thread Index | Old Index