git: 951eac07b1b4 - main - devel/py-awscrt: Update to 0.27.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 30 Sep 2025 10:58:01 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=951eac07b1b4b7ad904beba44f55a61680054e6d

commit 951eac07b1b4b7ad904beba44f55a61680054e6d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-30 10:43:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-30 10:50:52 +0000

    devel/py-awscrt: Update to 0.27.6
    
    Changes:        https://github.com/awslabs/aws-crt-python/releases
---
 devel/py-awscrt/Makefile                   |  2 +-
 devel/py-awscrt/distinfo                   |  6 +++---
 devel/py-awscrt/files/patch-pyproject.toml |  4 ++--
 devel/py-awscrt/files/patch-setup.py       | 16 ++++++++++++++--
 4 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/devel/py-awscrt/Makefile b/devel/py-awscrt/Makefile
index d15ffb71bae0..b349b35e27ef 100644
--- a/devel/py-awscrt/Makefile
+++ b/devel/py-awscrt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	awscrt
-PORTVERSION=	0.27.5
+PORTVERSION=	0.27.6
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-awscrt/distinfo b/devel/py-awscrt/distinfo
index ec3e99804f10..42f10ef99b5d 100644
--- a/devel/py-awscrt/distinfo
+++ b/devel/py-awscrt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755062490
-SHA256 (awscrt-0.27.5.tar.gz) = d93604bb395dd7db37696bcbb470ed2bd13f720484c6c4c9f46cf3a68205f719
-SIZE (awscrt-0.27.5.tar.gz) = 37653630
+TIMESTAMP = 1757436477
+SHA256 (awscrt-0.27.6.tar.gz) = 45f3dd0b3fb13dfbea856dd96c9acfe77beba57b9b019444ee962ed2b76276dd
+SIZE (awscrt-0.27.6.tar.gz) = 37677550
diff --git a/devel/py-awscrt/files/patch-pyproject.toml b/devel/py-awscrt/files/patch-pyproject.toml
index be9cc64ff016..cd8fab8c2d2f 100644
--- a/devel/py-awscrt/files/patch-pyproject.toml
+++ b/devel/py-awscrt/files/patch-pyproject.toml
@@ -1,10 +1,10 @@
---- pyproject.toml.orig	2025-05-13 17:10:57 UTC
+--- pyproject.toml.orig	2025-08-12 19:03:48 UTC
 +++ pyproject.toml
 @@ -1,6 +1,6 @@ requires = [
  [build-system]
  requires = [
 -  "setuptools>=75.3.1",
 +  "setuptools>=61",
-   "wheel>=0.45.1",      # used by our setup.py
  ]
  build-backend = "setuptools.build_meta"
+ 
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)