Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2023 16:46:29 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: 81f935371f6d - main - devel/py-hypothesis: Update to 6.81.1
Message-ID:  <202307311646.36VGkTLM080071@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=81f935371f6daf439d40620b8d0c80582b226eda

commit 81f935371f6daf439d40620b8d0c80582b226eda
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:31:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:40:01 +0000

    devel/py-hypothesis: Update to 6.81.1
    
    Changes:        https://github.com/HypothesisWorks/hypothesis/releases
                    https://hypothesis.readthedocs.io/en/latest/changes.html
---
 devel/py-hypothesis/Makefile             |  2 +-
 devel/py-hypothesis/distinfo             |  6 +++---
 devel/py-hypothesis/files/patch-setup.py | 23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/devel/py-hypothesis/Makefile b/devel/py-hypothesis/Makefile
index 81468348249b..13fb15cdae41 100644
--- a/devel/py-hypothesis/Makefile
+++ b/devel/py-hypothesis/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hypothesis
-PORTVERSION=	6.80.0
+PORTVERSION=	6.81.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-hypothesis/distinfo b/devel/py-hypothesis/distinfo
index 7bb4bb0d2dc5..67ee651647ef 100644
--- a/devel/py-hypothesis/distinfo
+++ b/devel/py-hypothesis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166196
-SHA256 (hypothesis-6.80.0.tar.gz) = 75d74da36fd3837b5b3fe15211dabc7389e78d882bf2c91bab2184ccf91fe64c
-SIZE (hypothesis-6.80.0.tar.gz) = 352808
+TIMESTAMP = 1689398851
+SHA256 (hypothesis-6.81.1.tar.gz) = 89c1afad5000a1cc89409fff4187e6118816a6cac80195c8c719efda14a8ce52
+SIZE (hypothesis-6.81.1.tar.gz) = 352825
diff --git a/devel/py-hypothesis/files/patch-setup.py b/devel/py-hypothesis/files/patch-setup.py
new file mode 100644
index 000000000000..3cf2c612e0f3
--- /dev/null
+++ b/devel/py-hypothesis/files/patch-setup.py
@@ -0,0 +1,23 @@
+===>  Configuring for py39-hypothesis-6.80.1
+Traceback (most recent call last):
+  File "<string>", line 1, in <module>
+  File "setup.py", line 31, in <module>
+    SOURCE = str(local_file("src"))
+  File "setup.py", line 28, in local_file
+    return Path(__file__).parent.joinpath(name).relative_to(Path.cwd())
+  File "/usr/local/lib/python3.9/pathlib.py", line 939, in relative_to
+    raise ValueError("{!r} is not in the subpath of {!r}"
+ValueError: 'src' is not in the subpath of '/wrkdirs/usr/ports/devel/py-hypothesis/work-py39/hypothesis-6.80.1' OR one path is relative and the other is absolute.
+*** Error code 1
+
+--- setup.py.orig	2023-07-06 16:35:06 UTC
++++ setup.py
+@@ -25,7 +25,7 @@ if sys.version_info[:2] < (3, 8):
+ 
+ 
+ def local_file(name):
+-    return Path(__file__).parent.joinpath(name).relative_to(Path.cwd())
++    return Path(__file__).resolve().parent.joinpath(name).relative_to(Path.cwd())
+ 
+ 
+ SOURCE = str(local_file("src"))



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