82be09c301
Version 0.42.0 In this release the major features are: * The capability to launch and attach the GDB debugger from within a jitted function. * The upgrading of LLVM to version 7.0.0.
33 lines
948 B
Makefile
33 lines
948 B
Makefile
# $NetBSD: Makefile,v 1.5 2019/01/02 15:43:10 adam Exp $
|
|
|
|
DISTNAME= numba-0.42.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.27.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
|
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
post-install:
|
|
.for cmd in numba pycc
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} ${cmd} ${cmd}-${PYVERSSUFFIX} || ${TRUE}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|