diff --git a/math/py-py-find-1st/Makefile b/math/py-py-find-1st/Makefile index 1db2bc6ad6e0..28c7d3145aae 100644 --- a/math/py-py-find-1st/Makefile +++ b/math/py-py-find-1st/Makefile @@ -1,28 +1,27 @@ PORTNAME= py-find-1st -DISTVERSION= 1.1.6 -PORTREVISION= 2 +DISTVERSION= 1.1.9 CATEGORIES= math MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Numpy extension module for efficient search in numpy arrays WWW= https://github.com/roebel/py_find_1st LICENSE= GPLv3 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${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 # tests are broken, see https://github.com/roebel/py_find_1st/issues/13 +USE_PYTHON= pep517 autoplist pytest # tests as of 1.1.9 are still broken: ModuleNotFoundError: No module named 'utf1st_inst_dir', see https://github.com/roebel/py_find_1st/issues/13 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/utils_find_1st/find_1st${PYTHON_TAG}.so .include diff --git a/math/py-py-find-1st/distinfo b/math/py-py-find-1st/distinfo index 64d9dde46825..be8825c2f627 100644 --- a/math/py-py-find-1st/distinfo +++ b/math/py-py-find-1st/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698566699 -SHA256 (py_find_1st-1.1.6.tar.gz) = 8a7bcbc6a4144a58cfc0e5f4e2affd983e686cef54b0e81e29c0be15248f5e1f -SIZE (py_find_1st-1.1.6.tar.gz) = 8558 +TIMESTAMP = 1781621385 +SHA256 (py_find_1st-1.1.9.tar.gz) = 0bbb80b40c472804cdc4b68e0a3b91c964dc06677df094357b6ac0c990eb5df3 +SIZE (py_find_1st-1.1.9.tar.gz) = 22497 diff --git a/math/py-py-find-1st/files/patch-pyproject.toml b/math/py-py-find-1st/files/patch-pyproject.toml index 8949cd0b2e61..523a5caec55b 100644 --- a/math/py-py-find-1st/files/patch-pyproject.toml +++ b/math/py-py-find-1st/files/patch-pyproject.toml @@ -1,7 +1,31 @@ ---- pyproject.toml.orig 2023-02-13 08:53:21 UTC +-- Fix build: pyproject.toml is broken in the upstream release +-- +-- The upstream pyproject.toml has a syntax error in the [build-system] section +-- where two 'requires' lists seem to have been merged incorrectly. +-- This patch fixes the syntax and simplifies the dependencies. + +--- pyproject.toml.orig 2026-04-14 10:28:44 UTC +++ pyproject.toml -@@ -1,3 +1,3 @@ +@@ -1,11 +1,6 @@ [build-system] # Minimum requirements for the build system to execute. --requires = ["setuptools", "oldest-supported-numpy", "wheel"] # PEP 508 specifications. -+requires = ["setuptools", "numpy", "wheel"] # PEP 508 specifications. +-requires = [ +- "setuptools >= 75.0", +- "oldest-supported-numpy; python_version<='3.8'", +- "numpy>=2.0,<3; python_version>'3.8'", +- "wheel" +- ] # PEP 508 specifications. ++requires = ["setuptools", "numpy", "wheel"] + build-backend = "setuptools.build_meta" + + [project] +@@ -27,8 +22,7 @@ dependencies = [ + ] + license = { text = "GPL" } + dependencies = [ +- "numpy>=1.13.0,<2.0; python_version<='3.8'", +- "numpy>=1.19.3,<3; python_version>'3.8'", ++ "numpy>=1.16", + ] + keywords = ["numpy","extension","find"] +