git: 041720395ee4 - main - devel/py-hypothesis: Update to 6.156.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jul 2026 12:24:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=041720395ee488569a9ba416d8ae6d3ca540e0b4
commit 041720395ee488569a9ba416d8ae6d3ca540e0b4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-11 11:46:58 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-11 12:21:10 +0000
devel/py-hypothesis: Update to 6.156.4
Changes: https://github.com/HypothesisWorks/hypothesis/releases
https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis/docs/changelog.rst
https://hypothesis.readthedocs.io/en/latest/changelog.html
---
devel/py-hypothesis/Makefile | 17 +++++++------
devel/py-hypothesis/Makefile.crates | 14 +++++++++++
devel/py-hypothesis/distinfo | 34 +++++++++++++++++++++++---
devel/py-hypothesis/files/patch-pyproject.toml | 19 --------------
4 files changed, 55 insertions(+), 29 deletions(-)
diff --git a/devel/py-hypothesis/Makefile b/devel/py-hypothesis/Makefile
index 746bb4910fc1..ebc4cc9e094d 100644
--- a/devel/py-hypothesis/Makefile
+++ b/devel/py-hypothesis/Makefile
@@ -1,27 +1,30 @@
PORTNAME= hypothesis
-PORTVERSION= 6.155.7
+PORTVERSION= 6.156.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= hypothesis-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Property-based testing library for Python
WWW= https://hypothesis.works/ \
https://hypothesis.readthedocs.io/en/latest/ \
- https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python
+ https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.7<2.0:devel/py-maturin@${PY_FLAVOR}
RUN_DEPENDS= ${PY_EXCEPTIONGROUP} \
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.1.0<3.0.0:devel/py-sortedcontainers@${PY_FLAVOR}
-USES= python
+USES= cargo python
USE_PYTHON= autoplist concurrent pep517
-NO_ARCH= yes
+CARGO_BUILD= no
+CARGO_CARGOTOML= ${WRKSRC}/rust/Cargo.toml
+CARGO_CARGOLOCK= ${WRKSRC}/rust/Cargo.lock
+CARGO_INSTALL= no
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
@@ -44,7 +47,7 @@ CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>=20.8b0: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.106:devel/py-crosshair-tool@${PY_FLAVOR} \
+CROSSHAIR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}crosshair-tool>=0.0.107:devel/py-crosshair-tool@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis-crosshair>=0.0.28: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}django52>=5.2:www/py-django52@${PY_FLAVOR}
diff --git a/devel/py-hypothesis/Makefile.crates b/devel/py-hypothesis/Makefile.crates
new file mode 100644
index 000000000000..2bd8747e3580
--- /dev/null
+++ b/devel/py-hypothesis/Makefile.crates
@@ -0,0 +1,14 @@
+CARGO_CRATES= heck-0.5.0 \
+ libc-0.2.186 \
+ once_cell-1.21.4 \
+ portable-atomic-1.13.1 \
+ proc-macro2-1.0.106 \
+ pyo3-0.29.0 \
+ pyo3-build-config-0.29.0 \
+ pyo3-ffi-0.29.0 \
+ pyo3-macros-0.29.0 \
+ pyo3-macros-backend-0.29.0 \
+ quote-1.0.45 \
+ syn-2.0.117 \
+ target-lexicon-0.13.5 \
+ unicode-ident-1.0.24
diff --git a/devel/py-hypothesis/distinfo b/devel/py-hypothesis/distinfo
index f714c0814bc9..7ce3a5784761 100644
--- a/devel/py-hypothesis/distinfo
+++ b/devel/py-hypothesis/distinfo
@@ -1,3 +1,31 @@
-TIMESTAMP = 1782966362
-SHA256 (hypothesis-6.155.7.tar.gz) = d8d6091753d0669db3c90c5e5b346cb37c72f3dd9378c8413acb1fd5da63f7ea
-SIZE (hypothesis-6.155.7.tar.gz) = 478291
+TIMESTAMP = 1783564064
+SHA256 (hypothesis-6.156.4.tar.gz) = 38deb10b31ba18dfdbf9f6803711720148cea5e493a298dfb187c2fe72456791
+SIZE (hypothesis-6.156.4.tar.gz) = 476287
+SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
+SIZE (rust/crates/heck-0.5.0.crate) = 11517
+SHA256 (rust/crates/libc-0.2.186.crate) = 68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66
+SIZE (rust/crates/libc-0.2.186.crate) = 821883
+SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50
+SIZE (rust/crates/once_cell-1.21.4.crate) = 35010
+SHA256 (rust/crates/portable-atomic-1.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49
+SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001
+SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934
+SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765
+SHA256 (rust/crates/pyo3-0.29.0.crate) = cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c
+SIZE (rust/crates/pyo3-0.29.0.crate) = 1241253
+SHA256 (rust/crates/pyo3-build-config-0.29.0.crate) = c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078
+SIZE (rust/crates/pyo3-build-config-0.29.0.crate) = 39616
+SHA256 (rust/crates/pyo3-ffi-0.29.0.crate) = ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b
+SIZE (rust/crates/pyo3-ffi-0.29.0.crate) = 88184
+SHA256 (rust/crates/pyo3-macros-0.29.0.crate) = 9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771
+SIZE (rust/crates/pyo3-macros-0.29.0.crate) = 8915
+SHA256 (rust/crates/pyo3-macros-backend-0.29.0.crate) = 4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362
+SIZE (rust/crates/pyo3-macros-backend-0.29.0.crate) = 91943
+SHA256 (rust/crates/quote-1.0.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924
+SIZE (rust/crates/quote-1.0.45.crate) = 31564
+SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99
+SIZE (rust/crates/syn-2.0.117.crate) = 306011
+SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca
+SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928
+SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75
+SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298
diff --git a/devel/py-hypothesis/files/patch-pyproject.toml b/devel/py-hypothesis/files/patch-pyproject.toml
deleted file mode 100644
index 52bfcc2c07f5..000000000000
--- a/devel/py-hypothesis/files/patch-pyproject.toml
+++ /dev/null
@@ -1,19 +0,0 @@
---- pyproject.toml.orig 2026-01-13 17:09:13 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]
-@@ -12,7 +12,7 @@ description = "The property-based testing library for
- ]
- description = "The property-based testing library for Python"
-
--license = "MPL-2.0"
-+license = { text = "MPL-2.0" }
- requires-python = ">= 3.10"
- keywords = ["python", "testing", "fuzzing", "property-based-testing"]
- classifiers = [