[SCM] ruby-hdfeos5 branch, master, updated. upstream/1.0-5-g7119aa9

2011-02-21 Thread Youhei SASAKI
The following commit has been merged in the master branch:
commit dc11b1943161a5752c2bbdac0677468c03de2a7f
Author: Youhei SASAKI uwab...@gfd-dennou.org
Date:   Tue Feb 22 16:05:42 2011 +0900

add test-target

diff --git a/debian/patches/add-test-target.patch 
b/debian/patches/add-test-target.patch
index 01d7e13..748f025 100644
--- a/debian/patches/add-test-target.patch
+++ b/debian/patches/add-test-target.patch
@@ -1,13 +1,12 @@
 --- ruby-hdfeos5.orig/extconf.rb
 +++ ruby-hdfeos5/extconf.rb
-@@ -59,8 +59,12 @@
+@@ -59,8 +59,11 @@
 when /^all:/
newmkfl.puts(line)
newmkfl.puts()
 -  newmkfl.puts(test: all)# insert the test target
 -  newmkfl.puts(\t\t@cd test  ruby test.rb  echo 'test did not fail 
:-p (please ignore the warnings)'  cd ..)
 +  newmkfl.puts(\t\t-@( [ ! -d lib/numru ]  ( mkdir -p lib/numru  cd 
lib/numru  ln -s ../../hdfeos5raw.so hdfeos5raw.so  ln -s ../hdfeos5.rb 
hdfeos5.rb )) )
-+  newmkfl.puts(\t\tcd test  /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib 
test_gd.rb 1/dev/null  cd ..)
 +  newmkfl.puts(\t\tcd test  /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib 
test_pt.rb 1/dev/null  cd ..)
 +  newmkfl.puts(\t\tcd test  /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib 
test_sw.rb 1/dev/null  cd ..)
 +  newmkfl.puts(\t\tcd test  /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib 
test_za.rb 1/dev/null  cd ..)

-- 
Ruby interface of HDF-EOS5 library

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[SCM] ruby-hdfeos5 branch, master, updated. upstream/1.0-5-g7119aa9

2011-02-21 Thread Youhei SASAKI
The following commit has been merged in the master branch:
commit 7119aa92d14654d05db891389b3f79e384b294b1
Author: Youhei SASAKI uwab...@gfd-dennou.org
Date:   Tue Feb 22 16:09:43 2011 +0900

Add test-target patch

diff --git 
a/debian/patches/0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
 
b/debian/patches/0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
new file mode 100644
index 000..df43c15
--- /dev/null
+++ 
b/debian/patches/0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
@@ -0,0 +1,59 @@
+From 0977bce67d77317acced1e845036d39fcfe4f39f Mon Sep 17 00:00:00 2001
+From: horinout horinout
+Date: Fri, 18 Feb 2011 08:32:29 +
+Subject: [PATCH] * Added comments to the lines that cause error messaging, 
which is not
+   due to actual errors.
+
+---
+ test/test_pt.rb |   14 +++---
+ 1 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/test/test_pt.rb b/test/test_pt.rb
+index e8793af..cfaa6ab 100644
+--- a/test/test_pt.rb
 b/test/test_pt.rb
+@@ -121,9 +121,9 @@ time= [100,110,120,130,140]
+ dname1.writelevel(count, time,float)
+ 
+ dname1=point8.var(Latitude)
+-count =[5]
+-time = NArray.float(6)
+-time = [10,10,20,30,40]
++count =[3]
++#time = NArray.float(6)
++time = [10,10,20]
+ dname1.writelevel(count, time,float)
+ 
+ dname1=point8.var(DeployDate)
+@@ -198,7 +198,7 @@ p file4.has_point?()
+ point8=file4.point(FixedBuoy point)
+ p point8.getlevelname()
+ dname1=point8.var(Temperature)
+-p dname1.get_vars_float()
++p dname1.get_vars_float()  # error message is shown but it's normal
+ dname1=point8.var(Latitude)
+ p dname1.get_vars_double()
+ dname1=point8.var(DeployDate)
+@@ -211,7 +211,7 @@ p dname1.natts
+ p dname1.fieldinfo()
+ p dname1.get
+ p dname1.fwdlink
+-p dname1.bcklink
++#p dname1.bcklink
+ point8.detach
+ 
+ point8=file4.point(FixedBuoy point)
+@@ -233,8 +233,8 @@ p dname1.ndims
+ p dname1.dim_names
+ p dname1.natts
+ p dname1.fieldinfo()
+-p dname1.get
+-p dname1.get_vars_double()
++p dname1.get# error message is shown but it's normal
++p dname1.get_vars_double()  # error message is shown but it's normal
+ point9.detach 
+ file4.close
+ 
+-- 
+1.7.4.1
+
diff --git a/debian/patches/series b/debian/patches/series
index b229fc4..a8cd349 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,5 +2,6 @@
 0002-update-ChangeLog.patch
 0003-Ruby-1.9.2-compatibility.patch
 0004-update-ChangeLog.patch
+0005-Added-comments-to-the-lines-that-cause-error-messagi.patch
 fix-extconf-rb.patch
 add-test-target.patch

-- 
Ruby interface of HDF-EOS5 library

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel