From e50a2634de89b0c0364fd877b3c1abc05835ad6b Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 28 Nov 2020 21:50:34 +0000 Subject: [PATCH] devel/py-numba: Update 0.47.0 -> 0.51.2 PR: 250937 Approved by: dave@dal.ca (maintainer's timeout 21 days) --- devel/py-numba/Makefile | 3 +-- devel/py-numba/distinfo | 6 +++--- .../files/patch-numba_np_ufunc_workqueue.c | 15 +++++++++++++++ .../files/patch-numba_npyufunc_workqueue.c | 14 -------------- devel/py-numba/pkg-descr | 8 ++++---- 5 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 devel/py-numba/files/patch-numba_np_ufunc_workqueue.c delete mode 100644 devel/py-numba/files/patch-numba_npyufunc_workqueue.c diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile index 0f55738ecbbd..622e0a8181cc 100644 --- a/devel/py-numba/Makefile +++ b/devel/py-numba/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= numba -DISTVERSION= 0.47.0 -PORTREVISION= 3 +DISTVERSION= 0.51.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-numba/distinfo b/devel/py-numba/distinfo index c424fbc70aaf..43db1450eccd 100644 --- a/devel/py-numba/distinfo +++ b/devel/py-numba/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1578995274 -SHA256 (numba-0.47.0.tar.gz) = c0703df0a0ea2e29fbef7937d9849cc4734253066cb5820c5d6e0851876e3b0a -SIZE (numba-0.47.0.tar.gz) = 1935290 +TIMESTAMP = 1604791415 +SHA256 (numba-0.51.2.tar.gz) = 16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768 +SIZE (numba-0.51.2.tar.gz) = 2059680 diff --git a/devel/py-numba/files/patch-numba_np_ufunc_workqueue.c b/devel/py-numba/files/patch-numba_np_ufunc_workqueue.c new file mode 100644 index 000000000000..5e479d80a265 --- /dev/null +++ b/devel/py-numba/files/patch-numba_np_ufunc_workqueue.c @@ -0,0 +1,15 @@ +--- 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 + #include +-#include ++#if defined(__FreeBSD__) ++# include ++#else ++# include ++#endif + #include + #include + #include diff --git a/devel/py-numba/files/patch-numba_npyufunc_workqueue.c b/devel/py-numba/files/patch-numba_npyufunc_workqueue.c deleted file mode 100644 index 2005a5c9e990..000000000000 --- a/devel/py-numba/files/patch-numba_npyufunc_workqueue.c +++ /dev/null @@ -1,14 +0,0 @@ ---- numba/npyufunc/workqueue.c.orig 2018-11-14 22:14:35 UTC -+++ numba/npyufunc/workqueue.c -@@ -19,7 +19,11 @@ race condition. - /* PThread */ - #include - #include -+#if defined(__FreeBSD__) -+#include -+#else - #include -+#endif - #define NUMBA_PTHREAD - #endif - diff --git a/devel/py-numba/pkg-descr b/devel/py-numba/pkg-descr index be2234746e4f..d37b66b9d706 100644 --- a/devel/py-numba/pkg-descr +++ b/devel/py-numba/pkg-descr @@ -1,7 +1,7 @@ -Numba gives you the power to speed up your applications with high performance -functions written directly in Python. With a few annotations, array-oriented -and math-heavy Python code can be just-in-time compiled to native machine -instructions, similar in performance to C, C++ and Fortran, without having to +Numba gives you the power to speed up your applications with high performance +functions written directly in Python. With a few annotations, array-oriented +and math-heavy Python code can be just-in-time compiled to native machine +instructions, similar in performance to C, C++ and Fortran, without having to switch languages or Python interpreters. WWW: https://numba.pydata.org/