pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/ruby-gsl import ruby-gsl-0.1.9
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d3e9b8e72cf
branches: trunk
changeset: 461365:4d3e9b8e72cf
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Mon Sep 15 00:18:31 2003 +0000
description:
import ruby-gsl-0.1.9
This is a port of the GNU Scientific Library to the Ruby programming language.
Things from GSL you can use in ruby-gsl:
- some error handling (ch. 3 in the GSL documentation)
- basic mathematical functions (ch. 4)
- complex numbers (ch. 5)
- functions for polynomial evaluation/roots (ch. 6)
- most "special functions" (ch. 7)
- vectors and matrices (ch. 8)
- permutations (ch. 9)
- combinations (ch. 10)
- BLAS support (ch. 12)
- linear algebra (ch. 13)
- eigensystems (ch. 14)
- numerical integration (ch. 16)
- random number generation (ch. 17)
- quasi-random sequences (ch. 18)
- most random number distributions (ch. 19)
- most statistical functions (ch. 20)
- histograms (ch. 21)
- Monte Carlo integration (ch. 23)
- Simulated Annealing (not reliable) (ch. 24)
- interpolation (ch. 26)
- numerical differentiation (ch. 27)
- Chebyshev approximation (ch. 28)
- series acceleration (ch. 29)
- Discrete Hankel Transforms (ch. 30)
- 1-dimensional root-finding (ch. 31)
- 1-dimensional minimization (ch. 32)
- some functions for least-squares fitting (ch. 35)
- physical constants (ch. 37)
diffstat:
math/ruby-gsl/DESCR | 31 +++++++++++++++++++++++++++++++
math/ruby-gsl/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++
math/ruby-gsl/PLIST | 46 ++++++++++++++++++++++++++++++++++++++++++++++
math/ruby-gsl/distinfo | 4 ++++
4 files changed, 123 insertions(+), 0 deletions(-)
diffs (139 lines):
diff -r eb13338c6b96 -r 4d3e9b8e72cf math/ruby-gsl/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ruby-gsl/DESCR Mon Sep 15 00:18:31 2003 +0000
@@ -0,0 +1,31 @@
+This is a port of the GNU Scientific Library to the Ruby programming language.
+
+Things from GSL you can use in ruby-gsl:
+- some error handling (ch. 3 in the GSL documentation)
+- basic mathematical functions (ch. 4)
+- complex numbers (ch. 5)
+- functions for polynomial evaluation/roots (ch. 6)
+- most "special functions" (ch. 7)
+- vectors and matrices (ch. 8)
+- permutations (ch. 9)
+- combinations (ch. 10)
+- BLAS support (ch. 12)
+- linear algebra (ch. 13)
+- eigensystems (ch. 14)
+- numerical integration (ch. 16)
+- random number generation (ch. 17)
+- quasi-random sequences (ch. 18)
+- most random number distributions (ch. 19)
+- most statistical functions (ch. 20)
+- histograms (ch. 21)
+- Monte Carlo integration (ch. 23)
+- Simulated Annealing (not reliable) (ch. 24)
+- interpolation (ch. 26)
+- numerical differentiation (ch. 27)
+- Chebyshev approximation (ch. 28)
+- series acceleration (ch. 29)
+- Discrete Hankel Transforms (ch. 30)
+- 1-dimensional root-finding (ch. 31)
+- 1-dimensional minimization (ch. 32)
+- some functions for least-squares fitting (ch. 35)
+- physical constants (ch. 37)
diff -r eb13338c6b96 -r 4d3e9b8e72cf math/ruby-gsl/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ruby-gsl/Makefile Mon Sep 15 00:18:31 2003 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/15 00:18:31 dmcmahill Exp $
+
+DISTNAME= ruby-gsl-0.1.9
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gsl/}
+
+MAINTAINER= dmcmahill%NetBSD.org@localhost
+HOMEPAGE= http://ruby-gsl.sourceforge.net/
+COMMENT= Wrapper of the GNU Scientific Library (GSL) for Ruby
+
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+USE_BUILDLINK2= yes
+INSTALL_TARGET= site-install
+
+DOCS= README
+
+post-patch:
+ ${MV} ${WRKSRC}/Const.c ${WRKSRC}/Const.c.bak
+ ${SED} -e 's;CONST_MKS_;CONST_MKSA_;g' -e 's;CONST_CGS_;CONST_CGSM_;g' \
+ ${WRKSRC}/Const.c.bak > ${WRKSRC}/Const.c
+
+DOCS= \
+ HOWTO \
+ IMPLEMENTED \
+ README \
+ TODO \
+ doc.rd
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gsl
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/../doc/${f} ${RUBY_DOCDIR}/gsl
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gsl
+ ${INSTALL_DATA} ${WRKSRC}/../samples/*.rb ${RUBY_EXAMPLESDIR}/gsl
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby-base/buildlink2.mk"
+.include "../../math/gsl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eb13338c6b96 -r 4d3e9b8e72cf math/ruby-gsl/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ruby-gsl/PLIST Mon Sep 15 00:18:31 2003 +0000
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/15 00:18:31 dmcmahill Exp $
+${RUBY_SITEARCHLIBDIR}/GSL.so
+${RUBY_DOCDIR}/gsl/HOWTO
+${RUBY_DOCDIR}/gsl/IMPLEMENTED
+${RUBY_DOCDIR}/gsl/README
+${RUBY_DOCDIR}/gsl/TODO
+${RUBY_DOCDIR}/gsl/doc.rd
+${RUBY_EXAMPLESDIR}/gsl/array.rb
+${RUBY_EXAMPLESDIR}/gsl/blas.rb
+${RUBY_EXAMPLESDIR}/gsl/cheb.rb
+${RUBY_EXAMPLESDIR}/gsl/comb.rb
+${RUBY_EXAMPLESDIR}/gsl/complex.rb
+${RUBY_EXAMPLESDIR}/gsl/const.rb
+${RUBY_EXAMPLESDIR}/gsl/diff.rb
+${RUBY_EXAMPLESDIR}/gsl/eigen.rb
+${RUBY_EXAMPLESDIR}/gsl/error.rb
+${RUBY_EXAMPLESDIR}/gsl/fit.rb
+${RUBY_EXAMPLESDIR}/gsl/func.rb
+${RUBY_EXAMPLESDIR}/gsl/hist.rb
+${RUBY_EXAMPLESDIR}/gsl/hist2d.rb
+${RUBY_EXAMPLESDIR}/gsl/integration.rb
+${RUBY_EXAMPLESDIR}/gsl/interp.rb
+${RUBY_EXAMPLESDIR}/gsl/linalg.rb
+${RUBY_EXAMPLESDIR}/gsl/linalg_complex.rb
+${RUBY_EXAMPLESDIR}/gsl/matrix.rb
+${RUBY_EXAMPLESDIR}/gsl/matrix_complex.rb
+${RUBY_EXAMPLESDIR}/gsl/min.rb
+${RUBY_EXAMPLESDIR}/gsl/monte.rb
+${RUBY_EXAMPLESDIR}/gsl/multi.rb
+${RUBY_EXAMPLESDIR}/gsl/perm.rb
+${RUBY_EXAMPLESDIR}/gsl/poly.rb
+${RUBY_EXAMPLESDIR}/gsl/qrng.rb
+${RUBY_EXAMPLESDIR}/gsl/rnd.rb
+${RUBY_EXAMPLESDIR}/gsl/rnd2.rb
+${RUBY_EXAMPLESDIR}/gsl/rnd3.rb
+${RUBY_EXAMPLESDIR}/gsl/rng.rb
+${RUBY_EXAMPLESDIR}/gsl/shuffle.rb
+${RUBY_EXAMPLESDIR}/gsl/siman.rb
+${RUBY_EXAMPLESDIR}/gsl/solve.rb
+${RUBY_EXAMPLESDIR}/gsl/special.rb
+${RUBY_EXAMPLESDIR}/gsl/spline.rb
+${RUBY_EXAMPLESDIR}/gsl/stats.rb
+${RUBY_EXAMPLESDIR}/gsl/sum.rb
+${RUBY_EXAMPLESDIR}/gsl/vector.rb
+@dirrm ${RUBY_DOCDIR}/gsl
+@dirrm ${RUBY_EXAMPLESDIR}/gsl
diff -r eb13338c6b96 -r 4d3e9b8e72cf math/ruby-gsl/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/ruby-gsl/distinfo Mon Sep 15 00:18:31 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/15 00:18:31 dmcmahill Exp $
+
+SHA1 (ruby/ruby-gsl-0.1.9.tar.gz) = f72834aa70446712b0ae8571796ad1ae16443db0
+Size (ruby/ruby-gsl-0.1.9.tar.gz) = 142951 bytes
Home |
Main Index |
Thread Index |
Old Index