forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-frozendict: disable C extension another way
hopefully fixes build with py-cython installed
- Loading branch information
wiz
committed
Jun 11, 2023
1 parent
0589aa0
commit 471f01a
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
$NetBSD: distinfo,v 1.13 2023/04/30 04:50:27 adam Exp $ | ||
$NetBSD: distinfo,v 1.14 2023/06/11 15:13:47 wiz Exp $ | ||
|
||
BLAKE2s (frozendict-2.3.8.tar.gz) = 030462ae54946174c1cbaae8d579528cd7aa535457d76e096f5beed75a268317 | ||
SHA512 (frozendict-2.3.8.tar.gz) = e0607e695bd7b70b32bdd939b394e6efad604948d1c0b14d3d5ae074c3d9e7a602f32c71c2ce66fb27a99bdd7fb3bf14998df9bea8a42ee7c11192cfe81380f3 | ||
Size (frozendict-2.3.8.tar.gz) = 312109 bytes | ||
SHA1 (patch-setup.py) = 6c85ddd9dd392b68bb1c5a909e41e623e5911601 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$NetBSD: patch-setup.py,v 1.1 2023/06/11 15:13:47 wiz Exp $ | ||
|
||
Do not build c-extension; remove when Python 3.11 gets supported. | ||
|
||
--- setup.py.orig 2023-04-29 20:10:14.000000000 +0000 | ||
+++ setup.py | ||
@@ -203,6 +203,7 @@ if custom_arg == None: | ||
elif custom_arg in custom_args_c: | ||
optional = False | ||
|
||
+custom_arg = "py" | ||
if custom_arg in custom_args_py: | ||
setuptools.setup(**common_setup_args) | ||
elif custom_arg in custom_args_c: |