Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2024 05:28:12 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0b7ddd2ebb44 - main - devel/py-awscrt: Update to 0.22.0
Message-ID:  <202410140528.49E5SCeQ048966@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 0b7ddd2ebb44ef2a2375f34671f5b02b2ce199b1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:49:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 05:25:26 +0000

    devel/py-awscrt: Update to 0.22.0
    
    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 | 16 ++++++++++------
 3 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/devel/py-awscrt/Makefile b/devel/py-awscrt/Makefile
index 9f7c992846b1..48f1ae404d6f 100644
--- a/devel/py-awscrt/Makefile
+++ b/devel/py-awscrt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	awscrt
-PORTVERSION=	0.21.5
+PORTVERSION=	0.22.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-awscrt/distinfo b/devel/py-awscrt/distinfo
index 84faae6a0a57..b4e0ae011c00 100644
--- a/devel/py-awscrt/distinfo
+++ b/devel/py-awscrt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1726080985
-SHA256 (awscrt-0.21.5.tar.gz) = 7ec2a67af30fbf386494df00bbdf996f7024000df6b01ab160014afef2b91005
-SIZE (awscrt-0.21.5.tar.gz) = 35794789
+TIMESTAMP = 1728632324
+SHA256 (awscrt-0.22.0.tar.gz) = 4ca2b0b49328f03f5a3dde2d565132df8ad74cba27352612ecd9fe2505e1d770
+SIZE (awscrt-0.22.0.tar.gz) = 64353345
diff --git a/devel/py-awscrt/files/patch-setup.py b/devel/py-awscrt/files/patch-setup.py
index 3520d69ac37f..8da43720c4de 100644
--- a/devel/py-awscrt/files/patch-setup.py
+++ b/devel/py-awscrt/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig	2023-11-22 00:46:47 UTC
+--- setup.py.orig	2024-10-01 16:33:58 UTC
 +++ setup.py
-@@ -14,7 +14,6 @@ import shutil
+@@ -12,7 +12,6 @@ import sysconfig
  import subprocess
  import sys
  import sysconfig
@@ -8,15 +8,19 @@
  
  
  def is_64bit():
-@@ -283,16 +282,6 @@ class awscrt_build_ext(setuptools.command.build_ext.bu
+@@ -301,20 +300,6 @@ class awscrt_build_ext(setuptools.command.build_ext.bu
          super().run()
  
  
 -class bdist_wheel_abi3(bdist_wheel):
 -    def get_tag(self):
 -        python, abi, plat = super().get_tag()
--        if python.startswith("cp") and sys.version_info >= (3, 11):
--            # on CPython, our wheels are abi3 and compatible back to 3.11
+-        # on CPython, our wheels are abi3 and compatible back to 3.11
+-        if python.startswith("cp") and sys.version_info >= (3, 13):
+-            # 3.13 deprecates PyWeakref_GetObject(), adds alternative
+-            return "cp313", "abi3", plat
+-        elif python.startswith("cp") and sys.version_info >= (3, 11):
+-            # 3.11 is the first stable ABI that has everything we need
 -            return "cp311", "abi3", plat
 -
 -        return python, abi, plat
@@ -25,7 +29,7 @@
  def awscrt_ext():
      # fetch the CFLAGS/LDFLAGS from env
      extra_compile_args = os.environ.get('CFLAGS', '').split()
-@@ -415,6 +404,6 @@ setuptools.setup(
+@@ -468,6 +453,6 @@ setuptools.setup(
      ],
      python_requires='>=3.7',
      ext_modules=[awscrt_ext()],



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410140528.49E5SCeQ048966>