summaryrefslogtreecommitdiff
path: root/math/ruby-rb-gsl
diff options
context:
space:
mode:
authorminskim <minskim>2008-06-20 15:34:33 +0000
committerminskim <minskim>2008-06-20 15:34:33 +0000
commit921425c0ec0487fd6891c854dbbc23ff747432b7 (patch)
tree97b0d03f67f73c5c1a1ebf61e92ed379359a4509 /math/ruby-rb-gsl
parent6b4f62348ba9d78df231df94ec29bd0e725b5eac (diff)
downloadpkgsrc-921425c0ec0487fd6891c854dbbc23ff747432b7.tar.gz
Update ruby-rb-gsl to 1.10.3.
Major changes since 1.9.2: * GSL-1.10 support * Generalized eigensystems * Cholesky routines to complex matrices * and more * NDLINEAR extension support: multi-linear, multi-parameter least squares fitting
Diffstat (limited to 'math/ruby-rb-gsl')
-rw-r--r--math/ruby-rb-gsl/Makefile16
-rw-r--r--math/ruby-rb-gsl/PLIST21
-rw-r--r--math/ruby-rb-gsl/distinfo9
-rw-r--r--math/ruby-rb-gsl/patches/patch-aa13
4 files changed, 21 insertions, 38 deletions
diff --git a/math/ruby-rb-gsl/Makefile b/math/ruby-rb-gsl/Makefile
index 166a93b2322..c530e71107c 100644
--- a/math/ruby-rb-gsl/Makefile
+++ b/math/ruby-rb-gsl/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2008/06/19 14:51:16 taca Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/20 15:34:33 minskim Exp $
-DISTNAME= rb-gsl-1.9.2
+DISTNAME= rb-gsl-1.10.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= math ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/23975/
+MASTER_SITES= http://rubyforge.org/frs/download.php/28909/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rb-gsl.rubyforge.org/
@@ -16,20 +15,21 @@ CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
--siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
--siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
+REPLACE_RUBY_DIRS= examples
+
INSTALLATION_DIRS= ${RUBY_DOC}/gsl ${RUBY_EG}/gsl
.include "../../lang/ruby/modules.mk"
.include "../../math/gsl/buildlink3.mk"
post-patch:
- cd ${WRKSRC}/samples; \
- ${FIND} . -type d -exec ${CHMOD} ${PKGDIRMODE} {} \; ;\
- ${FIND} . -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ cd ${WRKSRC} && \
+ chmod u+w include/rb_gsl_config.h
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${RUBY_DOC}/gsl
${INSTALL_DATA} ${WRKSRC}/html/*.html ${DESTDIR}${PREFIX}/${RUBY_DOC}/gsl
- cd ${WRKSRC}/samples; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/gsl
+ cd ${WRKSRC}/examples; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/gsl
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/${RUBY_EG}/gsl
.include "../../mk/bsd.pkg.mk"
diff --git a/math/ruby-rb-gsl/PLIST b/math/ruby-rb-gsl/PLIST
index a2ba391733c..ed4b32e928e 100644
--- a/math/ruby-rb-gsl/PLIST
+++ b/math/ruby-rb-gsl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/06/19 14:51:16 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/06/20 15:34:33 minskim Exp $
${RUBY_VENDORLIB}/gsl.rb
${RUBY_VENDORLIB}/gsl/gnuplot.rb
${RUBY_VENDORLIB}/gsl/oper.rb
@@ -7,11 +7,10 @@ ${RUBY_VENDORLIB}/ool.rb
${RUBY_VENDORLIB}/ool/conmin.rb
${RUBY_VENDORLIB}/rbgsl.rb
${RUBY_DOC}/gsl/README
-${RUBY_DOC}/gsl/airy.html
-${RUBY_DOC}/gsl/bessel.html
${RUBY_DOC}/gsl/blas.html
${RUBY_DOC}/gsl/bspline.html
${RUBY_DOC}/gsl/cheb.html
+${RUBY_DOC}/gsl/cholesky_complex.html
${RUBY_DOC}/gsl/combi.html
${RUBY_DOC}/gsl/complex.html
${RUBY_DOC}/gsl/const.html
@@ -39,6 +38,7 @@ ${RUBY_DOC}/gsl/monte.html
${RUBY_DOC}/gsl/multimin.html
${RUBY_DOC}/gsl/multiroot.html
${RUBY_DOC}/gsl/narray.html
+${RUBY_DOC}/gsl/ndlinear.html
${RUBY_DOC}/gsl/nonlinearfit.html
${RUBY_DOC}/gsl/ntuple.html
${RUBY_DOC}/gsl/odeiv.html
@@ -82,6 +82,7 @@ ${RUBY_EG}/gsl/complex/michelson.rb
${RUBY_EG}/gsl/complex/mul.rb
${RUBY_EG}/gsl/complex/oscillator.rb
${RUBY_EG}/gsl/complex/set.rb
+${RUBY_EG}/gsl/const/hoge.txt
${RUBY_EG}/gsl/const/physconst.rb
${RUBY_EG}/gsl/const/travel.rb
${RUBY_EG}/gsl/deriv/demo.rb
@@ -90,7 +91,6 @@ ${RUBY_EG}/gsl/deriv/diff.rb
${RUBY_EG}/gsl/dht.rb
${RUBY_EG}/gsl/dirac.rb
${RUBY_EG}/gsl/eigen/eigen.rb
-${RUBY_EG}/gsl/eigen/gensymm.rb
${RUBY_EG}/gsl/eigen/herm.rb
${RUBY_EG}/gsl/eigen/narray.rb
${RUBY_EG}/gsl/eigen/nonsymm.rb
@@ -98,7 +98,6 @@ ${RUBY_EG}/gsl/eigen/nonsymmv.rb
${RUBY_EG}/gsl/eigen/qhoscillator.gp
${RUBY_EG}/gsl/eigen/qhoscillator.rb
${RUBY_EG}/gsl/eigen/vander.rb
-${RUBY_EG}/gsl/eigen/workspace.rb
${RUBY_EG}/gsl/fft/fft.rb
${RUBY_EG}/gsl/fft/fft2.rb
${RUBY_EG}/gsl/fft/forward.rb
@@ -113,13 +112,13 @@ ${RUBY_EG}/gsl/fit/expdata.dat
${RUBY_EG}/gsl/fit/expfit.rb
${RUBY_EG}/gsl/fit/gaussfit.rb
${RUBY_EG}/gsl/fit/gaussian_2peaks.rb
-${RUBY_EG}/gsl/fit/hi.dat
${RUBY_EG}/gsl/fit/hillfit.rb
-${RUBY_EG}/gsl/fit/lo.dat
${RUBY_EG}/gsl/fit/lognormal.rb
${RUBY_EG}/gsl/fit/lorentzfit.rb
${RUBY_EG}/gsl/fit/multifit.rb
+${RUBY_EG}/gsl/fit/ndlinear.rb
${RUBY_EG}/gsl/fit/nonlinearfit.rb
+${RUBY_EG}/gsl/fit/plot.gp
${RUBY_EG}/gsl/fit/polyfit.rb
${RUBY_EG}/gsl/fit/powerfit.rb
${RUBY_EG}/gsl/fit/sigmoidfit.rb
@@ -179,8 +178,8 @@ ${RUBY_EG}/gsl/integration/qng.rb
${RUBY_EG}/gsl/interp/demo.gp
${RUBY_EG}/gsl/interp/demo.rb
${RUBY_EG}/gsl/interp/interp.rb
-${RUBY_EG}/gsl/interp/points
${RUBY_EG}/gsl/interp/spline.rb
+${RUBY_EG}/gsl/interp/points
${RUBY_EG}/gsl/jacobi/deriv.rb
${RUBY_EG}/gsl/jacobi/integrate.rb
${RUBY_EG}/gsl/jacobi/interp.rb
@@ -203,7 +202,6 @@ ${RUBY_EG}/gsl/linalg/chol.rb
${RUBY_EG}/gsl/linalg/chol_narray.rb
${RUBY_EG}/gsl/linalg/complex.rb
${RUBY_EG}/gsl/linalg/invert_narray.rb
-${RUBY_EG}/gsl/linalg/linalg.replaced
${RUBY_EG}/gsl/math/const.rb
${RUBY_EG}/gsl/math/elementary.rb
${RUBY_EG}/gsl/math/functions.rb
@@ -211,11 +209,9 @@ ${RUBY_EG}/gsl/math/inf_nan.rb
${RUBY_EG}/gsl/math/minmax.rb
${RUBY_EG}/gsl/math/power.rb
${RUBY_EG}/gsl/math/test.rb
-${RUBY_EG}/gsl/matrix/a.dat
-${RUBY_EG}/gsl/matrix/a.rb
${RUBY_EG}/gsl/matrix/add.rb
-${RUBY_EG}/gsl/matrix/b.dat
${RUBY_EG}/gsl/matrix/cat.rb
+${RUBY_EG}/gsl/matrix/colvectors.rb
${RUBY_EG}/gsl/matrix/complex.rb
${RUBY_EG}/gsl/matrix/det.rb
${RUBY_EG}/gsl/matrix/diagonal.rb
@@ -307,6 +303,7 @@ ${RUBY_EG}/gsl/poly/cheb.rb
${RUBY_EG}/gsl/poly/cheb_II.rb
${RUBY_EG}/gsl/poly/cubic.rb
${RUBY_EG}/gsl/poly/demo.rb
+${RUBY_EG}/gsl/poly/eval.rb
${RUBY_EG}/gsl/poly/fit.rb
${RUBY_EG}/gsl/poly/hermite.rb
${RUBY_EG}/gsl/poly/poly.rb
diff --git a/math/ruby-rb-gsl/distinfo b/math/ruby-rb-gsl/distinfo
index c4ee12088c6..a5046f0613f 100644
--- a/math/ruby-rb-gsl/distinfo
+++ b/math/ruby-rb-gsl/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2008/06/19 14:51:16 taca Exp $
+$NetBSD: distinfo,v 1.3 2008/06/20 15:34:33 minskim Exp $
-SHA1 (rb-gsl-1.9.2.tar.gz) = 39d29abe95906b9c1b9cd28ca3df213bb4826cc8
-RMD160 (rb-gsl-1.9.2.tar.gz) = ccaea4d25d1ce7526bf17035be650e24df83bb54
-Size (rb-gsl-1.9.2.tar.gz) = 671120 bytes
-SHA1 (patch-aa) = 4da4f02514b3500a93a5af499f361346f7f9b77b
+SHA1 (rb-gsl-1.10.3.tar.gz) = a6eb96a12a65b3996b8b8801454c89ce5fc5413c
+RMD160 (rb-gsl-1.10.3.tar.gz) = 5c31b03070135f7684a4ba5db1f2209e62e2c9d2
+Size (rb-gsl-1.10.3.tar.gz) = 722963 bytes
diff --git a/math/ruby-rb-gsl/patches/patch-aa b/math/ruby-rb-gsl/patches/patch-aa
deleted file mode 100644
index 986e76b197e..00000000000
--- a/math/ruby-rb-gsl/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/06/19 14:51:16 taca Exp $
-
---- ext/min.c.orig 2007-08-11 04:46:52.000000000 +0000
-+++ ext/min.c
-@@ -123,7 +123,7 @@ static VALUE rb_gsl_min_fminimizer_x_upp
- return rb_float_new(gsl_min_fminimizer_x_upper(gmf));
- }
-
--#ifndef GSL_1_2_LATER
-+#ifndef GSL_1_0_LATER
- static double gsl_min_fminimizer_x_minimum(const gsl_min_fminimizer * s)
- {
- /* return s->x_minimum;*/