Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 13:42:04 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a2334aa839d8 - main - devel/py-hypothesis-crosshair: Remove py-hypothesis from RUN_DEPENDS
Message-ID:  <202411211342.4ALDg4Np014759@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit a2334aa839d897857505fabcb235e1c60a2043af
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:21:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:38:09 +0000

    devel/py-hypothesis-crosshair: Remove py-hypothesis from RUN_DEPENDS
    
    - Bump PORTREVISION for dependency change
    
    It allows this port to be added as an optional dependency of py-hypothesis (CROSSHAIR option).
---
 devel/py-hypothesis-crosshair/Makefile             |  4 ++--
 devel/py-hypothesis-crosshair/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/devel/py-hypothesis-crosshair/Makefile b/devel/py-hypothesis-crosshair/Makefile
index cb166d94fb40..99a5f1fe04c5 100644
--- a/devel/py-hypothesis-crosshair/Makefile
+++ b/devel/py-hypothesis-crosshair/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hypothesis-crosshair
 PORTVERSION=	0.0.18
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crosshair-tool>=0.0.74:devel/py-crosshair-tool@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hypothesis>=6.113.0:devel/py-hypothesis@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crosshair-tool>=0.0.74:devel/py-crosshair-tool@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-hypothesis-crosshair/files/patch-setup.py b/devel/py-hypothesis-crosshair/files/patch-setup.py
new file mode 100644
index 000000000000..c00ba239d1b9
--- /dev/null
+++ b/devel/py-hypothesis-crosshair/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2024-10-18 11:40:32 UTC
++++ setup.py
+@@ -11,7 +11,7 @@ setuptools.setup(
+     description="Level-up your Hypothesis tests with CrossHair.",
+     long_description=open("README.md", encoding="utf-8").read(),
+     long_description_content_type="text/markdown",
+-    install_requires=["hypothesis>=6.113.0", "crosshair-tool>=0.0.74"],
++    install_requires=["crosshair-tool>=0.0.74"],
+     python_requires=">=3.8",
+     entry_points={
+         "hypothesis": ["_ = hypothesis_crosshair_provider:_hypothesis_setup_hook"]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411211342.4ALDg4Np014759>