pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-numexpr
Module Name: pkgsrc
Committed By: adam
Date: Mon Aug 7 05:24:27 UTC 2023
Modified Files:
pkgsrc/math/py-numexpr: Makefile distinfo
Log Message:
py-numexpr: updated to 2.8.5
Changes from 2.8.4 to 2.8.5
---------------------------
* A `validate` function has been added. This function checks the inputs, returning
`None` on success or raising an exception on invalid inputs. This function was
added as numerous projects seem to be using NumExpr for parsing user inputs.
`re_evaluate` may be called directly following `validate`.
* As an addendum to the use of NumExpr for parsing user inputs, is that NumExpr
calls `eval` on the inputs. A regular expression is now applied to help sanitize
the input expression string, forbidding '__', ':', and ';'. Attribute access
is also banned except for '.r' for real and '.i' for imag.
* Thanks to timbrist for a fix to behavior of NumExpr with integers to negative
powers. NumExpr was pre-checking integer powers for negative values, which
was both inefficient and causing parsing errors in some situations. Now NumExpr
will simply return 0 as a result for such cases. While NumExpr generally tries
to follow NumPy behavior, performance is also critical.
* Thanks to peadar for some fixes to how NumExpr launches threads for embedded
applications.
* Thanks to de11n for making parsing of the `site.cfg` for MKL consistent among
all shared platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/math/py-numexpr/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/math/py-numexpr/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-numexpr/Makefile
diff -u pkgsrc/math/py-numexpr/Makefile:1.29 pkgsrc/math/py-numexpr/Makefile:1.30
--- pkgsrc/math/py-numexpr/Makefile:1.29 Tue Aug 1 23:20:47 2023
+++ pkgsrc/math/py-numexpr/Makefile Mon Aug 7 05:24:27 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2023/08/01 23:20:47 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2023/08/07 05:24:27 adam Exp $
-DISTNAME= numexpr-2.8.4
+DISTNAME= numexpr-2.8.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numexpr/}
Index: pkgsrc/math/py-numexpr/distinfo
diff -u pkgsrc/math/py-numexpr/distinfo:1.23 pkgsrc/math/py-numexpr/distinfo:1.24
--- pkgsrc/math/py-numexpr/distinfo:1.23 Thu Nov 3 10:46:15 2022
+++ pkgsrc/math/py-numexpr/distinfo Mon Aug 7 05:24:27 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2022/11/03 10:46:15 adam Exp $
+$NetBSD: distinfo,v 1.24 2023/08/07 05:24:27 adam Exp $
-BLAKE2s (numexpr-2.8.4.tar.gz) = 73aec648abefd2668c2e32cdff90ab5bf05df43fe4ecfc3ea37fc9520ea4a9f6
-SHA512 (numexpr-2.8.4.tar.gz) = d18e7d2842a6615229474c5e92c37efb070b6f630329d22028f161746bd9b4d612335d9d657098ed25c501f8e233b084834ae10cabbb81305e9c4b465d72d85f
-Size (numexpr-2.8.4.tar.gz) = 98719 bytes
+BLAKE2s (numexpr-2.8.5.tar.gz) = aa80341220847acb71c31175e09905b38f293b44b3d5a376b9b81e5dc10a9440
+SHA512 (numexpr-2.8.5.tar.gz) = 4f3dd9a3071fc1e90976d704d3235dd6c8a80aed423eda7d662a21f4b2b51222bea9c8604d7eb97d7e226a9e1f6c0cfd3608557ac3e609a7dc103e84ea99c784
+Size (numexpr-2.8.5.tar.gz) = 101666 bytes
Home |
Main Index |
Thread Index |
Old Index