From nobody Wed Jul 26 06:20:36 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 4R9kKc5hYtz4pBxm; Wed, 26 Jul 2023 06:20:36 +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 4R9kKc4RbGz4QL4; Wed, 26 Jul 2023 06:20:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690352436; 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=8wJgjnV50jE6OfTEQldcaIZoghJ/OtF1iJjygHsMVd0=; b=v8U57snL24YwAt1HIZu28+rIr+4OwinxJXNwWFPwkmigwJLDsrzR9nsJ7aKuHDTa62e5jW nhmQeMfOH++lJDcpFSQqi0ezrQFnUHtY2Q5FI3oUftC2E9q7hZHccIJZyGC6i4/mIbkEyN lrIYy00vYI928SKhn2e2vTb0a8AMvHHuZyM+7rVLiQDA6HmvbxzjD0d1D5zKwaBCPfnJKb yGrAo9+K1iuNqideCvAJ4ERopbJ9v/m8OZSNGVlhfiwXYvGx+ulr3c/EkRddjA9Jz9qziM UEmnKE3nKQ2ter1GOFyT9QcOCuczsgRDT7fR9u5riJadijUbjW/WbIV4h5o3RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690352436; 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=8wJgjnV50jE6OfTEQldcaIZoghJ/OtF1iJjygHsMVd0=; b=Z/T0u7yKruC51YSFJNi66oE9OcUvXrj79SS0ncIOHXMVtJCmyt9hmZNgPlYIz+f9v7NlV/ c7zBxZKW1qxYISts77sd9BNuJfSeTTMVoufccET8rr7rsN5UaNk6kxJYzZuHERK/cLs4dQ NWIr3eiPJkSw3waPTkJ/cVcb3FhwA5jZjuwVB6vUIbsXtdyg6Cs91MGsANcutKjM2snI6U QAJIsNOutrScUQWgZ0u25grPw5jJM0IcUjqe6WY7CU/IkVyRxVVHg4It54TE/CIimno+yv c9n7/Ch+PLRFsMg0cNiuBmxJhiQF/dU3HP/fEkuzPBat9kfX9HIxs9KfTkxpgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690352436; a=rsa-sha256; cv=none; b=keSekYGmS0lIhbRUhKY0X1tl0rDHBNM51BF48j2ya87TswnyFt55VDO4fPkn3c/3LGO+qi bLUiml3Cltb53nZ0XuqICDCQjiZNxKTpXNU7ZcoVAEx67ANjpDPqgS4m+EjbHvLrgZ9jcz STbqN9U/SeflI498rxwWmtl1Kq3AoH/fyyepLNVXwm1nhp8+FsERnFVwOYaj00lQyn1cHB fYTFgnAH5HHpaa4H11xkq+cKHRNXhKyECrjVsHo1OP3ZoErhkCTgTwOujhAEn41uRc9rpL Dv3LrWrdp64a/4xoERH78yJmmNEiOo9+2oRXg2kwj4mmMs3aTNYHvhO7YpMTUA== 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 4R9kKc21F7zXQp; Wed, 26 Jul 2023 06:20:36 +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 36Q6Ka0O018727; Wed, 26 Jul 2023 06:20:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36Q6KaCm018726; Wed, 26 Jul 2023 06:20:36 GMT (envelope-from git) Date: Wed, 26 Jul 2023 06:20:36 GMT Message-Id: <202307260620.36Q6KaCm018726@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8221f161dcf7 - main - biology/py-python-libsbml: Parallelize build 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8221f161dcf785939e3766a00ab19caba308386d Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8221f161dcf785939e3766a00ab19caba308386d commit 8221f161dcf785939e3766a00ab19caba308386d Author: Yuri Victorovich AuthorDate: 2023-07-26 05:43:48 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-26 06:20:26 +0000 biology/py-python-libsbml: Parallelize build --- biology/py-python-libsbml/Makefile | 1 + biology/py-python-libsbml/files/patch-setup.py | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/biology/py-python-libsbml/Makefile b/biology/py-python-libsbml/Makefile index 11c225fd511b..d54f69ade095 100644 --- a/biology/py-python-libsbml/Makefile +++ b/biology/py-python-libsbml/Makefile @@ -16,6 +16,7 @@ BUILD_DEPENDS= cmake:devel/cmake-core \ USES= python:3.8-3.9 USE_PYTHON= autoplist distutils # autoplist produces incomplete plist, missing files are in pkg-plist. Reported to the upstream author fbergman@caltech.edu on 2021-08-17 +MAKE_ENV= FREEBSD_MAKE_JOBS=${_MAKE_JOBS} post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml*.so diff --git a/biology/py-python-libsbml/files/patch-setup.py b/biology/py-python-libsbml/files/patch-setup.py new file mode 100644 index 000000000000..17bdf70eb9ed --- /dev/null +++ b/biology/py-python-libsbml/files/patch-setup.py @@ -0,0 +1,22 @@ +- workaround for https://github.com/sbmlteam/python-libsbml/issues/36 + +--- setup.py.orig 2023-05-25 10:49:17 UTC ++++ setup.py +@@ -248,7 +248,7 @@ class CMakeBuild(build_ext): + '-DWITH_LIBXML=OFF', + ] + ) +- self.spawn(['cmake', '--build', '.', '--target', 'install'] + build_args) ++ self.spawn(['cmake', '--build', '.', '-j', os.getenv('FREEBSD_MAKE_JOBS'), '--target', 'install'] + build_args) + os.chdir(cwd) + DEP_DIR = dep_inst_dir + +@@ -297,7 +297,7 @@ class CMakeBuild(build_ext): + os.chdir(build_temp) + self.spawn(['cmake', SRC_DIR] + cmake_args) + if not self.dry_run: +- self.spawn(['cmake', '--build', '.', '--target', 'binding_python_lib'] + build_args) ++ self.spawn(['cmake', '--build', '.', '-j', os.getenv('FREEBSD_MAKE_JOBS'), '--target', 'binding_python_lib'] + build_args) + + # at this point the build should be complete, and we have all the files + # neeed in the temp build_folder