pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-asteval



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul 17 07:19:25 UTC 2023

Modified Files:
        pkgsrc/math/py-asteval: Makefile distinfo

Log Message:
py-asteval: updated to 0.9.31

0.9.31
cleanup numpy imports to avoid deprecated functions, add financial functions from numpy_financial module, if installed.
prefer 'user_symbols' when initializing Interpreter, but still support 'usersyms' argument. Will deprecate and remove eventually.
add support of optional (off-by default) "nested symbol table", based on a Group object that can be accessed from Python either with dict syntax (ie aeval.symtable['x']) or with object attribute 
access (aeval.symtable.x). In addition, symbols can be found by looking first in the top-level symbol table and then in sub-Groups named in symtable._searchgroups, allowing for a more hierarchical, 
nested symbol table. This should be considered experimental and is off by default. The make_symbol_table() function gains a nested=False argument to control whether to use this option.
update tests to run most tests with symbol tables of dict and nested group type.
general code and testing cleanup.

0.9.30
add config argument to Interpreter to more fully control which nodes are supported
add support for import and importfrom -- off by default
add support for with blocks
add support for f-strings
add support of set and dict comprehension
fix bug with 'int**int' not returning a float.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/math/py-asteval/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-asteval/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-asteval/Makefile
diff -u pkgsrc/math/py-asteval/Makefile:1.17 pkgsrc/math/py-asteval/Makefile:1.18
--- pkgsrc/math/py-asteval/Makefile:1.17        Sat Jul  1 08:37:38 2023
+++ pkgsrc/math/py-asteval/Makefile     Mon Jul 17 07:19:25 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2023/07/01 08:37:38 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2023/07/17 07:19:25 adam Exp $
 
-DISTNAME=      asteval-0.9.29
+DISTNAME=      asteval-0.9.31
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asteval/}
@@ -15,7 +15,7 @@ DEPENDS+=     ${PYPKGPREFIX}-numpy>=1.6:../.
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 37 38
+PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
 do-test:
        cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_asteval.py

Index: pkgsrc/math/py-asteval/distinfo
diff -u pkgsrc/math/py-asteval/distinfo:1.15 pkgsrc/math/py-asteval/distinfo:1.16
--- pkgsrc/math/py-asteval/distinfo:1.15        Tue Feb 14 17:49:26 2023
+++ pkgsrc/math/py-asteval/distinfo     Mon Jul 17 07:19:25 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2023/02/14 17:49:26 adam Exp $
+$NetBSD: distinfo,v 1.16 2023/07/17 07:19:25 adam Exp $
 
-BLAKE2s (asteval-0.9.29.tar.gz) = 15fb70432f0f0fb72b845a44f35fd47c67368e07ce50d826ed5d6da8e41d8942
-SHA512 (asteval-0.9.29.tar.gz) = c7d1fa3b2b53c05cf542777ed4ae58d25ee426efc4687585cee98118804260b910c45008c2e37e1e569fc26653e8022525837afc7112756ffdf358fd68ac3459
-Size (asteval-0.9.29.tar.gz) = 42424 bytes
+BLAKE2s (asteval-0.9.31.tar.gz) = c8efe45bb3b0c22a4921276a0facac09ba160d308a0b9ff1a9f3d29cdd98c4c1
+SHA512 (asteval-0.9.31.tar.gz) = c1b62e5c152fb4911a098400fc6da98e4584b98acbb99efde4dc1cd0d7f322d0dc6cf6219d24eb611ababb3a09af4be4faef84a06e488e2cfe570a48454c0051
+Size (asteval-0.9.31.tar.gz) = 57410 bytes



Home | Main Index | Thread Index | Old Index