# -*- 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
github.setup numba llvmlite 0.29.0 v
categories-append devel science
python.versions 27 34 35 36 37
maintainers {stromnov @stromnov} openmaintainer
description A lightweight LLVM python binding for writing JIT compilers
long_description ${description}
homepage http://llvmlite.pydata.org/
checksums rmd160 1f338c3b64bff688f47d98812f27f6070ba6143d \
sha256 ce381131ded4668dbe150634a0736da324fa32c9e31068d2305ced853f09f6fc \
if {${name} ne ${subport}} {
patchfiles-append patch-ffi_Makefile.osx.diff
reinplace "s|%%CXX%%|clang++-mp-8.0|" ${worksrcpath}/ffi/Makefile.osx
port:py${python.version}-setuptools \
depends_lib-append port:llvm-8.0 \
if {${python.version} < 34} {
depends_lib-append port:py${python.version}-enum34
build.env-append LLVM_CONFIG=llvm-config-mp-8.0
destroot.env-append LLVM_CONFIG=llvm-config-mp-8.0
livecheck.name ${python.rootname}
livecheck.url https://pypi.org/pypi/${livecheck.name}/json
livecheck.regex {"version":"([^"]+)"[,\}]}