git: cf898748d771 - main - math/py-py-find-1st: update 1.1.6 → 1.1.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jun 2026 18:04:58 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cf898748d771f84a06a58567047ee17a42ca1458
commit cf898748d771f84a06a58567047ee17a42ca1458
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-16 18:04:09 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-16 18:04:46 +0000
math/py-py-find-1st: update 1.1.6 → 1.1.9
---
math/py-py-find-1st/Makefile | 5 ++--
math/py-py-find-1st/distinfo | 6 ++---
math/py-py-find-1st/files/patch-pyproject.toml | 32 ++++++++++++++++++++++----
3 files changed, 33 insertions(+), 10 deletions(-)
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,6 +1,5 @@
PORTNAME= py-find-1st
-DISTVERSION= 1.1.6
-PORTREVISION= 2
+DISTVERSION= 1.1.9
CATEGORIES= math
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,7 +17,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
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}
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"]
+