From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SDTuHLHORGamfgAAe85BDQ:P1 (envelope-from ) for ; Wed, 15 May 2024 17:03:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SDTuHLHORGamfgAAe85BDQ (envelope-from ) for ; Wed, 15 May 2024 17:03:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundation.xyz header.s=google header.b=LpgmrfoP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=foundation.xyz (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715785393; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=dPYtDnK6wGUCwvzPwL9+4wXwUUaHgvpIeROneW8CF2A=; b=lezPsp1IcZu0P9YKyIOq5jsQbBBQNGn9kL0wJMrGtK++p0hBEIXMBDojlIy5BK7U6PWChn tfYiC9JI3LWEF6oYqH8kWzGz3fB1sG3UnsJFyN2hprFKhlueZkY+usJ8QIa+Jbd3KR243Y 0ic+2q38bdFIuoXmUgh293LpmI+84EN5BbUddMz7thlfqxnCI5HY8SdegpvvR9feaKoqM1 EP7DGgq5SeDNKX6KefJ+F/qE0RkXWWFc+pFYxM3vgg0QNMjAXK7jNrkLanmp8HtLpngSUH SysFXJbGm2ydNxmnfQP6LqIRkcqRTTy+VXQ1TwmuGjJkjdhxtw9PcZ3DCv46Hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715785393; a=rsa-sha256; cv=none; b=BWzok4gW2ccjlMDvegxYA0t206r1cY1WdCaEVxDWUhO3EOtJMqW+biSh0G+C6xrNi3GNH0 xP+XRuWRHgea85Zsm6U/ccwhRk4CoE7UFW2MxagCf9uXqe/Zob1gUN8o1dvUnhYhUE/swF YIaqc0nnlZnGWIb5D890g9D6IEqSEAx05lSbE6PjqZdo/bIBYCxY8deoQsohLiHK6Z9/wD sRC8wopBz8Uizqbds7lJ/0RYVPaTtHJeKktrGzXbPwEtg77SFI07Gad3rqatvZRprHrPTf jHxwOY+qVEkorldBNGojfBMvEpO0WYzbjmYptRpTBasQv3074oLTG/6rRouDMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundation.xyz header.s=google header.b=LpgmrfoP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=foundation.xyz (policy=none); 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" 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 DE3DD63769 for ; Wed, 15 May 2024 17:03:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7G9n-0002Kd-FI; Wed, 15 May 2024 11:03:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7G9l-0002Jw-5Z for guix-patches@gnu.org; Wed, 15 May 2024 11:03:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7G9k-0000tD-SZ for guix-patches@gnu.org; Wed, 15 May 2024 11:03:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7G9m-0002P1-AB; Wed, 15 May 2024 11:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70567] [PATCH v3 2/3] gnu: why3: Use new style. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 15 May 2024 15:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70567 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70567@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 70567-submit@debbugs.gnu.org id=B70567.17157853759213 (code B ref 70567); Wed, 15 May 2024 15:03:02 +0000 Received: (at 70567) by debbugs.gnu.org; 15 May 2024 15:02:55 +0000 Received: from localhost ([127.0.0.1]:42557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7G9e-0002OS-MC for submit@debbugs.gnu.org; Wed, 15 May 2024 11:02:55 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:53599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7G9c-0002O7-4n for 70567@debbugs.gnu.org; Wed, 15 May 2024 11:02:52 -0400 Received: by mail-wr1-f65.google.com with SMTP id ffacd0b85a97d-34d9c9f2cf0so5865095f8f.3 for <70567@debbugs.gnu.org>; Wed, 15 May 2024 08:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundation.xyz; s=google; t=1715785304; x=1716390104; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dPYtDnK6wGUCwvzPwL9+4wXwUUaHgvpIeROneW8CF2A=; b=LpgmrfoPl3Uw7HRmuOcDy5LUWKLm+EbC1hYKDrQXrN2p1s+gSz8uSbpE2zGMgbWu1f oY8b2fg/4FxJXqm/2y+uF32fdbt2mTXYwF/8wMQXHzFIVvwDfzrJqs0LeaYs6uMEXf0M mss2ttoH+oPx6Dmf5XyZ3+DN5rdbyyj5kimGtR8BSWXWS0vMFi2Ii1bL/WmiC3Cj5vFc ZuRocT47YrYBe31LoG4uPWzTVaSppxooHJ9jAs9eMwWjUFZ99Vl00YiDo3quj+hpq94z Ok+wJOUr3HTfrEfxo8MazeDXCj2yV+d/c8DUWVtPVIqP4jusyFTjJXVwOPazA8UESFvM aQZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715785304; x=1716390104; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dPYtDnK6wGUCwvzPwL9+4wXwUUaHgvpIeROneW8CF2A=; b=cDdYozZZVamjg7HI1l3c4/YyQ0cAIkG0S6u1VX7zSQc7vtbVRKfXHlsrAZeWpil0ri yn07EsrC3e9kB9w5UaesGwlahRrkNyH8EybRKZFVLhicjR2D4Va6QxPCjNdGQbt1YFFO tHHl2jm5mJBQktIsqaZ/2UzcD5Y3jMAvq5TdaVGg8azVCykrRCx/6pZbMvxZF44McSRh dJA/AJ1/doEDwcZgny9fQhgwMO5xikk2N7UL5l8xIgYoLymzjkOwWOFhgCAzhkn7z3aw SAYtQojEhRVP+8bDNhX+RhxRw25ssrD6xLAaxemHG4OqRT5Dt6A7TSnacknZV0oqOH9p J23w== X-Gm-Message-State: AOJu0YxDDLzGsgvECWBd/gLxB+2xnuqAEsKELNVCmtaq7XInCAuDZQWK i6tQlxb7KMPP4ElL5eo3zASHT5d65IbHhKLOXvQ3QH0mPOK/Ue/zKoOCdTq2aPLB1O+fQ0YxowU YVBLjWCAM X-Google-Smtp-Source: AGHT+IFrMR/mZt5t+gsvXlMxLVuSjqi+ZwpltK7mQHVsbZO3jMwl+8fa3iUBCYsWZx7IiSccRcRc3g== X-Received: by 2002:a5d:550b:0:b0:34d:a650:46f8 with SMTP id ffacd0b85a97d-3504a630f21mr14170762f8f.9.1715785304560; Wed, 15 May 2024 08:01:44 -0700 (PDT) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502baacf89sm16809978f8f.83.2024.05.15.08.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 08:01:44 -0700 (PDT) From: Jean-Pierre De Jesus DIAZ Date: Wed, 15 May 2024 17:01:34 +0200 Message-ID: <75eac710c55c0c6a9494c03e30adefaf19e3c558.1715785259.git.jean@foundation.xyz> X-Mailer: git-send-email 2.41.0 In-Reply-To: <8b22a962e6ece2c17b45c1844fc4e63d3145c6ae.1715785259.git.jean@foundation.xyz> References: <8b22a962e6ece2c17b45c1844fc4e63d3145c6ae.1715785259.git.jean@foundation.xyz> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.77 X-Spam-Score: -0.77 X-Migadu-Queue-Id: DE3DD63769 X-Migadu-Scanner: mx11.migadu.com X-TUID: BZbWIm/nz+d2 * gnu/packages/maths.scm (why3): Use new style and move arguments above input fields. Change-Id: Ia9cb04cafe426d7f20c5efb10ca540572dbd3be9 --- gnu/packages/maths.scm | 63 +++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 29 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index cbde85751c..1e10d4caa8 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -9497,36 +9497,41 @@ (define-public why3 (base32 "0fq8wg8ji2v2ssz1d681glmk8glps1irnmdlhqfklaggx01hlf4p")))) (build-system ocaml-build-system) - (native-inputs - (list autoconf automake coq ocaml which)) - (propagated-inputs - (list camlzip ocaml-graph ocaml-menhir ocaml-num ocaml-zarith)) - (inputs - (list coq-flocq emacs-minimal zlib)) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'bootstrap - (lambda _ - (invoke "./autogen.sh") - (setenv "CONFIG_SHELL" (which "sh")) - (substitute* "configure" - (("#! /bin/sh") (string-append "#!" (which "sh"))) - ;; find ocaml-num in the correct directory - (("\\$DIR/nums.cma") "$DIR/num.cma") - (("\\$DIR/num.cmi") "$DIR/core/num.cmi")) - #t)) - (add-after 'configure 'fix-makefile - (lambda _ - (substitute* "Makefile" - ;; find ocaml-num in the correct directory - (("site-lib/num") "site-lib")) - #t)) - (add-after 'install 'install-lib - (lambda _ - (invoke "make" "byte") - (invoke "make" "install-lib") - #t))))) + (list #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'bootstrap + (lambda _ + (invoke "./autogen.sh") + (setenv "CONFIG_SHELL" (which "sh")) + (substitute* "configure" + (("#! /bin/sh") (string-append "#!" (which "sh"))) + ;; find ocaml-num in the correct directory + (("\\$DIR/nums.cma") "$DIR/num.cma") + (("\\$DIR/num.cmi") "$DIR/core/num.cmi")))) + (add-after 'configure 'fix-makefile + (lambda _ + (substitute* "Makefile" + ;; find ocaml-num in the correct directory + (("site-lib/num") "site-lib")))) + (add-after 'install 'install-lib + (lambda _ + (invoke "make" "byte") + (invoke "make" "install-lib")))))) + (native-inputs (list autoconf + automake + coq + ocaml + ocaml-findlib + which)) + (propagated-inputs (list camlzip + ocaml-graph + ocaml-menhir + ocaml-num + ocaml-zarith)) + (inputs (list coq-flocq + emacs-minimal + zlib)) (home-page "https://why3.lri.fr") (synopsis "Deductive program verification") (description "Why3 provides a language for specification and programming, -- 2.41.0