8830c13399
Version 0.55.2 (25 May, 2022) ----------------------------- This is a maintenance release to support NumPy 1.22 and Apple M1.
33 lines
856 B
Makefile
33 lines
856 B
Makefile
# $NetBSD: Makefile,v 1.31 2022/05/27 08:29:57 adam Exp $
|
|
|
|
DISTNAME= numba-0.55.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numba/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://numba.pydata.org/
|
|
COMMENT= NumPy aware dynamic Python compiler using LLVM
|
|
LICENSE= 2-clause-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-llvmlite>=0.38.0:../../devel/py-llvmlite
|
|
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
|
|
|
# OpenMP is not portable
|
|
MAKE_ENV+= NUMBA_DISABLE_OPENMP=1
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
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"
|