[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:12 UTC 2012


The following commit has been merged in the master branch:
commit 88d0942d376409c25095f9faedb9e634ada0220b
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Wed Feb 22 17:49:02 2012 +0900

    Add unapply-patches to d/sources/local-options
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

diff --git a/debian/changelog b/debian/changelog
index 4cbbca2..f9bab14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-netcdf (0.6.6-1~1.gbpc1429d) UNRELEASED; urgency=low
+
+  ** SNAPSHOT build @c1429d9e0a397fea085be1d709d630cbb46e1c07 **
+
+  * Update watch
+  * Imported Upstream version 0.6.6
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org>  Wed, 22 Feb 2012 17:46:52 +0900
+
 ruby-netcdf (0.6.5-2) unstable; urgency=low
 
   * Bump standard-version: 3.9.2
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/extconf.rb b/extconf.rb
index eb27744..da90b7c 100644
--- a/extconf.rb
+++ b/extconf.rb
@@ -1,7 +1,7 @@
 require "mkmf"
 
-dir_config('narray',$archdir,$archdir)
-dir_config('netcdf','/usr/')
+dir_config('narray',$sitearchdir,$sitearchdir)
+dir_config('netcdf','/usr/local')
 
 if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
 print <<EOS
@@ -108,11 +108,12 @@ oldmkfl.each_line{ |line|
    case(line)
    when /^distclean:/
       newmkfl.puts(line)
-      newmkfl.puts("\t\t@$(RM) -fr test-lib")
       newmkfl.puts("\t\t@$(RM) *.nc demo/*.nc demo/*~ lib/*~ doc/*~ test/*.nc test/*~ Makefile.orig")
    when /^all:/
       newmkfl.puts(line)
-      newmkfl.puts("\t\t-@( [ ! -d test-lib ] && (mkdir -p test-lib/numru && cd test-lib/numru && ln -s ../../netcdfraw.so && ln -s ../../lib/*.rb . ))")
+      newmkfl.puts("")         
+      newmkfl.puts("test: all")            # insert the "test" target
+      newmkfl.puts("\t\t at cd test && ruby test.rb && echo 'test did not fail :-p (please ignore the warnings)' && cd ..") 
    when /lib\/netcdf/
       line = line.chomp! + "/"
       newmkfl.puts(line)
diff --git a/test/test.rb b/test/test.rb
index a95f73b..7ec59c6 100644
--- a/test/test.rb
+++ b/test/test.rb
@@ -1,9 +1,13 @@
+##require 'numru/netcdf' 
+## // to test before make install -->
 require 'narray'
-require 'numru/netcdf'
+require '../netcdfraw'  
+require '../lib/netcdf'
+## <-- to test before make install //
 
 include NumRu
 
-filename = "test/test.nc"
+filename = "test.nc"
 print "creating ",filename,"...\n"
 file=NetCDF.create(filename,false,false)
 

-- 
Ruby interface of NetCDF library



More information about the Pkg-grass-devel mailing list