[SCM] ruby-netcdf branch, master, updated. debian/0.6.5-2-12-g7c52e40
Youhei SASAKI
uwabami at gfd-dennou.org
Thu Jun 14 10:05:14 UTC 2012
The following commit has been merged in the master branch:
commit 0a041e04470731d6f408a7f859e6c7560efe60b9
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Wed Feb 22 17:53:29 2012 +0900
Rename patch: 0002-Change-Test-Path-for-running-under-test_runner.rb.patch
diff --git a/debian/patches/0002-Change-Test-Path-for-running-under-test_runner.rb.patch b/debian/patches/0002-Change-Test-Path-for-running-under-test_runner.rb.patch
new file mode 100644
index 0000000..bc720e0
--- /dev/null
+++ b/debian/patches/0002-Change-Test-Path-for-running-under-test_runner.rb.patch
@@ -0,0 +1,24 @@
+From: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Date: Wed, 22 Feb 2012 17:49:07 +0900
+Subject: Change Test Path for running under test_runner.rb
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ test/test.rb | 5 +----
+ 1 files changed, 1 insertions(+), 4 deletions(-)
+
+diff --git a/test/test.rb b/test/test.rb
+index 7ec59c6..c69026c 100644
+--- a/test/test.rb
++++ b/test/test.rb
+@@ -1,9 +1,6 @@
+ ##require 'numru/netcdf'
+-## // to test before make install -->
+ require 'narray'
+-require '../netcdfraw'
+-require '../lib/netcdf'
+-## <-- to test before make install //
++require 'numru/netcdfraw'
+
+ include NumRu
+
diff --git a/debian/patches/ChangeTestPath b/debian/patches/0002-ChangeTestPath.patch
similarity index 71%
copy from debian/patches/ChangeTestPath
copy to debian/patches/0002-ChangeTestPath.patch
index b887c40..3152241 100644
--- a/debian/patches/ChangeTestPath
+++ b/debian/patches/0002-ChangeTestPath.patch
@@ -1,5 +1,16 @@
---- ruby-netcdf-0.6.5.orig/extconf.rb
-+++ ruby-netcdf-0.6.5/extconf.rb
+From: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Date: Wed, 22 Feb 2012 17:49:07 +0900
+Subject: ChangeTestPath
+
+---
+ extconf.rb | 5 ++---
+ test/test.rb | 8 ++------
+ 2 files changed, 4 insertions(+), 9 deletions(-)
+
+diff --git a/extconf.rb b/extconf.rb
+index 5e53471..b8cbeb7 100644
+--- a/extconf.rb
++++ b/extconf.rb
@@ -108,12 +108,11 @@ oldmkfl.each_line{ |line|
case(line)
when /^distclean:/
@@ -15,8 +26,10 @@
when /lib\/netcdf/
line = line.chomp! + "/"
newmkfl.puts(line)
---- ruby-netcdf-0.6.5.orig/test/test.rb
-+++ ruby-netcdf-0.6.5/test/test.rb
+diff --git a/test/test.rb b/test/test.rb
+index 7ec59c6..a95f73b 100644
+--- a/test/test.rb
++++ b/test/test.rb
@@ -1,13 +1,9 @@
-##require 'numru/netcdf'
-## // to test before make install -->
--
Ruby interface of NetCDF library
More information about the Pkg-grass-devel
mailing list