Skip to content

Commit

Permalink
devel/py-hypothesis: Update to 6.81.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jul 31, 2023
1 parent bae4bd8 commit 81f9353
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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}
Expand Down
6 changes: 3 additions & 3 deletions 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
23 changes: 23 additions & 0 deletions 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"))

0 comments on commit 81f9353

Please sign in to comment.