diff --git a/devel/py-lazy_loader/Makefile b/devel/py-lazy_loader/Makefile index e56b9039b364..28a08fdc45b7 100644 --- a/devel/py-lazy_loader/Makefile +++ b/devel/py-lazy_loader/Makefile @@ -1,25 +1,28 @@ PORTNAME= lazy_loader -PORTVERSION= 0.4 +PORTVERSION= 0.5 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Load subpackages and functions on demand easily WWW= https://scientific-python.org/specs/spec-0001/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>=2.1:devel/py-codecov@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +# tests as of 0.5: 15 passed, 1 failed (test_cleanup_fixture[2]: fixture state not reset between parametrized runs, env issue) + .include diff --git a/devel/py-lazy_loader/distinfo b/devel/py-lazy_loader/distinfo index fe650920779f..0e27152ed3f8 100644 --- a/devel/py-lazy_loader/distinfo +++ b/devel/py-lazy_loader/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712421824 -SHA256 (lazy_loader-0.4.tar.gz) = 47c75182589b91a4e1a85a136c074285a5ad4d9f39c63e0d7fb76391c4574cd1 -SIZE (lazy_loader-0.4.tar.gz) = 15431 +TIMESTAMP = 1777365940 +SHA256 (lazy_loader-0.5.tar.gz) = 717f9179a0dbed357012ddad50a5ad3d5e4d9a0b8712680d4e687f5e6e6ed9b3 +SIZE (lazy_loader-0.5.tar.gz) = 15294 diff --git a/devel/py-lazy_loader/files/patch-pyproject.toml b/devel/py-lazy_loader/files/patch-pyproject.toml new file mode 100644 index 000000000000..f13d14eeeb11 --- /dev/null +++ b/devel/py-lazy_loader/files/patch-pyproject.toml @@ -0,0 +1,15 @@ +-- pyproject.toml uses PEP 639 SPDX license string format ("BSD-3-Clause") which +-- requires setuptools >= 68.x. Use the older {text = ...} format to support +-- the currently installed setuptools version. + +--- pyproject.toml.orig 2026-04-28 08:57:30 UTC ++++ pyproject.toml +@@ -7,7 +7,7 @@ readme = "README.md" + requires-python = ">=3.9" + authors = [{name = "Scientific Python Developers"}] + readme = "README.md" +-license = "BSD-3-Clause" ++license = {text = "BSD-3-Clause"} + dynamic = ['version'] + classifiers = [ + "Development Status :: 5 - Production/Stable",