From nobody Tue Nov 16 13:51:03 2021 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 5CF5B188C633; Tue, 16 Nov 2021 13:51:03 +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 4HtnX726wPz4lFl; Tue, 16 Nov 2021 13:51:03 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 29CAB6781; Tue, 16 Nov 2021 13:51:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AGDp3Ou014072; Tue, 16 Nov 2021 13:51:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AGDp32Z014071; Tue, 16 Nov 2021 13:51:03 GMT (envelope-from git) Date: Tue, 16 Nov 2021 13:51:03 GMT Message-Id: <202111161351.1AGDp32Z014071@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: d7c018f5c4a1 - main - devel/shiboken2: limit supported python versions 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7c018f5c4a13e3eb01b554691b37898d33e8cfb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7c018f5c4a13e3eb01b554691b37898d33e8cfb commit d7c018f5c4a13e3eb01b554691b37898d33e8cfb Author: Dmitry Marakasov AuthorDate: 2021-11-16 13:16:50 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-16 13:50:04 +0000 devel/shiboken2: limit supported python versions With python 3.10: pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.cpp:755:12: error: use of undeclared identifier '_Py_Mangle' return _Py_Mangle(privateobj, name); ^ pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/sbkstring.cpp:250:23: error: expression is not assignable Py_REFCNT(ob) = 1; ~~~~~~~~~~~~~ ^ Also mark BROKEN with python < 3.8 due to plist issues Approved by: portmgr blanket --- devel/shiboken2/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devel/shiboken2/Makefile b/devel/shiboken2/Makefile index 6cbf45266fbf..63de66c748b2 100644 --- a/devel/shiboken2/Makefile +++ b/devel/shiboken2/Makefile @@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$ LIB_DEPENDS= libclang.so.${LLVM_DEFAULT:C/^([6-9])0/\1/}:devel/llvm${LLVM_DEFAULT} \ libxslt.so:textproc/libxslt -USES= cmake compiler:c++11-lang gnome python:3.5+ qt:5 shebangfix tar:xz +USES= cmake compiler:c++11-lang gnome python:3.5-3.9 qt:5 shebangfix tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= flavors @@ -36,6 +36,10 @@ CMAKE_ARGS+= "-DCMAKE_CXX_FLAGS=-lexecinfo" \ .include +.if ${PYTHON_REL} < 30800 +BROKEN= does not build (plist issues) +.endif + PLIST_SUB+= DISTVERSION=${DISTVERSION} PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}