From nobody Wed Jul 26 07:04:06 2023 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 4R9lHp5Ymvz4nrWJ; Wed, 26 Jul 2023 07:04:06 +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 4R9lHp4t31z3j9t; Wed, 26 Jul 2023 07:04:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690355046; 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=yLZKu7VHYtGwOQj6WwdwodBlh0JzSdkyBsUQHMin5ow=; b=oyD5WQTY8DdIPZFr8MlrMxVU+QojAkhdRP3yAXgeXAvtjDZDNudKOrdf6nkiBMT9dXSaHK K46OO3bfLsjacOWcH1i81/Z79xJt9iV+6gib0eOQZfRrdLgTJxasl9iCqfCnRioQ9KjV8B qcG88CTtL8B62GgwVsyIn+lFaX9aLsT/aRhSRSQTrhCvqCaZ0InAOiMiMbuD54zgyV52Ui YASP1k1BHhMjfDKTxl1S4LVLHO2zfK0tzfSnn2aIkDEm8RVS11lP6ELMv/agU3S3e2kATv AXoic/PR+4Ot4nTHBR1wry2FGF3w6Odmnc+OntyO74opNlIAR/togW4zAFVwIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690355046; 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=yLZKu7VHYtGwOQj6WwdwodBlh0JzSdkyBsUQHMin5ow=; b=QcWKv1g9mmjfEWuxjEkZdQ5/V1HsHTZboiHyVnZpaajRniHhcGVR1D9+P9bUUSbQgHACkF gMasNn3yWO9Klgih1VfmJKvk8s9b0436w/BetUw/r4e4SXVL2nes82aH56ODSvz5/FDi88 5NrEPl8GpfSGKNPFEhVqnBI5JdleZl8spi31LZdsWxvzo3q0sRadZMR9BJN1MiIrSxksAL XVVBFtTtomsHZZbzgV7D38STEt897n0l0UdrqrSUt7wVJy/KicHjcqWz61gUvmCeQN26wD LAekzBL7OLdoGpl2kDpB4yK33jyVvomyNsQ6wDgKc/rEy8R/JINNq/x+diyIVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690355046; a=rsa-sha256; cv=none; b=LO7O1XYGXxl3+IfW9S79ptTTcGfm5m9AX6kQslJi6+doPcHmWlHR+FCGnw6TdRKhFTKZtz bEdcQpM5aamlvxoQ3FfTFmU9VFPg2iZVC7Bng4XGQATgL2mtJwcKBeDyKkT2spSu5cYbuN VW7MzXIv3Cp9Dwmy8CvRb9mka/wrK8XKGAZtboANXgMrYttUaZzvTv0HEwl78vhHT7DG0O oSJ3hfSgNATRn2rN2C8MXn+f517DKh6Zh1HuYJMhxcraSOf73BZjQ/IFzf3SJH42PHtstm 5p9OALgks0pA6XGa7CFNk/Sj28Ezwv3yqfl0flB6U3FshmxDP2b5fNJiijbPHg== 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 4R9lHp3ySdzYNJ; Wed, 26 Jul 2023 07:04:06 +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 36Q746gj093242; Wed, 26 Jul 2023 07:04:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36Q746Ar093241; Wed, 26 Jul 2023 07:04:06 GMT (envelope-from git) Date: Wed, 26 Jul 2023 07:04:06 GMT Message-Id: <202307260704.36Q746Ar093241@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: 246333eca493 - main - biology/py-python-libsbml: Use CMAKE_BUILD_PARALLEL_LEVEL env var for parallelization 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 246333eca493bcd5568689f249dc16d2046d3900 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=246333eca493bcd5568689f249dc16d2046d3900 commit 246333eca493bcd5568689f249dc16d2046d3900 Author: Yuri Victorovich AuthorDate: 2023-07-26 07:03:23 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-26 07:04:04 +0000 biology/py-python-libsbml: Use CMAKE_BUILD_PARALLEL_LEVEL env var for parallelization --- biology/py-python-libsbml/Makefile | 3 ++- biology/py-python-libsbml/files/patch-setup.py | 22 ---------------------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/biology/py-python-libsbml/Makefile b/biology/py-python-libsbml/Makefile index d54f69ade095..73adc29c5285 100644 --- a/biology/py-python-libsbml/Makefile +++ b/biology/py-python-libsbml/Makefile @@ -16,7 +16,8 @@ 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} + +MAKE_ENV= CMAKE_BUILD_PARALLEL_LEVEL=${MAKE_JOBS_NUMBER} 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 deleted file mode 100644 index 17bdf70eb9ed..000000000000 --- a/biology/py-python-libsbml/files/patch-setup.py +++ /dev/null @@ -1,22 +0,0 @@ -- 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