pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/ruby-tokyotyrant Update ruby-tokyotyrant to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82e1a3bec76f
branches:  trunk
changeset: 551104:82e1a3bec76f
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Dec 07 11:37:53 2008 +0000

description:
Update ruby-tokyotyrant to 1.1, for tokyotyrant-1.1.9.

diffstat:

 databases/ruby-tokyotyrant/Makefile         |   6 +++---
 databases/ruby-tokyotyrant/distinfo         |  11 ++++++-----
 databases/ruby-tokyotyrant/patches/patch-aa |  10 ++++++----
 databases/ruby-tokyotyrant/patches/patch-ab |  13 +++++++++++++
 4 files changed, 28 insertions(+), 12 deletions(-)

diffs (82 lines):

diff -r dc6023a5a7cc -r 82e1a3bec76f databases/ruby-tokyotyrant/Makefile
--- a/databases/ruby-tokyotyrant/Makefile       Sun Dec 07 11:36:24 2008 +0000
+++ b/databases/ruby-tokyotyrant/Makefile       Sun Dec 07 11:37:53 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/12/07 11:37:53 obache Exp $
 #
 
-DISTNAME=      tokyotyrant-ruby-1.0
+DISTNAME=      tokyotyrant-ruby-1.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/}
 CATEGORIES=    databases ruby
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
@@ -17,7 +17,7 @@
 NO_BUILD=              yes
 USE_RUBY_INSTALL=      yes
 
-REPLACE_RUBY=          tcrtest.rb
+REPLACE_RUBY=          tcrtest.rb test.rb
 
 DOCDIR=                        share/tokytyrant/doc/ruby
 RUBY_DYNAMIC_DIRS=     ${DOCDIR}
diff -r dc6023a5a7cc -r 82e1a3bec76f databases/ruby-tokyotyrant/distinfo
--- a/databases/ruby-tokyotyrant/distinfo       Sun Dec 07 11:36:24 2008 +0000
+++ b/databases/ruby-tokyotyrant/distinfo       Sun Dec 07 11:37:53 2008 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $
+$NetBSD: distinfo,v 1.2 2008/12/07 11:37:53 obache Exp $
 
-SHA1 (tokyotyrant-ruby-1.0.tar.gz) = 7922ed5240f949a2310901ac1bb307689f528051
-RMD160 (tokyotyrant-ruby-1.0.tar.gz) = 8f9af33ceea41a4a8037e783bab635a1d1443d62
-Size (tokyotyrant-ruby-1.0.tar.gz) = 33953 bytes
-SHA1 (patch-aa) = afcc9638de5c103bd30948450dc10a6c8b208a86
+SHA1 (tokyotyrant-ruby-1.1.tar.gz) = 4491973611c81a46b0046e8090bf24df0433ffa8
+RMD160 (tokyotyrant-ruby-1.1.tar.gz) = 12189a91bf9f0001345343e9d6a6a21ebf2466a6
+Size (tokyotyrant-ruby-1.1.tar.gz) = 34251 bytes
+SHA1 (patch-aa) = 0c00ced973f8d45922123495361f17588a5fd820
+SHA1 (patch-ab) = a6ab8c54e82751a466ffd64e08139b7a2926ce38
diff -r dc6023a5a7cc -r 82e1a3bec76f databases/ruby-tokyotyrant/patches/patch-aa
--- a/databases/ruby-tokyotyrant/patches/patch-aa       Sun Dec 07 11:36:24 2008 +0000
+++ b/databases/ruby-tokyotyrant/patches/patch-aa       Sun Dec 07 11:37:53 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $
+$NetBSD: patch-aa,v 1.2 2008/12/07 11:37:53 obache Exp $
 
---- install.rb.orig    2008-10-26 08:13:27.000000000 +0000
+--- install.rb.orig    2008-10-22 15:53:45.000000000 +0000
 +++ install.rb
-@@ -1,10 +1,13 @@
+@@ -1,10 +1,15 @@
  require 'rbconfig'
 +require 'ftools'
  
@@ -10,8 +10,10 @@
  bindir = Config::CONFIG.fetch("bindir")
  
  def copy(src, dest, mode)
++  if (destdir = ENV['DESTDIR'])
++    dest = File.join(destdir, dest)
++  end
    p dest
-+  dest = File.join(ENV['DESTDIR'], dest)
 +  File::makedirs(File.dirname(dest))
    open(src, "rb") do |infile|
      open(dest, "wb") do |outfile|
diff -r dc6023a5a7cc -r 82e1a3bec76f databases/ruby-tokyotyrant/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-tokyotyrant/patches/patch-ab       Sun Dec 07 11:37:53 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2008/12/07 11:38:34 obache Exp $
+
+--- test.rb.orig       2008-12-07 05:27:22.000000000 +0000
++++ test.rb
+@@ -13,7 +13,7 @@ commands = [
+            ]
+ num = 1
+ commands.each do |command|
+-  rv = system("/usr/bin/ruby #{command} >/dev/null")
++  rv = system("ruby #{command} >/dev/null")
+   if rv
+     printf("%03d/%03d: %s: ok\n", num, commands.size, command)
+   else



Home | Main Index | Thread Index | Old Index