pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-hypothesis



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jul 29 15:36:28 UTC 2023

Modified Files:
        pkgsrc/devel/py-hypothesis: distinfo
Added Files:
        pkgsrc/devel/py-hypothesis/patches: patch-setup.py

Log Message:
py-hypothesis: fix build with Python 3.8


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 pkgsrc/devel/py-hypothesis/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-hypothesis/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.118 pkgsrc/devel/py-hypothesis/distinfo:1.119
--- pkgsrc/devel/py-hypothesis/distinfo:1.118   Thu Jul 20 07:59:05 2023
+++ pkgsrc/devel/py-hypothesis/distinfo Sat Jul 29 15:36:28 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.118 2023/07/20 07:59:05 adam Exp $
+$NetBSD: distinfo,v 1.119 2023/07/29 15:36:28 adam Exp $
 
 BLAKE2s (hypothesis-6.82.0.tar.gz) = 224fba982069f6f3c4c7f1a575aae4f896057f38f414869a23476d5f4f4a6e26
 SHA512 (hypothesis-6.82.0.tar.gz) = df488f46b5be5539fcd35109f14c5f20dc3e1e206eb8365f9cff739fe9505ed95d72d4ff5f4a8ac36aadbdb1cc46f41e84778be572513d06cef570b42a0be90e
 Size (hypothesis-6.82.0.tar.gz) = 352906 bytes
+SHA1 (patch-setup.py) = 6784b6eb802938f266c1c7c683757fb2be8a9119

Added files:

Index: pkgsrc/devel/py-hypothesis/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-hypothesis/patches/patch-setup.py:1.1
--- /dev/null   Sat Jul 29 15:36:28 2023
+++ pkgsrc/devel/py-hypothesis/patches/patch-setup.py   Sat Jul 29 15:36:28 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2023/07/29 15:36:28 adam Exp $
+
+Fix for Python 3.8.
+https://github.com/HypothesisWorks/hypothesis/issues/3707
+
+--- setup.py.orig      2023-07-29 15:30:00.000000000 +0000
++++ 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__).absolute().parent.joinpath(name).relative_to(Path.cwd())
+ 
+ 
+ SOURCE = str(local_file("src"))



Home | Main Index | Thread Index | Old Index