# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 # HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl name py26-numpy version 1.2.1 categories python platforms darwin maintainers mcalhoun openmaintainer description The core utilities for the scientific library scipy for Python long_description ${description} homepage http://numpy.scipy.org/ master_sites sourceforge:numpy distname numpy-${version} checksums md5 1bc6dbddaf4b48ded8a619c6438fff37 \ sha1 1aa706e733aea18eaffa70d93c0105718acb66c5 \ rmd160 7eb721d0d853f3b0b9b04a4f447353873d6c0997 patchfiles patch-g95_link.diff \ patch-f2py_setup.py.diff depends_lib-append port:fftw-3 \ port:py26-nose post-patch { reinplace "s|@@MPORTS_PYTHON_LIBRARY@@|${python.lib}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py } post-destroot { set branch 2.6 ln -s ${python.prefix}/bin/f2py ${destroot}${prefix}/bin/f2py-${branch} } post-activate { ui_msg "\n\nWarning: numpy version 1.2.1 is know not to work well with python 2.6" ui_msg "Testing fails: ${prefix}/bin/python2.6 -c 'import numpy; numpy.test()'\n\n" } livecheck.distname NumPy