head 1.19; access; symbols pkgsrc-2023Q4:1.18.0.4 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.2 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.16.0.4 pkgsrc-2023Q2-base:1.16 pkgsrc-2023Q1:1.16.0.2 pkgsrc-2023Q1-base:1.16 pkgsrc-2022Q4:1.15.0.2 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.14.0.4 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.14.0.2 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.13.0.2 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.10.0.2 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.9.0.2 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.8.0.4 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.2 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.4 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.2 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.4 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.2 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.2.0.4 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.2 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.1.0.4 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.2 pkgsrc-2018Q2-base:1.1; locks; strict; comment @# @; 1.19 date 2024.03.04.08.00.45; author adam; state Exp; branches; next 1.18; commitid qMrorLBBDn4mFO0F; 1.18 date 2023.07.17.07.19.25; author adam; state Exp; branches; next 1.17; commitid pKL193urhPYrR7xE; 1.17 date 2023.07.01.08.37.38; author wiz; state Exp; branches; next 1.16; commitid OGZpaIgVtdY8O4vE; 1.16 date 2023.02.14.17.49.26; author adam; state Exp; branches; next 1.15; commitid dzQTJ1GeifqAgwdE; 1.15 date 2022.11.15.10.12.18; author adam; state Exp; branches; next 1.14; commitid PmGMuxqd57T5FM1E; 1.14 date 2022.06.08.17.14.39; author adam; state Exp; branches; next 1.13; commitid 0OGSuu3rAjgQ8gHD; 1.13 date 2022.01.17.08.56.48; author adam; state Exp; branches; next 1.12; commitid xKj9jJ5YYwL3XXoD; 1.12 date 2022.01.04.20.54.12; author wiz; state Exp; branches; next 1.11; commitid CYyhdK9qtoffkmnD; 1.11 date 2021.12.30.13.05.35; author adam; state Exp; branches; next 1.10; commitid w23rFuQ4pTWhUFmD; 1.10 date 2021.11.04.13.56.13; author adam; state Exp; branches; next 1.9; commitid vciojAfhKqSMYtfD; 1.9 date 2021.06.29.08.42.00; author nia; state Exp; branches; next 1.8; commitid D0oUCU0hDExum0ZC; 1.8 date 2021.03.12.13.11.50; author adam; state Exp; branches; next 1.7; commitid 91kuxmQPsgIim1LC; 1.7 date 2021.02.08.08.34.37; author adam; state Exp; branches; next 1.6; commitid xbkZhJWFOEPYQSGC; 1.6 date 2020.10.05.21.05.09; author adam; state Exp; branches; next 1.5; commitid IbWiF0NsPQPz3LqC; 1.5 date 2020.04.27.07.23.25; author adam; state Exp; branches; next 1.4; commitid 3p8Ir9O6eCPlGZ5C; 1.4 date 2019.10.19.14.21.25; author adam; state Exp; branches; next 1.3; commitid hakFyeRDBuYA8uHB; 1.3 date 2019.06.15.06.46.36; author adam; state Exp; branches; next 1.2; commitid dPT5kxjFbKzEFfrB; 1.2 date 2018.10.11.10.07.04; author adam; state Exp; branches; next 1.1; commitid onff6Rjgj3BHIwVA; 1.1 date 2018.04.14.05.31.08; author adam; state Exp; branches; next ; commitid SLYCEiFz0VyIYmyA; desc @@ 1.19 log @py-asteval: updated to 0.9.32 0.9.32 Unknown changes @ text @# $NetBSD: Makefile,v 1.18 2023/07/17 07:19:25 adam Exp $ DISTNAME= asteval-0.9.32 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_PYPI:=a/asteval/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/newville/asteval COMMENT= Safe, minimalistic expression evaluator using ast module LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=45:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-numpy>=1.6:../../math/py-numpy TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 38 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.18 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2023/07/01 08:37:38 wiz Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.31 d13 3 a15 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm d17 2 d24 1 a24 4 do-test: cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_asteval.py .include "../../lang/python/egg.mk" @ 1.17 log @*: restrict py-numpy users to 3.9+ in preparation for update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2023/02/14 17:49:26 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.29 d18 1 a18 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38 @ 1.16 log @py-asteval: updated to 0.9.29 0.9.29 bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2022/11/15 10:12:18 adam Exp $ d18 1 a18 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.15 log @py-asteval: updated to 0.9.28 0.9.28 add support for Python 3.11 add support for multiple list comprehensions improve performance of making the initial symbol table, and Interpreter creation, including better checking for index_tricks attributes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2022/06/08 17:14:39 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.28 d13 1 a13 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm @ 1.14 log @py-asteval: updated to 0.9.27 0.9.27 more cleanups @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2022/01/17 08:56:48 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.27 a19 5 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} < 38 DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata .endif d21 1 a21 1 cd ${WRKSRC}/tests && ${PYTHONBIN} test_asteval.py @ 1.13 log @py-asteval: updated to 0.9.26 0.9.26: fix setup.py again @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2022/01/04 20:54:12 wiz Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.26 @ 1.12 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/12/30 13:05:35 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.25 a4 1 PKGREVISION= 1 d18 6 a23 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-numpy @ 1.11 log @Forget about Python 3.6 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/11/04 13:56:13 adam Exp $ d5 1 @ 1.10 log @py-asteval: updated to 0.9.25 0.9.25 fixes import errors for Py3.6 and 3.7, setting version with importlib_metadata.version if available. also fixes CI testing with github actions so that the proper version of Python is actually used in the test! 0.9.24 use setuptools_scm and importlib for version @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2021/06/29 08:42:00 nia Exp $ d18 1 a18 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-numpy @ 1.9 log @py-numpy: "Python version >= 3.7 required." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2021/03/12 13:11:50 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.23 d13 1 d18 1 a18 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 PYTHON_VERSIONS_INCOMPATIBLE+= 36 # py-numpy @ 1.8 log @py-asteval: updated to 0.9.23 0.9.23: treat all __dunder__ attributes of all objects as inherently unsafe. 0.9.22: update doc and license for 0.9.22 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2021/02/08 08:34:37 adam Exp $ d18 1 @ 1.7 log @py-asteval: updated to 0.9.21 0.9.21: another important but small fix for Python 3.9 0.9.20: doc update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/10/05 21:05:09 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.21 @ 1.6 log @py-asteval: updated to 0.9.19 0.9.19: erge branch 'nested_interrupts_returns' @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/04/27 07:23:25 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.19 @ 1.5 log @py-asteval: updated to 0.9.18 0.9.18: clarify that 0.9.17 was the final version to support Py2.7 0.9.17: add 3.8 to travis config 0.9.16: auto-run codecov only if numpy is installed @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/10/19 14:21:25 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.18 @ 1.4 log @py-asteval: updated to 0.9.15 0.9.15: some doc improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/06/15 06:46:36 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.15 a13 1 DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six d17 2 @ 1.3 log @py-asteval: updated to 0.9.14 0.9.14: Safe numpy @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2018/10/11 10:07:04 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.14 @ 1.2 log @py-asteval: updated to 0.9.13 0.9.13: Bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2018/04/14 05:31:08 adam Exp $ d3 1 a3 1 DISTNAME= asteval-0.9.13 d18 3 @ 1.1 log @py-asteval: added version 0.9.12 ASTEVAL is a safe(ish) evaluator of Python expressions and statements, using Python's ast module. The idea is to provide a simple, safe, and robust miniature mathematical language that can handle user-input. The emphasis here is on mathematical expressions, and so many functions from numpy are imported and used if available. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= asteval-0.9.12 @