git: ce1207056606 - main - devel/py-awscrt: Update to 0.23.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Dec 2024 19:19:35 UTC
The branch main has been updated by sunpoet:

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

commit ce12070566064276b210eab81cb19a75d0aead07
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-25 18:48:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-25 19:15:21 +0000

    devel/py-awscrt: Update to 0.23.4
    
    Changes:        https://github.com/awslabs/aws-crt-python/releases
---
 devel/py-awscrt/Makefile             |  2 +-
 devel/py-awscrt/distinfo             |  6 +++---
 devel/py-awscrt/files/patch-setup.py | 14 +++++++-------
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/devel/py-awscrt/Makefile b/devel/py-awscrt/Makefile
index deaa0292b347..9ee1b7361661 100644
--- a/devel/py-awscrt/Makefile
+++ b/devel/py-awscrt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	awscrt
-PORTVERSION=	0.23.1
+PORTVERSION=	0.23.4
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-awscrt/distinfo b/devel/py-awscrt/distinfo
index bc67d120ce36..bf804d57e15b 100644
--- a/devel/py-awscrt/distinfo
+++ b/devel/py-awscrt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1732202522
-SHA256 (awscrt-0.23.1.tar.gz) = 3a330176a6d5536c6cb6bc85a4f9821daa4679a9270f89c8d6be0e3408749a14
-SIZE (awscrt-0.23.1.tar.gz) = 65496089
+TIMESTAMP = 1734888164
+SHA256 (awscrt-0.23.4.tar.gz) = 3ef5212a3c3b0549b3b0e85507b7bbdfb891ff40ca4c597e92db07a0bf7b614a
+SIZE (awscrt-0.23.4.tar.gz) = 65405449
diff --git a/devel/py-awscrt/files/patch-setup.py b/devel/py-awscrt/files/patch-setup.py
index ac7a17b4f95a..03e5b1f520eb 100644
--- a/devel/py-awscrt/files/patch-setup.py
+++ b/devel/py-awscrt/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig	2024-10-23 17:56:10 UTC
+--- setup.py.orig	2024-12-06 18:35:30 UTC
 +++ setup.py
-@@ -353,7 +353,7 @@ def awscrt_ext():
-         # In Brazil, both shared and static libs are available.
-         # But Lambda requires all shared libs to be explicitly packaged up.
-         # So it's simpler to link them in statically and have less runtime dependencies.
--        libraries = [':lib{}.a'.format(x) for x in libraries]
-+        libraries = [':lib{}.so'.format(x) for x in libraries]
+@@ -359,7 +359,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)
+-            libraries = [':lib{}.a'.format(x) for x in libraries]
++            libraries = [':lib{}.so'.format(x) for x in libraries]
  
          # OpenBSD doesn't have librt; functions are found in libc instead.
          if not sys.platform.startswith('openbsd'):