From nobody Tue Nov 02 18:09:28 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 E3E1C183FAE0; Tue, 2 Nov 2021 18:09:28 +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 4HkHwm66G0z3Ls4; Tue, 2 Nov 2021 18:09:28 +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 B210E1A0E; Tue, 2 Nov 2021 18:09:28 +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 1A2I9SUo025894; Tue, 2 Nov 2021 18:09:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A2I9SDK025893; Tue, 2 Nov 2021 18:09:28 GMT (envelope-from git) Date: Tue, 2 Nov 2021 18:09:28 GMT Message-Id: <202111021809.1A2I9SDK025893@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: 38ce78ebbe42 - main - biology/py-libsedml: fix install with python 3.10+ 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: 38ce78ebbe42e06b4acb2aa2bf2ba598ed4567a5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=38ce78ebbe42e06b4acb2aa2bf2ba598ed4567a5 commit 38ce78ebbe42e06b4acb2aa2bf2ba598ed4567a5 Author: Dmitry Marakasov AuthorDate: 2021-11-02 17:33:03 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-02 18:08:31 +0000 biology/py-libsedml: fix install with python 3.10+ Approved by: portmgr blanket --- biology/py-libsedml/files/patch-CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/biology/py-libsedml/files/patch-CMakeLists.txt b/biology/py-libsedml/files/patch-CMakeLists.txt index 0a8f6e634f59..ec9da0ad9c7a 100644 --- a/biology/py-libsedml/files/patch-CMakeLists.txt +++ b/biology/py-libsedml/files/patch-CMakeLists.txt @@ -1,4 +1,4 @@ ---- CMakeLists.txt.orig 2021-09-19 17:41:37 UTC +--- CMakeLists.txt.orig 2021-09-07 06:43:55 UTC +++ CMakeLists.txt @@ -49,6 +49,7 @@ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libsedml_wrap.cpp @@ -20,3 +20,12 @@ endif() # +@@ -135,7 +136,7 @@ endif() + # + set(PYTHON_PACKAGE_INSTALL_DIR) + if (UNIX OR CYGWIN) +- execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import sys;import platform; sys.stdout.write(platform.python_version()[:3])" ++ execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import sys;import platform; sys.stdout.write(platform.python_version().rsplit('.', 1)[0])" + OUTPUT_VARIABLE PYTHON_VERSION) + set(PYTHON_PACKAGE_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/site-packages) + else()