summaryrefslogtreecommitdiff
path: root/math/py-Scientific/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-03-30 22:23:07 +0000
committerjtb <jtb@pkgsrc.org>2001-03-30 22:23:07 +0000
commita9668a776213cc72dbf1d471f28e7bca1ce9cd06 (patch)
tree205b8f45f4dcacf09f4d0f23560427ad3adeb1d1 /math/py-Scientific/Makefile
parentceb2e23d1b0c74ce2dd0ff7ad80f5df1da68b2f9 (diff)
downloadpkgsrc-a9668a776213cc72dbf1d471f28e7bca1ce9cd06.tar.gz
Updated to py-Scientific-2.2.
2.1.5 --> 2.2 ------------- Bug fixes: - The sign convention for rotation angles was not correctly applied in Scientific.Geometry.Transformation and Scientific.Geometry.Quaternions. Everything was consistent, but with the wrong sign. Improvements: - Scientific.IO.PDB can handle a larger range of variant formats for DNA New features: - New module Scientific.Visualization.VPython. - Scientific.IO.TextFile also handles bzip2 compressed files (extension .bz2). This only works if bzip2 is installed. 2.1.4 --> 2.1.5 --------------- New features: - Scientific.TkWidgets.TkPlotCanvas: - Popup menu on right button - Value display on middle button - HorizontalLine, VerticalLine objects Modifications: - MPI interface no longer assumes that MPI_Op and MPI_Datatype are integers (they aren't in LAM, for example). 2.1.3 --> 2.1.4 --------------- New features: - New MPI functions implemented by Jakob Schiotz: - nonblocking send and receive - abort - reduce and allreduce Modifications: - The Python interpreter lock is released during calls to the netCDF library, permitting other threads to continue during I/O operations. An internal lock has been added to prevent reentrant calls to the netCDF library, which is not thread safe. (If you don't understand any of this, you shouldn't care, it has no consequences unless you use threads.) - Methods receive and receiveString on MPI communicator objects can be called without source and tag arguments (defaults to None). Bug fixes: - The compilation script did not work correctly for MPI support 2.1.2 --> 2.1.3 --------------- New features: - Some small utility widgets have been added to Scientific.TkWidgets. They are not particularly "scientific", but not worth the effort of a separate distribution. Bug fixes: - The abs() function didn't work on DerivVar objects (modules Scientific.Functions.Derivatives and Scientific.Functions.FirstDerivatives) with negative values. - The method projectionOf in Scientific.Geometry.Objects3D.Plane was wrong. 2.1.1 --> 2.1.2 --------------- Installation: - The mpipython executable is compiled using 'mpicc', which should simplify installation significantly because all library specifications are automatically taken into account. In other words, MPI support should work on all platforms without any modifications to the Setup file. (Thanks to Jakob Schiotz for this suggestion!) - Some 'extern' declarations were changed to 'staticforward' to please some compilers. Documentation: - the documentation for the methods receive and receiveString were wrong. 2.1.0 --> 2.1.1 --------------- Bug fixes: - The upper bound for MPI message tags was not treated correctly, leading to a bound of zero on some platforms. Modifications: - The methods sendArray and sendString were combined into a single method send. - broadcastArray was renamed to broadcast, shareArray was renamed to share, receiveArray was renamed to receive. The only function that retains a data type indication is receiveString. 2.0.1 --> 2.1.0 --------------- Additions: - MPI interface in Scientific.MPI
Diffstat (limited to 'math/py-Scientific/Makefile')
-rw-r--r--math/py-Scientific/Makefile52
1 files changed, 25 insertions, 27 deletions
diff --git a/math/py-Scientific/Makefile b/math/py-Scientific/Makefile
index 494cdf44cc1..4c1b07232d7 100644
--- a/math/py-Scientific/Makefile
+++ b/math/py-Scientific/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2001/03/29 01:00:10 jtb Exp $
+# $NetBSD: Makefile,v 1.5 2001/03/30 22:23:07 jtb Exp $
-DISTNAME= ScientificPython-2.0.1
-PKGNAME= py-Scientific-2.0.1
+DISTNAME= ScientificPython-2.2
+PKGNAME= py-Scientific-2.2
CATEGORIES= math
MASTER_SITES= http://starship.python.net/crew/hinsen/ \
http://dirac.cnrs-orleans.fr/programs/
@@ -23,39 +23,37 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC
EVAL_PREFIX+= PYPREFIX=python NETCDFPREFIX=netcdf MPICHPREFIX=mpich
do-configure:
- ${SED} -e "s|@NETCDFPREFIX@|${NETCDFPREFIX}|g" \
- -e "s|@MPICHPREFIX@|${MPICHPREFIX}|g" \
- < ${FILESDIR}/Setup.in > ${WRKSRC}/Src/Setup.in
+ ${SED} -e "s|@NETCDFPREFIX@|${NETCDFPREFIX}|g" \
+ -e "s|@MPICHPREFIX@|${MPICHPREFIX}|g" \
+ ${WRKSRC}/setup.py > ${WRKSRC}/setup.py.tmp
+ ${MV} -f ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
+ ${SED} -e "s|@MPICHPREFIX@|${MPICHPREFIX}|g" \
+ ${FILESDIR}/Setup.in > ${WRKSRC}/Src/MPI/Setup.in
do-build:
- (cd ${WRKSRC}/Src && ${PYPREFIX}/bin/python compile.py)
+ cd ${WRKSRC} && ${PYPREFIX}/bin/python setup.py build
+ cd ${WRKSRC}/Src/MPI && ${PYPREFIX}/bin/python compile.py
post-build:
- (eval `${PYPREFIX}/bin/python ${FILESDIR}/printpypath.py` && \
- ${SED} "s|PYINC|$${PYINC}|g;s|PYSITELIB|$${PYSITELIB}|g" \
- < ${PKGDIR}/PLIST > ${PLIST_SRC})
+ (eval `${PYPREFIX}/bin/python ${FILESDIR}/printpypath.py` && \
+ ${SED} "s|PYINC|$${PYINC}|g;s|PYSITELIB|$${PYSITELIB}|g" \
+ ${PKGDIR}/PLIST > ${PLIST_SRC})
do-install:
- (cd ${WRKSRC} && ${PYPREFIX}/bin/python install.py)
- ${INSTALL_DATA_DIR} ${PREFIX}/include/python2.0/Scientific
- @for f in ${WRKSRC}/Scientific/Include/Scientific/*; do \
- i="${INSTALL_DATA} $$f ${PREFIX}/include/python2.0/Scientific/"; \
- ${ECHO} $$i; $$i; \
- done
+ cd ${WRKSRC} && ${PYPREFIX}/bin/python setup.py install
+ ${INSTALL_PROGRAM} ${WRKSRC}/Src/MPI/mpipython ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/${PYINC}/Scientific
+ ${INSTALL_DATA} ${WRKSRC}/Include/Scientific/* \
+ ${PREFIX}/${PYINC}/Scientific/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-Scientific
- @for f in README COPYRIGHT Doc/PDF/manual.pdf; do \
- i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/py-Scientific/"; \
- ${ECHO} $$i; $$i; \
+ for f in README COPYRIGHT Doc/PDF/manual.pdf; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/py-Scientific/; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/py-Scientific
- @for f in ${WRKSRC}/Doc/HTML/*; do \
- i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/html/py-Scientific/"; \
- ${ECHO} $$i; $$i; \
- done
+ ${INSTALL_DATA} ${WRKSRC}/Doc/HTML/* \
+ ${PREFIX}/share/doc/html/py-Scientific/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-Scientific
- @for f in ${WRKSRC}/Examples/*; do \
- i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/py-Scientific/"; \
- ${ECHO} $$i; $$i; \
- done
+ ${INSTALL_DATA} ${WRKSRC}/Examples/* \
+ ${PREFIX}/share/examples/py-Scientific/
.include "../../mk/bsd.pkg.mk"