# -*- 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
maintainers {michaelld @michaelld} openmaintainer
description The core utilities for the scientific library scipy for Python
long_description ${description}
github.setup numpy numpy 1.14.5 v
checksums rmd160 9713881a218831b491c88ee1c43876c7afb1c715 \
sha256 55ca2b77e8c8f27e0dc70f7222e9b3bfd4109f0530a385df0177c8254d3be509 \
if {${name} ne ${subport}} {
# the python PortGroup puts compiler names in build.env and destroot.env
# for this to be done correctly, the following must be located before python.versions
pre-build { set_compilers }
pre-destroot { set_compilers }
python.versions 26 27 33 34 35 36
# respect ${build_arch} value
compilers.clear_archflags no
# http://trac.macports.org/ticket/34562
python.consistent_destroot yes
# TODO: Fix the +universal variant. This port is a fairly deep dependency and needs to be able to support +universal.
# https://trac.macports.org/ticket/48263
if {${name} ne ${subport}} {
if {${python.version} == 26 || ${python.version} == 33} {
github.setup numpy numpy 1.11.3 v
checksums rmd160 8cc323d5944301aefa1f66f17d4af14c364c6b32 \
sha256 dbdda9104c7dbc2d8ae691367a2bb1815a62598c5278097b4eee035b85abf6a1 \
patchfiles-append patch-numpy_core_setup.py.26.diff \
patch-numpy_distutils_fcompiler_gnu.py.26.diff \
patch-numpy_tests_test_scripts.py.26.diff \
patch-fcompiler_g95.26.diff
patchfiles-append patch-numpy_core_setup.py.diff \
patch-numpy_distutils_fcompiler_gnu.py.diff \
patch-numpy_tests_test_scripts.py.diff \
compilers.setup require_fortran -clang -gcc44 -gcc45 \
-gcc46 -gcc47 -gcc48 -g95 clang37
patchfiles-append patch-f2py_setup.py.diff
depends_lib-append port:fftw-3 \
port:py${python.version}-nose \
port:py${python.version}-cython