[106570] trunk/dports/ruby/rb-gsl

kimuraw at macports.org kimuraw at macports.org
Thu May 30 21:29:36 PDT 2013


Revision: 106570
          https://trac.macports.org/changeset/106570
Author:   kimuraw at macports.org
Date:     2013-05-30 21:29:36 -0700 (Thu, 30 May 2013)
Log Message:
-----------
ruby/rb-gsl: upgrade to 1.15.3, fix build error

Modified Paths:
--------------
    trunk/dports/ruby/rb-gsl/Portfile

Added Paths:
-----------
    trunk/dports/ruby/rb-gsl/files/
    trunk/dports/ruby/rb-gsl/files/patch-ext-extconf.rb.diff

Modified: trunk/dports/ruby/rb-gsl/Portfile
===================================================================
--- trunk/dports/ruby/rb-gsl/Portfile	2013-05-31 03:57:22 UTC (rev 106569)
+++ trunk/dports/ruby/rb-gsl/Portfile	2013-05-31 04:29:36 UTC (rev 106570)
@@ -2,21 +2,24 @@
 
 PortSystem		1.0
 PortGroup		ruby 1.0
+PortGroup		github 1.0
 
+version			1.15.3
+github.setup	david-macmahon rb-gsl ${version} rb-gsl
 set docs {AUTHORS COPYING ChangeLog README THANKS examples}
-ruby.setup		{gsl rb-gsl} 1.14.5 setup.rb $docs rubyforge:73285
+ruby.setup		{gsl rb-gsl} ${version} setup.rb $docs
 maintainers		nomaintainer
 description		Ruby interface to the GSL
 long_description	RubyGSL is a ruby interface to the \
   GSL (GNU Scientific Library), for numerical computing with Ruby.
 categories-append   math
 license				GPL-2+
-extract.suffix      .tgz
-checksums		    md5 f612a681da15a02fdd9b1a98c0bfec7a \
-                    sha1 96982751db9489aece90534555c731e8b4e3a143 \
-                    rmd160 f1fc68476f17ec599c27332f0e7ffac58a20b892
+checksums		    md5 10bcc76deeb99189687cc19a01269e72 \
+                    sha1 41bf2bab41f9890d9e48fca100673f4ffae4860f \
+                    rmd160 e064b6efd26246fefe98092ca655033789a44644
 platforms		    darwin
 depends_lib-append     port:gsl
+patchfiles			patch-ext-extconf.rb.diff
 
 variant narray description {Build with NArray} {
   depends_lib-append port:rb-narray

Added: trunk/dports/ruby/rb-gsl/files/patch-ext-extconf.rb.diff
===================================================================
--- trunk/dports/ruby/rb-gsl/files/patch-ext-extconf.rb.diff	                        (rev 0)
+++ trunk/dports/ruby/rb-gsl/files/patch-ext-extconf.rb.diff	2013-05-31 04:29:36 UTC (rev 106570)
@@ -0,0 +1,11 @@
+--- ext/extconf.rb.orig	2013-05-31 12:56:38.000000000 +0900
++++ ext/extconf.rb	2013-05-31 12:58:42.000000000 +0900
+@@ -252,7 +252,7 @@
+     narray_config = File.join(na_gemspec.full_gem_path, na_gemspec.require_path)
+     $CPPFLAGS = " -I#{narray_config} "+$CPPFLAGS
+   end
+-rescue LoadError
++rescue LoadError, NoMethodError
+ end
+ have_narray_h = have_header("narray.h")
+ if narray_config
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130530/ac39d9f2/attachment.html>


More information about the macports-changes mailing list