From nobody Wed Aug 16 19:44:43 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQz9m2R1hz4TmX1; Wed, 16 Aug 2023 19:44:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQz9m0VTNz3ZWq; Wed, 16 Aug 2023 19:44:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692215084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L4CZz4MuFyVMA6Pp46Ha7x88kjoWzN9lzVHIIzP/mFQ=; b=Dqs3jADEK9GA2PHE7dZjdNjrriaIsAi4G5HlOTgEFjalgYCHZogL6qE4eOhS9sKjEvpC3V 7kUpTYFP7IU8xexgMvWr+5ZJLy4qpf2LNZr+HtKdEfK1cc/aMNYB63HkA6VKHUJaQr8d35 EbpuFOrzj5ACvrZihmahcV2RiMLClvtuRBbC4BZMQZZMwPxtB++D2APcES8vlDf2XjQuNg McQ4Yc85TvjzLli5fkwLzTtvVKDq9MNiX+ZHr6HWzofHGpho6SQ7/egSpSR/0D5aRunzNQ Y2fKY0wEQgNrQGPDMWc/DhQ2GYMbFCcxy+ut+67nK64L8NHaB3KRJJbO5mZ+ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692215084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L4CZz4MuFyVMA6Pp46Ha7x88kjoWzN9lzVHIIzP/mFQ=; b=mtgRo8jRoH4/N8Q0TS57+LIoyT6ju5QtXOqg0ZgOn3NcQAN42WjVWWyhTrmhfXW76HMXQ5 1bqYHeRkjFpZJp3D8wcMAGk1yK6Eg9Y2BIVegsRQ0T1MTfbXekH8wbPY8jPJ0cEMy/KcyN 0JOareDj2wtN1ZQw87SCFpBDW+7ISIF1WcoMBY/DDzfz/FvW4f5xY9b2P2vCgUrcHR7S9B QEpujgWw8vil24cIvbBe2lKJpoJ/1W4THdZEfOA18GTlq3civKXSorZvWQgrfwoHdnwbL5 1/ofeTSO6TDzJ1O4xHrhyONtC1rpRnBPsrLos/kxt9qTV0v1m0NDg6usjgBseA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692215084; a=rsa-sha256; cv=none; b=HBbFx+qxLREBx/fvLpEYonC3SahT9O1M8jX+WE0gcoMuQeD2k/MJ9yRxK2STA1cuiIWwGX PVjeHd641t+anGpiulpJAdTg/Bu2RUAcBISCsqEMYAwCt0kbunPjlVTW64vl/7vH4Oswy5 1aZR2bgK/VWZTsXj/9Psu02y8P4+Tn/mNGh6pY81QnSseNG6ndou8nJMIyubYOZqB8cB5R eHgUAUL485qnq1uLg0HQvPRxhlulL+c1HXG3ijM4zJ5GYAM9NmuiDtBn9s/CTRGLKep9RH x+1jCDxGDe3qc2GPCwHXy3cJYUQHDYrOEgEP56qisVFQXN18nKuH+OlrbjOe3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RQz9l60V9z14QB; Wed, 16 Aug 2023 19:44:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37GJihLx062545; Wed, 16 Aug 2023 19:44:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GJihdQ062542; Wed, 16 Aug 2023 19:44:43 GMT (envelope-from git) Date: Wed, 16 Aug 2023 19:44:43 GMT Message-Id: <202308161944.37GJihdQ062542@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6ea42400ddfa - main - devel/py-awscrt: Update to 0.16.26 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ea42400ddfa7a7ddd4140497728469aade890fe Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ea42400ddfa7a7ddd4140497728469aade890fe commit 6ea42400ddfa7a7ddd4140497728469aade890fe Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 19:44:20 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 19:44:20 +0000 devel/py-awscrt: Update to 0.16.26 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 | 41 ++++++++++++++++++++++++++++++++---- 3 files changed, 41 insertions(+), 8 deletions(-) diff --git a/devel/py-awscrt/Makefile b/devel/py-awscrt/Makefile index d1a93fc29734..a51fd2d1a42a 100644 --- a/devel/py-awscrt/Makefile +++ b/devel/py-awscrt/Makefile @@ -1,5 +1,5 @@ PORTNAME= awscrt -PORTVERSION= 0.16.19 +PORTVERSION= 0.16.26 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-awscrt/distinfo b/devel/py-awscrt/distinfo index 9935e9f7b124..3711d994dfda 100644 --- a/devel/py-awscrt/distinfo +++ b/devel/py-awscrt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685792224 -SHA256 (awscrt-0.16.19.tar.gz) = f514febfd9cc2b7afa3d3906cf786189a34837e321cd1fb719fbef00a78f2d65 -SIZE (awscrt-0.16.19.tar.gz) = 28488666 +TIMESTAMP = 1692211613 +SHA256 (awscrt-0.16.26.tar.gz) = 1cc8cfa42cd16cb54d8b75417fec0fb038f7318c490209290bdb6c42ad3c2dff +SIZE (awscrt-0.16.26.tar.gz) = 31262472 diff --git a/devel/py-awscrt/files/patch-setup.py b/devel/py-awscrt/files/patch-setup.py index 9a9dd25ebe72..765189d8e768 100644 --- a/devel/py-awscrt/files/patch-setup.py +++ b/devel/py-awscrt/files/patch-setup.py @@ -1,11 +1,44 @@ ---- setup.py.orig 2022-11-09 18:39:08 UTC +--- setup.py.orig 2023-07-19 00:27:11 UTC +++ setup.py -@@ -320,7 +320,7 @@ def awscrt_ext(): +@@ -14,7 +14,6 @@ import shutil + import subprocess + import sys + import sysconfig +-from wheel.bdist_wheel import bdist_wheel + + + def is_64bit(): +@@ -283,16 +282,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 +- return "cp311", "abi3", plat +- +- return python, abi, plat +- +- + def awscrt_ext(): + # fetch the CFLAGS/LDFLAGS from env + extra_compile_args = os.environ.get('CFLAGS', '').split() +@@ -360,7 +349,7 @@ def awscrt_ext(): # a proper MacOS Universal2 binary. The linker warns us about this, # but WHATEVER. Building everything twice (x86_64 and arm64) takes too long. if not is_macos_universal2(): - extra_link_args += ['-Wl,-fatal_warnings'] + extra_link_args += ['-Wl,-fatal-warnings'] - return setuptools.Extension( - '_awscrt', + if sys.version_info >= (3, 11): + define_macros.append(('Py_LIMITED_API', '0x030B0000')) +@@ -410,6 +399,6 @@ setuptools.setup( + ], + python_requires='>=3.7', + ext_modules=[awscrt_ext()], +- cmdclass={'build_ext': awscrt_build_ext, "bdist_wheel": bdist_wheel_abi3}, ++ cmdclass={'build_ext': awscrt_build_ext}, + test_suite='test', + )