[Lunar-commits] CVS: moonbase/libs/f2py BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 PRE_BUILD, NONE, 1.1

Jeff Hodges jmhodges at lunar-linux.org
Thu Jul 22 23:13:55 GMT 2004


Update of /var/cvs/lunar/moonbase/libs/f2py
In directory dbguin.lunar-linux.org:/tmp/cvs-serv28077/f2py

Added Files:
	BUILD DEPENDS DETAILS PRE_BUILD 
Log Message:
f2py - for your fortran to python needs

--- NEW FILE: BUILD ---
(
  prepare_install &&
  python setup.py install
) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends Python &&
depends numpy

--- NEW FILE: DETAILS ---
          MODULE=f2py
         VERSION=2.39.235_1693
          SOURCE=F2PY-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/F2PY-$VERSION
   SOURCE_URL[0]=http://cens.ioc.ee/projects/f2py2e/2.x/$SOURCE
        WEB_SITE=http://cens.ioc.ee/projects/f2py2e/
         ENTERED=20040721
         UPDATED=20040721
           SHORT="Fortran to Python interface generator"
cat << EOF
The purpose of the F2PY --Fortran to Python interface generator--
project is to provide connection between Python and Fortran
languages. F2PY is a Python extension tool for creating Python
C/API modules from (handwritten or F2PY generated) signature files
(or directly from Fortran sources). The generated extension modules
facilitate:

    * Calling Fortran 77/90/95, Fortran 90/95 module, and C functions
    from Python.  
    * Accessing Fortran 77 COMMON blocks and Fortran 90/95 module 
    data (including allocatable arrays) from Python.
    * Calling Python functions from Fortran or C (call-backs).  *
    Automatically handling the difference in the data storage order
    of multi-dimensional Fortran and Numerical Python (i.e. C) arrays.

In addition, F2PY can build the generated extension modules to shared
libraries with one command. F2PY uses the scipy_distutils module from
SciPy that supports number of major Fortran compilers.
EOF

--- NEW FILE: PRE_BUILD ---
if  ! [ -e  /usr/bin/g77 ]; then
	message "${PROBLEM_COLOR}g77 is required to install this module.  Rebuild gcc with it enabled.${DEFAULT_COLOR}" &&
	false
fi &&
default_pre_build




More information about the Lunar-commits mailing list