aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-awscrt/files/patch-setup.py
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
commitf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch)
treead799ccacfb459b809b02b9c115ed4befb93b4c1 /devel/py-awscrt/files/patch-setup.py
parent0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff)
parentb057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'devel/py-awscrt/files/patch-setup.py')
-rw-r--r--devel/py-awscrt/files/patch-setup.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/devel/py-awscrt/files/patch-setup.py b/devel/py-awscrt/files/patch-setup.py
index 03e5b1f520eb..2081586faada 100644
--- a/devel/py-awscrt/files/patch-setup.py
+++ b/devel/py-awscrt/files/patch-setup.py
@@ -1,6 +1,18 @@
---- setup.py.orig 2024-12-06 18:35:30 UTC
+--- setup.py.orig 2025-08-12 19:03:48 UTC
+++ setup.py
-@@ -359,7 +359,7 @@ def awscrt_ext():
+@@ -11,7 +11,10 @@ import sysconfig
+ import subprocess
+ import sys
+ import sysconfig
+-from setuptools.command.bdist_wheel import bdist_wheel
++try:
++ from setuptools.command.bdist_wheel import bdist_wheel
++except:
++ from wheel.bdist_wheel import bdist_wheel
+
+ if sys.platform == 'win32':
+ # distutils is deprecated in Python 3.10 and removed in 3.12. However, it still works because Python defines a compatibility interface as long as setuptools is installed.
+@@ -435,7 +438,7 @@ def awscrt_ext():
# So it's simpler to link them in statically and have less runtime dependencies.
#
# Don't apply this trick to dependencies that are always on the OS (e.g. librt)