git: 25a370e86cbe - main - devel/py-awscrt: Update to 0.15.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Dec 2022 09:10:01 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=25a370e86cbed229347b8358aacb14ed6f362c26 commit 25a370e86cbed229347b8358aacb14ed6f362c26 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-12-30 08:41:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-12-30 09:04:29 +0000 devel/py-awscrt: Update to 0.15.3 Changes: https://github.com/awslabs/aws-crt-python/releases --- devel/py-awscrt/Makefile | 6 ++---- devel/py-awscrt/distinfo | 6 +++--- .../patch-crt-aws-c-common-source-posix-system_info.c | 12 ------------ devel/py-awscrt/files/patch-powerpc64le | 15 ++------------- devel/py-awscrt/files/patch-setup.py | 14 +++++++------- 5 files changed, 14 insertions(+), 39 deletions(-) diff --git a/devel/py-awscrt/Makefile b/devel/py-awscrt/Makefile index 2d8d776eb74b..5ac462a2b60f 100644 --- a/devel/py-awscrt/Makefile +++ b/devel/py-awscrt/Makefile @@ -1,5 +1,5 @@ PORTNAME= awscrt -PORTVERSION= 0.13.14 +PORTVERSION= 0.15.3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,11 +13,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake-core -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils -CFLAGS+= -D__BSD_VISIBLE - post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/devel/py-awscrt/distinfo b/devel/py-awscrt/distinfo index d925bb26de06..65e164ae05ed 100644 --- a/devel/py-awscrt/distinfo +++ b/devel/py-awscrt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657835401 -SHA256 (awscrt-0.13.14.tar.gz) = 2b6c74529dc7ea4216718796bd57a07750a44e3abc46833400e9b4497e6eeb04 -SIZE (awscrt-0.13.14.tar.gz) = 19952268 +TIMESTAMP = 1669057685 +SHA256 (awscrt-0.15.3.tar.gz) = 8c76db33f2f3285d8cde3183d0f3f3c731e9066e1bd609d6337620a5d82095a5 +SIZE (awscrt-0.15.3.tar.gz) = 21594963 diff --git a/devel/py-awscrt/files/patch-crt-aws-c-common-source-posix-system_info.c b/devel/py-awscrt/files/patch-crt-aws-c-common-source-posix-system_info.c deleted file mode 100644 index 3b39a1fa73e5..000000000000 --- a/devel/py-awscrt/files/patch-crt-aws-c-common-source-posix-system_info.c +++ /dev/null @@ -1,12 +0,0 @@ ---- crt/aws-c-common/source/posix/system_info.c.orig 2022-07-12 00:42:37 UTC -+++ crt/aws-c-common/source/posix/system_info.c -@@ -15,7 +15,9 @@ - #endif - - #if defined(__linux__) || defined(__unix__) -+# if !defined(__FreeBSD__) - # include <sys/sysinfo.h> -+# endif - # include <sys/types.h> - #endif - diff --git a/devel/py-awscrt/files/patch-powerpc64le b/devel/py-awscrt/files/patch-powerpc64le index da075eac87db..d589f435cfeb 100644 --- a/devel/py-awscrt/files/patch-powerpc64le +++ b/devel/py-awscrt/files/patch-powerpc64le @@ -1,17 +1,6 @@ ---- crt/aws-lc/CMakeLists.txt.orig 2022-07-25 08:51:35 UTC -+++ crt/aws-lc/CMakeLists.txt -@@ -623,7 +623,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm*") - elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "mips") - # Just to avoid the “unknown processor” error. - set(ARCH "generic") --elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64le") -+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc64le|ppc64le") - set(ARCH "ppc64le") - else() - message(FATAL_ERROR "Unknown processor:" ${CMAKE_SYSTEM_PROCESSOR}) ---- crt/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2020-10-26 11:38:52 UTC +--- crt/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2022-11-09 18:39:03 UTC +++ crt/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c -@@ -28,7 +28,11 @@ +@@ -25,7 +25,11 @@ #endif void OPENSSL_cpuid_setup(void) { diff --git a/devel/py-awscrt/files/patch-setup.py b/devel/py-awscrt/files/patch-setup.py index e125afb0616f..9a9dd25ebe72 100644 --- a/devel/py-awscrt/files/patch-setup.py +++ b/devel/py-awscrt/files/patch-setup.py @@ -1,11 +1,11 @@ ---- setup.py.orig 2022-07-12 00:42:43 UTC +--- setup.py.orig 2022-11-09 18:39:08 UTC +++ setup.py -@@ -315,7 +315,7 @@ def awscrt_ext(): - - if distutils.ccompiler.get_default_compiler() != 'msvc': - extra_compile_args += ['-Wextra', '-Werror', '-Wno-strict-aliasing', '-std=gnu99'] -- extra_link_args += ['-Wl,-fatal_warnings'] -+ extra_link_args += ['-Wl,-fatal-warnings'] +@@ -320,7 +320,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',