Date: Thu, 29 Sep 2022 15:29:59 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 69be0c04ff45 - main - devel/py-numba: Update 0.51.2 -> 0.56.2 Message-ID: <202209291529.28TFTxMn003370@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=69be0c04ff452f37415f62cfbd3ccb1968ca10a8 commit 69be0c04ff452f37415f62cfbd3ccb1968ca10a8 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-09-29 15:23:50 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-09-29 15:29:55 +0000 devel/py-numba: Update 0.51.2 -> 0.56.2 PR: 266538 Approved by: dave@dal.ca (maintainer) --- devel/py-numba/Makefile | 12 +++++++++--- devel/py-numba/distinfo | 6 +++--- devel/py-numba/files/patch-numba_np_ufunc_workqueue.c | 15 --------------- 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile index c00fc1339882..e84cf11dfc03 100644 --- a/devel/py-numba/Makefile +++ b/devel/py-numba/Makefile @@ -1,5 +1,5 @@ PORTNAME= numba -DISTVERSION= 0.51.2 +DISTVERSION= 0.56.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,13 +16,19 @@ BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>1.11,1:math/py-numpy@${PY_FLAVOR} -LIB_DEPENDS= libtbb.so:devel/tbb +LIB_DEPENDS= libtbb.so:devel/onetbb RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llvmlite>=0.31.0:devel/py-llvmlite@${PY_FLAVOR} USES= compiler:c++11-lang python:3.6+ fortran localbase -USE_PYTHON= distutils concurrent autoplist +USE_PYTHON= distutils concurrent autoplist unittest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/numba/tests post-install: @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD} +do-test: # tests run for a very long time + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m numba.runtests + .include <bsd.port.mk> diff --git a/devel/py-numba/distinfo b/devel/py-numba/distinfo index 43db1450eccd..ab2008ad8c22 100644 --- a/devel/py-numba/distinfo +++ b/devel/py-numba/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1604791415 -SHA256 (numba-0.51.2.tar.gz) = 16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768 -SIZE (numba-0.51.2.tar.gz) = 2059680 +TIMESTAMP = 1663644489 +SHA256 (numba-0.56.2.tar.gz) = 3492f0a5d09e257fc521f5377a6c6b907eec1920d14739f0b2458b9d29946a5a +SIZE (numba-0.56.2.tar.gz) = 2417234 diff --git a/devel/py-numba/files/patch-numba_np_ufunc_workqueue.c b/devel/py-numba/files/patch-numba_np_ufunc_workqueue.c deleted file mode 100644 index 5e479d80a265..000000000000 --- a/devel/py-numba/files/patch-numba_np_ufunc_workqueue.c +++ /dev/null @@ -1,15 +0,0 @@ ---- numba/np/ufunc/workqueue.c.orig 2020-11-07 23:26:52 UTC -+++ numba/np/ufunc/workqueue.c -@@ -27,7 +27,11 @@ race conditions. - /* PThread */ - #include <pthread.h> - #include <unistd.h> --#include <alloca.h> -+#if defined(__FreeBSD__) -+# include <stdlib.h> -+#else -+# include <alloca.h> -+#endif - #include <sys/types.h> - #include <unistd.h> - #include <signal.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209291529.28TFTxMn003370>