# $NetBSD: Makefile,v 1.12 2019/10/19 14:17:02 adam Exp $ DISTNAME= numba-0.46.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_PYPI:=n/numba/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://numba.pydata.org/ COMMENT= NumPy aware dynamic Python compiler using LLVM LICENSE= 2-clause-bsd DEPENDS+= ${PYPKGPREFIX}-llvmlite>=0.30.0:../../devel/py-llvmlite USE_LANGUAGES= c c++ .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 27 DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34 DEPENDS+= ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch .endif post-install: .for cmd in numba pycc cd ${DESTDIR}${PREFIX}/bin && \ ${MV} ${cmd} ${cmd}-${PYVERSSUFFIX} || ${TRUE} .endfor .include "../../lang/python/egg.mk" .include "../../math/py-numpy/buildlink3.mk" .include "../../mk/bsd.pkg.mk"