Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8B56E84F5E for ; Sat, 29 Jul 2023 15:36:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id YTlL5ZEqrk5v for ; Sat, 29 Jul 2023 15:36:29 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0B3B684F55 for ; Sat, 29 Jul 2023 15:36:29 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 04D2DFBDB; Sat, 29 Jul 2023 15:36:29 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1690644988145350" MIME-Version: 1.0 Date: Sat, 29 Jul 2023 15:36:28 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-hypothesis To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20230729153629.04D2DFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1690644988145350 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1690644988145350 Content-Disposition: inline Content-Length: 1582 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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")) --_----------=_1690644988145350--