From nobody Tue Dec 12 23:07:30 2023 X-Original-To: dev-commits-ports-all@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 4SqZ5G5c7vz53RXG; Tue, 12 Dec 2023 23:07:30 +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 4SqZ5G589dz3fNp; Tue, 12 Dec 2023 23:07:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702422450; 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=MV5w8EJ9Jtfx2cURx3sLP+kY53ZCHEshgTuVVKT5qzw=; b=dS/gW2TxxeCaNw0wGLT6zViLurPZmXa0Ub1L1Gkl+5pIOFpulC56bMNHla3xhz/1CZn+Yh 5zP9lP4JKdXPA4IZzudsca17N6kgXhOJ1iTb/lXVfjmuiYo6JrxGiYmxxqKooBR9z96X+o bQV0Y0b2srw073bCArX6BTyEcF+FW9W2TX70Po9Rf0dRDh+cKYA2aC1oUzqs7zoRBeZsJC KfXC/P2CG+vzc4XA0QClwRLej80wEJDxXB5Zy602wW7Ud3TCad4G3apNOJ5QhRJRUwKeoy XcqzT1q0nLBVrg++TWOMtY/XLTM+HvWCvERiPcqMpG9817etsQO2GUtmgbra8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702422450; a=rsa-sha256; cv=none; b=onvfI39l8mL2rBRCD+Ox1xZUL1EHCmEOv3OmKemxVKmVtLJ+lbZcDbYMT3CXQmXWyE3I24 oog2VXT+ecbyQFc2A6auwwE8dY2iWiMxzEANkjtnWk67Kaw3elMtMBzughb3VpMtH05JZJ 4llZTWuTSsxS23l0RSxokWRAOFVKtkAmgbOi+/WsRnR/ZhbCpCy4sK+ZbAFWG8g67wCPTn 6Ghnz4dZiJvSV7Lm3BbJ7LUzz21oGCP89KsECU5j8g4FyrN/1a9KXOtO8OTdoSEnxBUG8b CJjlA/gfE9qYa9EDDOQykhmF4xouIQVFlpHapoiKzo17TsEecVudKx9qfm5cow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702422450; 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=MV5w8EJ9Jtfx2cURx3sLP+kY53ZCHEshgTuVVKT5qzw=; b=KAyLZXIwTlAUrfMZHXdFpXv4HDTARsot3f2cb2XZnkL9cZcwFwdiEEGRqPaiaiViN8exFa veq9Hjc0l6J49Bg2a4iitkiGYvsi2Ea85gfR2tockHPDNKvQjLexs9ySKGLR4Nx3ogfr2m ZZjM2K7bT7DXsRXS4Bk2Fm1N6Ukv1gaNkOz0azZUYO/cqRf0IFcFhMIgUo5OfUAP5dNXkx +6r9thf7HkINnw4s2kg+V8qA1EYeMC3Yw6Uz2ofn/pNwhWkEbtwkC9+DL0mszeU0Vq8xY1 sdBYtktBgQ25Jte0BS2ZpGULCKsy603kipk8D6wpTdUzmO2nuruL5sKG6gyQKw== 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 4SqZ5G49jrzZbW; Tue, 12 Dec 2023 23:07:30 +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 3BCN7Uxl073574; Tue, 12 Dec 2023 23:07:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BCN7UVL073571; Tue, 12 Dec 2023 23:07:30 GMT (envelope-from git) Date: Tue, 12 Dec 2023 23:07:30 GMT Message-Id: <202312122307.3BCN7UVL073571@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 4bf2686b2f5d - main - devel/py-sip: Update to 6.8.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4bf2686b2f5dcc09a1e37bcc2c5e9f059cf09b0d Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=4bf2686b2f5dcc09a1e37bcc2c5e9f059cf09b0d commit 4bf2686b2f5dcc09a1e37bcc2c5e9f059cf09b0d Author: Jason E. Hale AuthorDate: 2023-12-12 22:20:01 +0000 Commit: Jason E. Hale CommitDate: 2023-12-12 23:07:09 +0000 devel/py-sip: Update to 6.8.1 https://riverbankcomputing.com/news/SIP_v6.8.1_Released --- Mk/Uses/pyqt.mk | 2 +- devel/py-sip/Makefile | 1 - devel/py-sip/distinfo | 6 +- .../files/patch-sipbuild_generator_outputs_code.py | 73 ---------------------- 4 files changed, 4 insertions(+), 78 deletions(-) diff --git a/Mk/Uses/pyqt.mk b/Mk/Uses/pyqt.mk index 11fc24b23533..7533fb1fd9e3 100644 --- a/Mk/Uses/pyqt.mk +++ b/Mk/Uses/pyqt.mk @@ -85,7 +85,7 @@ MASTER_SITES_QSCI2= RIVERBANK/QScintilla/${PORTVERSION} \ # # Where noted, the ports are epoched and the py-${comp}-PATH variables, # below, should have a suitable epoch appended to the version. -SIP_VERSION= 6.8.0 # ,1 +SIP_VERSION= 6.8.1 # ,1 SIP4_VERSION= 4.19.25 QSCI2_VERSION= 2.14.1 PYQT5_VERSION= 5.15.10 diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile index b13cb227fd2a..79cdefccb83e 100644 --- a/devel/py-sip/Makefile +++ b/devel/py-sip/Makefile @@ -1,6 +1,5 @@ PORTNAME= sip PORTVERSION= ${SIP_VERSION} -PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_SIP} diff --git a/devel/py-sip/distinfo b/devel/py-sip/distinfo index 9c3043973f44..187ff206a45d 100644 --- a/devel/py-sip/distinfo +++ b/devel/py-sip/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701799473 -SHA256 (sip-6.8.0.tar.gz) = 2ed1904820cb661b7207eb1dccfaebec1a5463dcad903ba448ad1945502d089c -SIZE (sip-6.8.0.tar.gz) = 985563 +TIMESTAMP = 1702419746 +SHA256 (sip-6.8.1.tar.gz) = 3002df415e168ac3ffe393942dbc7131cb82ade50000e1526f46a88ade26f598 +SIZE (sip-6.8.1.tar.gz) = 986219 diff --git a/devel/py-sip/files/patch-sipbuild_generator_outputs_code.py b/devel/py-sip/files/patch-sipbuild_generator_outputs_code.py deleted file mode 100644 index c0fbf4765ab7..000000000000 --- a/devel/py-sip/files/patch-sipbuild_generator_outputs_code.py +++ /dev/null @@ -1,73 +0,0 @@ -Fix several regressions in the new code generator that was re-written in -Python. - -Includes upstream fixes: -https://www.riverbankcomputing.com/hg/sip/rev/67e0294b505c -https://www.riverbankcomputing.com/hg/sip/rev/4b98e8e43a1e -https://www.riverbankcomputing.com/hg/sip/rev/0d6692e9c295 -https://www.riverbankcomputing.com/hg/sip/rev/10b05deedee7 -https://www.riverbankcomputing.com/hg/sip/rev/2d6fa85ae3de -https://www.riverbankcomputing.com/hg/sip/rev/fc6f81078cc4 - -plus a missed space in a function declaration (first hunk). - ---- sipbuild/generator/outputs/code.py.orig 2023-11-30 12:14:32 UTC -+++ sipbuild/generator/outputs/code.py -@@ -521,7 +521,7 @@ f''' - sf.write( - f''' - --void sipVEH_{module_name}_{virtual_error_handler.name}(sipSimpleWrapper *{self_name}, sip_gilstate_t{state_name}) -+void sipVEH_{module_name}_{virtual_error_handler.name}(sipSimpleWrapper *{self_name}, sip_gilstate_t {state_name}) - {{ - ''') - -@@ -4251,7 +4251,7 @@ def _call_default_ctor(spec, ctor): - - # Do what we can to provide type information to the compiler. - if arg.type is ArgumentType.CLASS and len(arg.derefs) > 0 and not arg.is_reference: -- class_type = fmt_argument_as_cpp_type(spec, arg.definition) -+ class_type = fmt_argument_as_cpp_type(spec, arg) - arg_s = f'static_cast<{class_type}>(0)' - elif arg.type is ArgumentType.ENUM: - enum_type = fmt_enum_as_cpp_type(arg.definition) -@@ -6177,7 +6177,7 @@ def _catch_block(sf, spec, exception, py_signature=Non - # with older versions of SIP. - exception_cpp_stripped = exception_fq_cpp_name.cpp_stripped(STRIP_GLOBAL) - -- sip_exception_ref = 'sipExceptionRef' if exception.class_exception is not None or _is_used_in_code(exception.raise_code) else '' -+ sip_exception_ref = 'sipExceptionRef' if exception.class_exception is not None or _is_used_in_code(exception.raise_code, 'sipExceptionRef') else '' - - sf.write( - f''' catch ({exception_cpp_stripped} &{sip_exception_ref}) -@@ -7593,10 +7593,10 @@ def _arg_parser(sf, spec, scope, py_signature, ctor=No - operator = '!=' - sip_value = 'sipValue' - -- parser_function = f'sipValue {operator} SIP_NULLPTR && sipParsePair(' -+ parser_function = f'sipValue {operator} SIP_NULLPTR && sipParsePair' - args.append('&sipParseErr') - args.append('sipName') -- args.append('sipValue') -+ args.append(sip_value) - - elif (overload is not None and overload.common.allow_keyword_args) or ctor is not None: - # We handle keywords if we might have been passed some (because one of -@@ -8013,7 +8013,7 @@ def _delete_temporaries(sf, spec, py_signature): - if spec.c_bindings or not arg.is_const: - sf.write(f' sipFree({arg_name});\n') - else: -- sf.write(f' sipFree(const_cast({arg_nr}));\n') -+ sf.write(f' sipFree(const_cast({arg_name}));\n') - - else: - convert_to_type_code = _get_convert_to_type_code(arg) -@@ -8408,7 +8408,7 @@ def _class_docstring(sf, spec, bindings, klass): - else: - is_first = True - -- if klass.docstring is None or klass.docstring.signature is not SocstringSignature.DISCARDED: -+ if klass.docstring is None or klass.docstring.signature is not DocstringSignature.DISCARDED: - for ctor in klass.ctors: - if ctor.access_specifier is AccessSpecifier.PRIVATE: - continue