diff --git a/devel/py-asteval/Makefile b/devel/py-asteval/Makefile index a51f7a5de911..0c5662c5b867 100644 --- a/devel/py-asteval/Makefile +++ b/devel/py-asteval/Makefile @@ -1,26 +1,26 @@ PORTNAME= asteval -PORTVERSION= 1.0.8 +PORTVERSION= 1.0.9 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Safe, minimalistic evaluator of python expression using ast module WWW= https://lmfit.github.io/asteval/ LICENSE= MIT LICENSE_FILES= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes -# tests as of 1.0.8: 186 passed +# tests as of 1.0.9: 196 passed in 6.40s .include diff --git a/devel/py-asteval/distinfo b/devel/py-asteval/distinfo index 571638342bde..965b366f9071 100644 --- a/devel/py-asteval/distinfo +++ b/devel/py-asteval/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1781028808 -SHA256 (asteval-1.0.8.tar.gz) = 7175134331726df0e1569f4ab5fa59266192cf1b365db0ff463c978842075cbb -SIZE (asteval-1.0.8.tar.gz) = 53989 +TIMESTAMP = 1781241909 +SHA256 (asteval-1.0.9.tar.gz) = 4f7323d63d9fbf89d7e1d5f8bb59b6c093970c15bb5926e6e67d0195858aa230 +SIZE (asteval-1.0.9.tar.gz) = 55237 diff --git a/devel/py-asteval/files/patch-pyproject.toml b/devel/py-asteval/files/patch-pyproject.toml new file mode 100644 index 000000000000..445f6e8356e1 --- /dev/null +++ b/devel/py-asteval/files/patch-pyproject.toml @@ -0,0 +1,15 @@ +-- Fix project.license in pyproject.toml to follow PEP 621. +-- Remove license-files as it is not part of PEP 621 [project] table. + +--- pyproject.toml.orig 2026-06-09 18:17:18 UTC ++++ pyproject.toml +@@ -24,8 +24,7 @@ authors = [ + authors = [ + {name = "Matthew Newville", email = "matt.newville@gmail.com"} + ] +-license = "MIT" +-license-files = ["LICENSE"] ++license = {text = "MIT"} + keywords = ["AST", "expression evaluation", "eval"] + classifiers = [ + "Development Status :: 5 - Production/Stable",