From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KGj3CQRQOmZn6wAAe85BDQ:P1 (envelope-from ) for ; Tue, 07 May 2024 18:00:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KGj3CQRQOmZn6wAAe85BDQ (envelope-from ) for ; Tue, 07 May 2024 18:00:04 +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="JzCX65/F"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1715097598; a=rsa-sha256; cv=none; b=NDMB1w7WgVfn/CX4OH1+EUYPECfhERh4tzypDrAqAsC8LTRSR/Wv0B4JPjgUojo6bkneZk eyfxgfNM2ROnrnDLrodeW8dny30zLpaRM0NP21RLIcp2AO/vFUq+DiIMrO3Prpo9EaU1Wl h6yCJO/yOSJONzH81ixJRtSwmypJNhguzLHJrZVUtuw9nx27g8B99Gvm6AkHqwtDHB/e7X KhmTO/++f22DvAMCtS5xvfqm56Qvcwsk3UtQt++vnsoFT3YasBDPtJaDXapYGv3v9Ly9zC L1aC7CP0aTWk0LyJd0mGZx9Rs0+2VDIjQ5ve++zocDGyHnQBWa799TWG696nuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundation.xyz header.s=google header.b="JzCX65/F"; 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=1715097598; 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=zjODCZ+XfCndEjCqep6dOv7tRXulAqX5wlKLjzo4yZM=; b=BBwOCTHOJs8l9oHsxdQTyJJiGvYtR4l5ekKVmFlM/WLoLEXqAm8S7XlVmKi6yUj0KW2xeD HCFwmf8SnuWiEClyi3dmWR3RccX6EVuVitW5XwkFEo7tqiOYM0WG2OjJ+VvJAXRr3laDPE VZt1abIlVMsS9uAS+F26tfSzQZB4Bp72lCg/5vG00EPdDevTDn3EFgAMhj5Mbc9pmHLoKy KxF4eoxru8etAI9sQ5ilTGnEzAUjRDVPrsHDLLBCJR74ah0Ph52Akkgvl56oxTjTcAGMyh MneSr9rbf7j6b6BubgY4gTltjyOs+dH3R64HKfBzH5Q2QJYSZNLTU0zLZDczLw== 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 31D6613D58 for ; Tue, 7 May 2024 17:59:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4NDd-0003mx-QT; Tue, 07 May 2024 11:59:05 -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 1s4NDG-0003cQ-4E for guix-patches@gnu.org; Tue, 07 May 2024 11:58:43 -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 1s4NDD-0007SI-CW for guix-patches@gnu.org; Tue, 07 May 2024 11:58:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4NDc-0003G6-4l; Tue, 07 May 2024 11:59:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70567] [PATCH v2 4/7] 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: Tue, 07 May 2024 15:59:04 +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.171509749212467 (code B ref 70567); Tue, 07 May 2024 15:59:04 +0000 Received: (at 70567) by debbugs.gnu.org; 7 May 2024 15:58:12 +0000 Received: from localhost ([127.0.0.1]:43350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4NCm-0003Ev-58 for submit@debbugs.gnu.org; Tue, 07 May 2024 11:58:12 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:61777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4NCf-0003DP-Lf for 70567@debbugs.gnu.org; Tue, 07 May 2024 11:58:10 -0400 Received: by mail-wm1-x343.google.com with SMTP id 5b1f17b1804b1-41ba0bb5837so23124305e9.3 for <70567@debbugs.gnu.org>; Tue, 07 May 2024 08:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundation.xyz; s=google; t=1715097455; x=1715702255; 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=zjODCZ+XfCndEjCqep6dOv7tRXulAqX5wlKLjzo4yZM=; b=JzCX65/FGaDGDeUvqzB5XE/KVPHOGdA7B1UET7P5LikhpdREh4DZp0xWd+eXaWqTTL xXnqaWQNyS1eU0rrdyedl3CQ6IiRqS5qU/3GCNYEecl+zfbI5xHBKR5Xup1OzMGREWYZ idX0yjYA/24OOwpq/S43wqNCp6nFn83Gw5LHVKO3I4XezUxvG53OZGxU+qE+YzV6+6Wo NsKga46zxeKgs+VfqR1ELQJgnDG3n+kSiawYmCrxbHigQcEywlE4XigyMuxougfwnL2y Vwr9r1s7uVX38GUTtebzl+GTv9/YE58+L6RYb70gCo+/OnSSL13B09gT5JYqPyHFDEqX VR4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715097455; x=1715702255; 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=zjODCZ+XfCndEjCqep6dOv7tRXulAqX5wlKLjzo4yZM=; b=SNMTSbdJpQVFKq/xgQNpxq2IPrKxoBrvi50snQtrfJfqd8nFxvtCCgWFDz4GHfTjY3 n7Cl0r6nKiO1VjpUhVt+r2m+MwCDDhEWJR83r+lbcUJaPb1xSJ38cVdq1x51hFbeTsX2 wZe0Ro9AiMVa8I2kZKo1hQrzK/PYxzVIENCdH3xWf023T71ylQpFZPAiTbxGt9+8Uvq/ K6iDSz+Mc0C6oNdS2yveuFLng1DsPdCZWM/kH6gZeqSdcnlaoucAq5iKWt3l5R5ahDmz 0JXYdjnkHSiJuoko2hT3dWqjjQ9w1VBsMEaEKTQTFiekp81RgiKefbiP/mx4H1aMhNaZ Msag== X-Gm-Message-State: AOJu0YxZr/jBAVfjPbNvYndAYBc4BZNAOSlZkLxOD+G95ZHtycaSKgle T8SdNoTTNKY8pUtgjVGFy4laWi/YRxsuxKx1DqIfH5MVC92TiIBuU8WdX+/rAPBq13Q2N0zCQzo 7ZG6/5uzGgBM= X-Google-Smtp-Source: AGHT+IEFwH6o+TQwAaPAEQMH/0t9nDmYJ58INaP0YalpQixRHODY/uuoVdSdItbOJc94EBFjHT6+lQ== X-Received: by 2002:a05:600c:4748:b0:418:e6fc:3708 with SMTP id 5b1f17b1804b1-41f714f98c7mr1896665e9.24.1715097454661; Tue, 07 May 2024 08:57:34 -0700 (PDT) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id g4-20020a5d5404000000b0034ca136f0e9sm13239707wrv.88.2024.05.07.08.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 08:57:34 -0700 (PDT) From: Jean-Pierre De Jesus DIAZ Date: Tue, 7 May 2024 17:57:20 +0200 Message-ID: <927ba426e4e455b80294a6df4a7528f1bb708af4.1715097365.git.jean@foundation.xyz> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 31D6613D58 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.11 X-Spam-Score: 4.11 X-TUID: 8rMMejE+QiWZ * 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 5e524db893..93370eef83 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -9400,36 +9400,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