summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-07-30 14:16:50 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-07-30 14:16:50 +0000
commit8aa53ff31e8999718c2886dd93d3b6b66209c74f (patch)
tree04cba60be57626f7f4ad9aab0cb4484882d94791 /math
parentNew port netcdf. The NetCDF (network Common Data Form) is a library (diff)
New port py-scientific. This is Konrad Hinsen's collection of Python modules
that are useful for scientific computing.
Notes
Notes: svn path=/head/; revision=20396
Diffstat (limited to 'math')
-rw-r--r--math/py-scientific/Makefile51
-rw-r--r--math/py-scientific/distinfo1
-rw-r--r--math/py-scientific/files/Setup8
-rw-r--r--math/py-scientific/pkg-comment1
-rw-r--r--math/py-scientific/pkg-descr10
-rw-r--r--math/py-scientific/pkg-plist182
6 files changed, 253 insertions, 0 deletions
diff --git a/math/py-scientific/Makefile b/math/py-scientific/Makefile
new file mode 100644
index 000000000000..edd611382875
--- /dev/null
+++ b/math/py-scientific/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: py-scientific
+# Version required: 2.0b1
+# Date created: 29 July 1999
+# Whom: Thomas Gellekum <tg@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= ScientificPython-2.0b1
+PKGNAME= py-scientific-2.0b1
+CATEGORIES= math python
+MASTER_SITES= http://starship.python.net/crew/hinsen/ \
+ http://dirac.cnrs-orleans.fr/programs/
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
+ ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
+LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
+RUN_DEPENDS= python:${PORTSDIR}/lang/python \
+ ${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+
+PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
+NUMPYDIR= ${PYTHONSCRIPTDIR}/site-packages/numerical
+SCIENTIFICDIR= ${PYTHONSCRIPTDIR}/site-packages/Scientific
+DOCDIR= ${PREFIX}/share/doc/py-scientific
+EXAMPLEDIR= ${PREFIX}/share/examples/py-scientific
+
+post-extract:
+ @${CP} ${FILESDIR}/Setup ${WRKSRC}
+ @${CP} ${PYTHONSCRIPTDIR}/config/Makefile.pre.in ${WRKSRC}
+
+do-configure:
+ @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
+
+post-install:
+ cd ${WRKDIR}/${DISTNAME}; tar cf - Scientific | \
+ (cd ${PYTHONSCRIPTDIR}/site-packages; tar xf -)
+ @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${SCIENTIFICDIR}
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${SCIENTIFICDIR}
+ @${MKDIR} ${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Examples/* ${EXAMPLEDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCDIR}
+ cd ${WRKDIR}/${DISTNAME}/Doc; tar cf - . | \
+ (cd ${DOCDIR}; tar xf -)
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/py-scientific/distinfo b/math/py-scientific/distinfo
new file mode 100644
index 000000000000..dd2959cd7206
--- /dev/null
+++ b/math/py-scientific/distinfo
@@ -0,0 +1 @@
+MD5 (ScientificPython-2.0b1.tar.gz) = 2271bf68ac4dba199893006ec71563cc
diff --git a/math/py-scientific/files/Setup b/math/py-scientific/files/Setup
new file mode 100644
index 000000000000..3adc0be7b2a3
--- /dev/null
+++ b/math/py-scientific/files/Setup
@@ -0,0 +1,8 @@
+*shared*
+
+# netCDF interface module
+
+# Change the paths after -I and -L to the directories where
+# the files netcdf.h and libnetcdf.* are located.
+
+Scientific_netcdf -I${PREFIX}/include -I${PREFIX}/include/python1.5/numerical -I../Scientific/Include Scientific_netcdf.c -L${PREFIX}/lib -lnetcdf
diff --git a/math/py-scientific/pkg-comment b/math/py-scientific/pkg-comment
new file mode 100644
index 000000000000..d62b12498b11
--- /dev/null
+++ b/math/py-scientific/pkg-comment
@@ -0,0 +1 @@
+A collection of Python modules for scientific computing.
diff --git a/math/py-scientific/pkg-descr b/math/py-scientific/pkg-descr
new file mode 100644
index 000000000000..a433f5e04376
--- /dev/null
+++ b/math/py-scientific/pkg-descr
@@ -0,0 +1,10 @@
+ScientificPython is a collection of Python modules that are useful for
+scientific computing. In this collection you will find modules that
+cover basic geometry (vectors, tensors, transformations, vector and
+tensor fields), quaternions, automatic derivatives, (linear)
+interpolation, polynomials, elementary statistics, nonlinear
+least-squares fits, unit calculations, Fortran-compatible text
+formatting, 3D visualization via VRML, and two Tk widgets for simple
+line plots and 3D wireframe models.
+
+WWW: http://starship.python.net/crew/hinsen/scientific.html
diff --git a/math/py-scientific/pkg-plist b/math/py-scientific/pkg-plist
new file mode 100644
index 000000000000..89a1669689a5
--- /dev/null
+++ b/math/py-scientific/pkg-plist
@@ -0,0 +1,182 @@
+lib/python1.5/site-packages/Scientific/DictWithDefault.py
+lib/python1.5/site-packages/Scientific/DictWithDefault.pyc
+lib/python1.5/site-packages/Scientific/DictWithDefault.pyo
+lib/python1.5/site-packages/Scientific/Functions/Derivatives.py
+lib/python1.5/site-packages/Scientific/Functions/Derivatives.pyc
+lib/python1.5/site-packages/Scientific/Functions/Derivatives.pyo
+lib/python1.5/site-packages/Scientific/Functions/FindRoot.py
+lib/python1.5/site-packages/Scientific/Functions/FindRoot.pyc
+lib/python1.5/site-packages/Scientific/Functions/FindRoot.pyo
+lib/python1.5/site-packages/Scientific/Functions/FirstDerivatives.py
+lib/python1.5/site-packages/Scientific/Functions/FirstDerivatives.pyc
+lib/python1.5/site-packages/Scientific/Functions/FirstDerivatives.pyo
+lib/python1.5/site-packages/Scientific/Functions/Interpolation.py
+lib/python1.5/site-packages/Scientific/Functions/Interpolation.pyc
+lib/python1.5/site-packages/Scientific/Functions/Interpolation.pyo
+lib/python1.5/site-packages/Scientific/Functions/LeastSquares.py
+lib/python1.5/site-packages/Scientific/Functions/LeastSquares.pyc
+lib/python1.5/site-packages/Scientific/Functions/LeastSquares.pyo
+lib/python1.5/site-packages/Scientific/Functions/Polynomial.py
+lib/python1.5/site-packages/Scientific/Functions/Polynomial.pyc
+lib/python1.5/site-packages/Scientific/Functions/Polynomial.pyo
+lib/python1.5/site-packages/Scientific/Functions/Romberg.py
+lib/python1.5/site-packages/Scientific/Functions/Romberg.pyc
+lib/python1.5/site-packages/Scientific/Functions/Romberg.pyo
+lib/python1.5/site-packages/Scientific/Functions/__init__.py
+lib/python1.5/site-packages/Scientific/Functions/__init__.pyc
+lib/python1.5/site-packages/Scientific/Functions/__init__.pyo
+lib/python1.5/site-packages/Scientific/Geometry/Objects3D.py
+lib/python1.5/site-packages/Scientific/Geometry/Objects3D.pyc
+lib/python1.5/site-packages/Scientific/Geometry/Objects3D.pyo
+lib/python1.5/site-packages/Scientific/Geometry/Quaternion.py
+lib/python1.5/site-packages/Scientific/Geometry/Quaternion.pyc
+lib/python1.5/site-packages/Scientific/Geometry/Quaternion.pyo
+lib/python1.5/site-packages/Scientific/Geometry/TensorAnalysis.py
+lib/python1.5/site-packages/Scientific/Geometry/TensorAnalysis.pyc
+lib/python1.5/site-packages/Scientific/Geometry/TensorAnalysis.pyo
+lib/python1.5/site-packages/Scientific/Geometry/TensorModule.py
+lib/python1.5/site-packages/Scientific/Geometry/TensorModule.pyc
+lib/python1.5/site-packages/Scientific/Geometry/TensorModule.pyo
+lib/python1.5/site-packages/Scientific/Geometry/Transformation.py
+lib/python1.5/site-packages/Scientific/Geometry/Transformation.pyc
+lib/python1.5/site-packages/Scientific/Geometry/Transformation.pyo
+lib/python1.5/site-packages/Scientific/Geometry/VectorModule.py
+lib/python1.5/site-packages/Scientific/Geometry/VectorModule.pyc
+lib/python1.5/site-packages/Scientific/Geometry/VectorModule.pyo
+lib/python1.5/site-packages/Scientific/Geometry/__init__.py
+lib/python1.5/site-packages/Scientific/Geometry/__init__.pyc
+lib/python1.5/site-packages/Scientific/Geometry/__init__.pyo
+lib/python1.5/site-packages/Scientific/IO/ArrayIO.py
+lib/python1.5/site-packages/Scientific/IO/ArrayIO.pyc
+lib/python1.5/site-packages/Scientific/IO/ArrayIO.pyo
+lib/python1.5/site-packages/Scientific/IO/FortranFormat.py
+lib/python1.5/site-packages/Scientific/IO/FortranFormat.pyc
+lib/python1.5/site-packages/Scientific/IO/FortranFormat.pyo
+lib/python1.5/site-packages/Scientific/IO/NetCDF.py
+lib/python1.5/site-packages/Scientific/IO/NetCDF.pyc
+lib/python1.5/site-packages/Scientific/IO/NetCDF.pyo
+lib/python1.5/site-packages/Scientific/IO/PDB.py
+lib/python1.5/site-packages/Scientific/IO/PDB.pyc
+lib/python1.5/site-packages/Scientific/IO/PDB.pyo
+lib/python1.5/site-packages/Scientific/IO/PDBExportFilters.py
+lib/python1.5/site-packages/Scientific/IO/PDBExportFilters.pyc
+lib/python1.5/site-packages/Scientific/IO/PDBExportFilters.pyo
+lib/python1.5/site-packages/Scientific/IO/TextFile.py
+lib/python1.5/site-packages/Scientific/IO/TextFile.pyc
+lib/python1.5/site-packages/Scientific/IO/TextFile.pyo
+lib/python1.5/site-packages/Scientific/IO/__init__.py
+lib/python1.5/site-packages/Scientific/IO/__init__.pyc
+lib/python1.5/site-packages/Scientific/IO/__init__.pyo
+lib/python1.5/site-packages/Scientific/Include/scientific_netcdfmodule.h
+lib/python1.5/site-packages/Scientific/Installation.py
+lib/python1.5/site-packages/Scientific/Installation.pyc
+lib/python1.5/site-packages/Scientific/Installation.pyo
+lib/python1.5/site-packages/Scientific/Mathematica.py
+lib/python1.5/site-packages/Scientific/Mathematica.pyc
+lib/python1.5/site-packages/Scientific/Mathematica.pyo
+lib/python1.5/site-packages/Scientific/NumberDict.py
+lib/python1.5/site-packages/Scientific/NumberDict.pyc
+lib/python1.5/site-packages/Scientific/NumberDict.pyo
+lib/python1.5/site-packages/Scientific/Physics/PhysicalQuantities.py
+lib/python1.5/site-packages/Scientific/Physics/PhysicalQuantities.pyc
+lib/python1.5/site-packages/Scientific/Physics/PhysicalQuantities.pyo
+lib/python1.5/site-packages/Scientific/Physics/Potential.py
+lib/python1.5/site-packages/Scientific/Physics/Potential.pyc
+lib/python1.5/site-packages/Scientific/Physics/Potential.pyo
+lib/python1.5/site-packages/Scientific/Physics/__init__.py
+lib/python1.5/site-packages/Scientific/Physics/__init__.pyc
+lib/python1.5/site-packages/Scientific/Physics/__init__.pyo
+lib/python1.5/site-packages/Scientific/Statistics/Histogram.py
+lib/python1.5/site-packages/Scientific/Statistics/Histogram.pyc
+lib/python1.5/site-packages/Scientific/Statistics/Histogram.pyo
+lib/python1.5/site-packages/Scientific/Statistics/__init__.py
+lib/python1.5/site-packages/Scientific/Statistics/__init__.pyc
+lib/python1.5/site-packages/Scientific/Statistics/__init__.pyo
+lib/python1.5/site-packages/Scientific/TkWidgets/TkPlotCanvas.py
+lib/python1.5/site-packages/Scientific/TkWidgets/TkPlotCanvas.pyc
+lib/python1.5/site-packages/Scientific/TkWidgets/TkPlotCanvas.pyo
+lib/python1.5/site-packages/Scientific/TkWidgets/TkVisualizationCanvas.py
+lib/python1.5/site-packages/Scientific/TkWidgets/TkVisualizationCanvas.pyc
+lib/python1.5/site-packages/Scientific/TkWidgets/TkVisualizationCanvas.pyo
+lib/python1.5/site-packages/Scientific/TkWidgets/__init__.py
+lib/python1.5/site-packages/Scientific/TkWidgets/__init__.pyc
+lib/python1.5/site-packages/Scientific/TkWidgets/__init__.pyo
+lib/python1.5/site-packages/Scientific/Visualization/Color.py
+lib/python1.5/site-packages/Scientific/Visualization/Color.pyc
+lib/python1.5/site-packages/Scientific/Visualization/Color.pyo
+lib/python1.5/site-packages/Scientific/Visualization/VMD.py
+lib/python1.5/site-packages/Scientific/Visualization/VMD.pyc
+lib/python1.5/site-packages/Scientific/Visualization/VMD.pyo
+lib/python1.5/site-packages/Scientific/Visualization/VRML.py
+lib/python1.5/site-packages/Scientific/Visualization/VRML.pyc
+lib/python1.5/site-packages/Scientific/Visualization/VRML.pyo
+lib/python1.5/site-packages/Scientific/Visualization/VRML2.py
+lib/python1.5/site-packages/Scientific/Visualization/VRML2.pyc
+lib/python1.5/site-packages/Scientific/Visualization/VRML2.pyo
+lib/python1.5/site-packages/Scientific/Visualization/__init__.py
+lib/python1.5/site-packages/Scientific/Visualization/__init__.pyc
+lib/python1.5/site-packages/Scientific/Visualization/__init__.pyo
+lib/python1.5/site-packages/Scientific/__init__.py
+lib/python1.5/site-packages/Scientific/__init__.pyc
+lib/python1.5/site-packages/Scientific/__init__.pyo
+lib/python1.5/site-packages/Scientific/indexing.py
+lib/python1.5/site-packages/Scientific/indexing.pyc
+lib/python1.5/site-packages/Scientific/indexing.pyo
+lib/python1.5/site-packages/Scientific_netcdf.so
+share/doc/py-scientific/.redo_ScientificPython
+share/doc/py-scientific/HTML/ScientificPython.html
+share/doc/py-scientific/HTML/ScientificPython_module_1.html
+share/doc/py-scientific/HTML/ScientificPython_module_10.html
+share/doc/py-scientific/HTML/ScientificPython_module_11.html
+share/doc/py-scientific/HTML/ScientificPython_module_12.html
+share/doc/py-scientific/HTML/ScientificPython_module_13.html
+share/doc/py-scientific/HTML/ScientificPython_module_14.html
+share/doc/py-scientific/HTML/ScientificPython_module_15.html
+share/doc/py-scientific/HTML/ScientificPython_module_16.html
+share/doc/py-scientific/HTML/ScientificPython_module_17.html
+share/doc/py-scientific/HTML/ScientificPython_module_18.html
+share/doc/py-scientific/HTML/ScientificPython_module_19.html
+share/doc/py-scientific/HTML/ScientificPython_module_2.html
+share/doc/py-scientific/HTML/ScientificPython_module_20.html
+share/doc/py-scientific/HTML/ScientificPython_module_21.html
+share/doc/py-scientific/HTML/ScientificPython_module_22.html
+share/doc/py-scientific/HTML/ScientificPython_module_23.html
+share/doc/py-scientific/HTML/ScientificPython_module_24.html
+share/doc/py-scientific/HTML/ScientificPython_module_25.html
+share/doc/py-scientific/HTML/ScientificPython_module_26.html
+share/doc/py-scientific/HTML/ScientificPython_module_27.html
+share/doc/py-scientific/HTML/ScientificPython_module_28.html
+share/doc/py-scientific/HTML/ScientificPython_module_29.html
+share/doc/py-scientific/HTML/ScientificPython_module_3.html
+share/doc/py-scientific/HTML/ScientificPython_module_30.html
+share/doc/py-scientific/HTML/ScientificPython_module_31.html
+share/doc/py-scientific/HTML/ScientificPython_module_32.html
+share/doc/py-scientific/HTML/ScientificPython_module_33.html
+share/doc/py-scientific/HTML/ScientificPython_module_34.html
+share/doc/py-scientific/HTML/ScientificPython_module_35.html
+share/doc/py-scientific/HTML/ScientificPython_module_4.html
+share/doc/py-scientific/HTML/ScientificPython_module_5.html
+share/doc/py-scientific/HTML/ScientificPython_module_6.html
+share/doc/py-scientific/HTML/ScientificPython_module_7.html
+share/doc/py-scientific/HTML/ScientificPython_module_8.html
+share/doc/py-scientific/HTML/ScientificPython_module_9.html
+share/doc/py-scientific/ScientificPython.xml
+share/doc/py-scientific/ScientificPython_A4.ps
+share/doc/py-scientific/ScientificPython_letter.ps
+share/examples/py-scientific/README
+share/examples/py-scientific/Setup.template
+share/examples/py-scientific/compile.py
+share/examples/py-scientific/demomodule.c
+share/examples/py-scientific/netcdf_demo.py
+@dirrm lib/python1.5/site-packages/Scientific/Visualization
+@dirrm lib/python1.5/site-packages/Scientific/TkWidgets
+@dirrm lib/python1.5/site-packages/Scientific/Statistics
+@dirrm lib/python1.5/site-packages/Scientific/Physics
+@dirrm lib/python1.5/site-packages/Scientific/Include
+@dirrm lib/python1.5/site-packages/Scientific/IO
+@dirrm lib/python1.5/site-packages/Scientific/Geometry
+@dirrm lib/python1.5/site-packages/Scientific/Functions
+@dirrm lib/python1.5/site-packages/Scientific
+@dirrm share/doc/py-scientific/HTML
+@dirrm share/doc/py-scientific
+@dirrm share/examples/py-scientific