git: ad70b0c0250f - main - devel/py-hypothesis: Update to 6.131.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Apr 2025 12:46:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ad70b0c0250fea4fd99b239a7380b033a889d545

commit ad70b0c0250fea4fd99b239a7380b033a889d545
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-29 11:44:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-29 12:42:30 +0000

    devel/py-hypothesis: Update to 6.131.5
    
    - Add WATCHDOG option
    
    Changes:        https://github.com/HypothesisWorks/hypothesis/releases
                    https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changelog.rst
                    https://hypothesis.readthedocs.io/en/latest/changelog.html
---
 devel/py-hypothesis/Makefile                   | 19 ++++++++++---------
 devel/py-hypothesis/distinfo                   |  6 +++---
 devel/py-hypothesis/files/patch-pyproject.toml | 19 +++++++++++++++++++
 3 files changed, 32 insertions(+), 12 deletions(-)

diff --git a/devel/py-hypothesis/Makefile b/devel/py-hypothesis/Makefile
index 28fee4a450c3..bb8c264165a7 100644
--- a/devel/py-hypothesis/Makefile
+++ b/devel/py-hypothesis/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hypothesis
-PORTVERSION=	6.123.17
+PORTVERSION=	6.131.5
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +13,19 @@ WWW=		https://hypothesis.works/ \
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=23.2.0:devel/py-attrs@${PY_FLAVOR} \
 		${PY_EXCEPTIONGROUP} \
-		${PYTHON_PKGNAMEPREFIX}rich>=9.0.0:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.1.0<3.0.0:devel/py-sortedcontainers@${PY_FLAVOR}
 
-USES=		python:3.9+
+USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	CLI CODEMODS CROSSHAIR DATEUTIL DJANGO DPCONTRACTS GHOSTWRITER LARK NUMPY PANDAS PYTEST PYTZ REDIS
-OPTIONS_DEFAULT=CLI CROSSHAIR DATEUTIL DJANGO DPCONTRACTS GHOSTWRITER LARK NUMPY PANDAS PYTEST PYTZ REDIS
+OPTIONS_DEFINE=	CLI CODEMODS CROSSHAIR DATEUTIL DJANGO DPCONTRACTS GHOSTWRITER LARK NUMPY PANDAS PYTEST PYTZ REDIS WATCHDOG
+OPTIONS_DEFAULT=CLI CROSSHAIR DATEUTIL DJANGO DPCONTRACTS GHOSTWRITER LARK NUMPY PANDAS PYTEST PYTZ REDIS WATCHDOG
 CLI_DESC=		Command-line interface support
 CODEMODS_DESC=		Refactor deprecated or inefficient code
 CROSSHAIR_DESC=		CrossHair support
@@ -40,13 +39,14 @@ PANDAS_DESC=		Pandas support
 PYTEST_DESC=		pytest support
 PYTZ_DESC=		Timezone support
 REDIS_DESC=		Redis support
+WATCHDOG_DESC=		Watchdog support
 
 CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=19.10b0:devel/py-black@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}rich>=9.0.0:textproc/py-rich@${PY_FLAVOR}
 CODEMODS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libcst>=0.3.16:devel/py-libcst@${PY_FLAVOR}
-CROSSHAIR_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crosshair-tool>=0.0.81:devel/py-crosshair-tool@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}hypothesis-crosshair>=0.0.18:devel/py-hypothesis-crosshair@${PY_FLAVOR}
+CROSSHAIR_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crosshair-tool>=0.0.85:devel/py-crosshair-tool@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}hypothesis-crosshair>=0.0.20:devel/py-hypothesis-crosshair@${PY_FLAVOR}
 DATEUTIL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dateutil>=1.4:devel/py-python-dateutil@${PY_FLAVOR}
 DJANGO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR}
 DPCONTRACTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}dpcontracts>=0.4:devel/py-dpcontracts@${PY_FLAVOR}
@@ -57,6 +57,7 @@ PANDAS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pandas>=1.1,1:math/py-pandas@${PY_FLA
 PYTEST_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=4.6,1:devel/py-pytest@${PY_FLAVOR}
 PYTZ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=2014.1,1:devel/py-pytz@${PY_FLAVOR}
 REDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}redis>=3.0.0:databases/py-redis@${PY_FLAVOR}
+WATCHDOG_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}watchdog>=4.0.0:devel/py-watchdog@${PY_FLAVOR}
 
 .include <bsd.port.options.mk>
 
diff --git a/devel/py-hypothesis/distinfo b/devel/py-hypothesis/distinfo
index d2e98490b73d..8e1cd508ba6f 100644
--- a/devel/py-hypothesis/distinfo
+++ b/devel/py-hypothesis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738088976
-SHA256 (hypothesis-6.123.17.tar.gz) = 5850893975b4f08e893ddc10f1d468bc7e011d59703f70fe06a10161e426e602
-SIZE (hypothesis-6.123.17.tar.gz) = 418572
+TIMESTAMP = 1745177998
+SHA256 (hypothesis-6.131.5.tar.gz) = e76b192dc4fd033d7c33f94d8775bcbfd522a143b67adca30513e7727ebe7af6
+SIZE (hypothesis-6.131.5.tar.gz) = 433127
diff --git a/devel/py-hypothesis/files/patch-pyproject.toml b/devel/py-hypothesis/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f49365e98a2f
--- /dev/null
+++ b/devel/py-hypothesis/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig	2025-04-18 21:15:51 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ # require a recent setuptools for `license = ` support
+-requires = ["setuptools >= 78.1.0", "wheel"]
++requires = ["setuptools >= 61.0", "wheel"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -60,7 +60,7 @@ There are also [optional extras available](https://hyp
+ 
+ There are also [optional extras available](https://hypothesis.readthedocs.io/en/latest/extras.html).
+ """, "content-type" = "text/markdown"}
+-license = "MPL-2.0"
++license = { text = "MPL-2.0" }
+ requires-python = ">= 3.9"
+ keywords = ["python", "testing", "fuzzing", "property-based-testing"]
+ classifiers = [