# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# https://software.intel.com/en-us/license/intel-simplified-software-license
license Restrictive/Distributable
maintainers {jonesc @cjones051073} openmaintainer
description Math library for Intel and compatible processors
long_description ${description}
python.versions 27 35 36 37
# Intel only supports 10.12 and newer
if { ${os.major} <= 15 } {
ui_error "${name} is not supported on this OSX release."
return -code error "Unsupported OSX version"
# add sub-ports for headers
foreach _py ${python.versions} {
subport py${_py}-mkl-include { }
if {${name} ne ${subport}} {
port:py${python.version}-pip
# strip pyXY from subport name
set local_name [string replace ${subport} 0 4 ]
homepage https://pypi.org/project/${local_name}
if {[string match "*-include" $subport]} {
master_sites https://files.pythonhosted.org/packages/4f/49/c24113b33981a2c3e6915eb94f50c56ea61639963339e03eaed37787cc81/
distname mkl_include-${version}-py2.py3-none-macosx_10_12_intel.macosx_10_12_x86_64
checksums rmd160 097dd5bcbcc0a704e065cbdc629c7a10bf9e0b71 \
sha256 dd9e2224dcdbede569c996f971e663f64f184a432ccb01f2dceca768a77cb2b4 \
depends_lib-append port:py${python.version}-mkl