From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mOwWKHK3TWOVsAAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 22:13:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KHhqJ3K3TWNYOQEAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 22:13:38 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 653492A8B5 for ; Mon, 17 Oct 2022 22:13:38 +0200 (CEST) Received: from localhost ([::1]:55864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okWUT-00074t-DU for larch@yhetil.org; Mon, 17 Oct 2022 16:13:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWU3-00071I-7E for guix-patches@gnu.org; Mon, 17 Oct 2022 16:13:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okWU1-0002IX-Uz for guix-patches@gnu.org; Mon, 17 Oct 2022 16:13:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okWU1-0007QO-Pm for guix-patches@gnu.org; Mon, 17 Oct 2022 16:13:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58587] [PATCH 14/14] gnu: python-pygmsh: Use pyproject-build-system. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 20:13:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58587@debbugs.gnu.org Received: via spool by 58587-submit@debbugs.gnu.org id=B58587.166603758128414 (code B ref 58587); Mon, 17 Oct 2022 20:13:09 +0000 Received: (at 58587) by debbugs.gnu.org; 17 Oct 2022 20:13:01 +0000 Received: from localhost ([127.0.0.1]:50174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okWTm-0007O2-6V for submit@debbugs.gnu.org; Mon, 17 Oct 2022 16:13:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okWTe-0007NV-CB for 58587@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWTZ-0002G5-4v for 58587@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=is+XVJWlcy+CkXHy/QKMEkdG4Lfzm53VoWzYi8rHSIo=; b=UranploytYoi8ZFtwAUK 6nnlOH6sHhBAY0RvDB6pPMpOhLHvf01k1ymatvooI0sPmvYft8Y6luiC2C+gYDqzMmTQWBo3OaHQd TniARN4mrsJZzl3rsgfXyockr2SXA23KKGFfJa3tJC+jII5mluYwm3/NMPuO5bR0En/g8wk25bxa3 hFiAmFMcIqPYDnjWvBAtWIk62ZnTMhYMjXSV6YQzXBP0Aj9TLkng6eB7H++E/6yVyOSMf6VQavSs1 HpYOxUr1uS3E6GN8j4rHskuvQeyeuehZN4IwcdAatRXCbHgDCfN3Dl4nz3TIR+ot9c9j1ZY21Gy7b +Kre2RiyWmFOYg==; Received: from [84.211.203.64] (port=56524 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWTX-00053i-LY for 58587@debbugs.gnu.org; Mon, 17 Oct 2022 16:12:40 -0400 From: Marius Bakke Date: Mon, 17 Oct 2022 22:12:01 +0200 Message-Id: <20221017201201.4808-14-marius@gnu.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221017201201.4808-1-marius@gnu.org> References: <20221017200624.4076-1-marius@gnu.org> <20221017201201.4808-1-marius@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666037618; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=is+XVJWlcy+CkXHy/QKMEkdG4Lfzm53VoWzYi8rHSIo=; b=T9kxoE19TYNlYWtiMA7FKYgRqS1nB2ktUknGtyHqmnEHxPaqCB5sXPj7OB+eGPnptm3AJP T6XNcrMaU5IeZWx6Iy9GBMX5gydLntpuJoNHOsMNwvG2Eli8cRfZlI6ZdIRUKBll+p/8D0 7wxp6DEd5ZDu3U9eOsdi9raYl7MiSflCVM2GBWJRt6ToSbS0Z0FBiRpbnCp2wxIFXLpv5d Z9miRpJKC0m12S6D9PX3hQRYCgj79R6N8v+lt7/klYmkng67tS8YtSPrFy8vgjmBcSxDiC LcYvlmzmm8hCcuU3qb7TToqRK1WCrGeGC/Y4XQlc5tZ0qX1has/YqDVNO8tLlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666037618; a=rsa-sha256; cv=none; b=czSSkaF/vIgNCqJLe3M9zQe2droqc6lc4n/NDm6Jx7SEVM1u7Tf/TgM+xLZ7ykZEyFXBjl QzrRz3vO8fIUfoigDFpSMM9PTyAwfNV3eMzuMj5JcyPPUfRbgWoSvqK/4XVOnekWAyLpsL 8yp+9PHmjG5Wc1QQZZv3BiDlIruSCbofNzJC4KdfJKHNqQwTIDGTn7bAUq9ZH4psKy6oCn 6AP+cUFkkKA6bH7Xkui3TsCWHqTZ7IxdGOTJa9CAkQJYtHtTaFJskrP8gRo6wURAoL8U96 Nb3KICzNvZmD3s6UofHUxMaZAqB/kFY+3w4A4h3/UhDuS38m+9HtQZKBUtPUoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Uranploy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Uranploy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 653492A8B5 X-Spam-Score: -0.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: Acj0rpbM4kCz * gnu/packages/simulation.scm (python-pygmsh)[build-system]: Switch to PYPROJECT-BUILD-SYSTEM. [arguments]: Remove redundant phases. [native-inputs]: Remove PYTHON-PYPA-BUILD. --- gnu/packages/simulation.scm | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 39b5620822..57a7882765 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -57,6 +57,7 @@ (define-module (gnu packages simulation) #:use-module (guix svn-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -828,7 +829,7 @@ (define-public python-pygmsh (sha256 (base32 "11flp2c4ynk1fhanf4mqyzrpd0gjbnv6afrwwc7xi3mb6ms69lr0")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases @@ -838,21 +839,8 @@ (define-public python-pygmsh ;; Due to lack of metadata, the gmsh Python package is not ;; detected although importable. (substitute* "pyproject.toml" - (("\"gmsh\",") "")))) - ;; XXX: PEP 517 manual build copied from python-isort. - (replace 'build - (lambda _ - (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-v" "tests")))) - (replace 'install - (lambda _ - (let ((whl (car (find-files "dist" "\\.whl$")))) - (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl))))))) - (native-inputs (list python-pypa-build python-flit-core python-pytest)) + (("\"gmsh\",") ""))))))) + (native-inputs (list python-flit-core python-pytest)) (propagated-inputs (list gmsh python-meshio python-numpy)) (home-page "https://github.com/nschloe/pygmsh") (synopsis "Python frontend for Gmsh") -- 2.38.0