From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wN8TFUVKeGdvTgAA62LTzQ:P1 (envelope-from ) for ; Fri, 03 Jan 2025 20:36:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wN8TFUVKeGdvTgAA62LTzQ (envelope-from ) for ; Fri, 03 Jan 2025 21:36:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zh+hJnAT; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=G2GtUtd2; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735936581; 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=YCzDCJhABZvWg38nO/s3NXPZw0Qj14l4zl7/elIY9pI=; b=SIHg8CdirDMIrG3Yb5MPSyuFZdZqDWzG8TsxgiIXVSOuDGD6AxpikkDd8eaxI5byxPveRH DHA/5YxtogJRaM5geeU5FZCyeMWW3L5Vni8H5VxvwMJL0BPX8D0gpQYs92O6eaVsI7xkrg bSIFzc6AQMWuiDjbQw7NAN71d8xFOGU2CDSm3o3sOHWs5Qj6xkKQP8PbhcFiuTaHIWwo3s 5ip4ag5+KLaDnYadB+L5WmRXk6PmeK8UVCMYlZ8ATff+4a0OQuTIE6eYpVLQMqrM2ccKT8 H1uN5jUN0v4EvaP9U4SjXxuIUvCv4Ez3fwlyUPVG/ZcyEKD5ngwfRjX7eB8tkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zh+hJnAT; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=G2GtUtd2; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735936581; a=rsa-sha256; cv=none; b=Vgx9mp4z8JnuRT8lLzvE6YQCiSQ8WOjJgStjB6O8ikOYmzB94Fn++0i/yudI/S0uz8hC1p fICFvGW0d12YooTarBHS2l6I2qN9ZmXJece/NpBY5i58ZLJgjByABm7eSESpEHNwrgBg0A h7o9URkBsDGbl30CLPu895aYbusRuDTEr6sAdpYVPyxsIL0UgOMFsdfZpDcLuSIQWS+fSX 6GthWldJBp3drG+ijuqhntwGsIiLQIE35cZ9Lj+tsxs6z2XHbxpJoGswXpm6N/fAw3O6sF 3MSg6/qvx54LUFtnLrwnAfLRoZYbYfd4qNBKzobDCnagejUYALCVcrfFKdcZwA== 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 DFD781D09D for ; Fri, 03 Jan 2025 21:36:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tToOs-0002GY-Hl; Fri, 03 Jan 2025 15:36:06 -0500 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 1tToOq-0002FF-OD for guix-patches@gnu.org; Fri, 03 Jan 2025 15:36:04 -0500 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 1tToOq-0004Ca-FY for guix-patches@gnu.org; Fri, 03 Jan 2025 15:36:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=YCzDCJhABZvWg38nO/s3NXPZw0Qj14l4zl7/elIY9pI=; b=Zh+hJnATfBlKflsyOxgQGLglf+FRCA8p71LG/L22SEcHDwXAp6NO/hPg1hxT7OriPbid/+IB8Ix+Uws5ucE7GdP1KT3R7BAA4/Z0B1dypZGTxCn8SWC3LNl7RSx64J59UDvAJ+ZyTdBz2CDWjqkRAwJIZeSOEg4oWMYMnGUahHdhDSlS8lP8CaRlUtca0o5SON2fneOvc/8Cllyk0eugQyht8A/3an+i6GcZxCg41FGq9Evnx8aQ94phn6uI9AaJ58RgSwjxo55zfxXLVWirsXO47ZcO0ScjnNtyj31DNtp4INmHhXch0/u0MbTxmhpDyFZ3b590b5duO6r8wJj5mQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tToOq-0008FI-A5; Fri, 03 Jan 2025 15:36:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75326] [PATCH 5/6] gnu: xtensor: Improve package style. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 03 Jan 2025 20:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75326 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75326@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 75326-submit@debbugs.gnu.org id=B75326.173593652631600 (code B ref 75326); Fri, 03 Jan 2025 20:36:04 +0000 Received: (at 75326) by debbugs.gnu.org; 3 Jan 2025 20:35:26 +0000 Received: from localhost ([127.0.0.1]:52359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tToOD-0008Da-Eb for submit@debbugs.gnu.org; Fri, 03 Jan 2025 15:35:25 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:57425) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tToO9-0008CG-VN for 75326@debbugs.gnu.org; Fri, 03 Jan 2025 15:35:22 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4362f61757fso125070315e9.2 for <75326@debbugs.gnu.org>; Fri, 03 Jan 2025 12:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735936516; x=1736541316; 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=YCzDCJhABZvWg38nO/s3NXPZw0Qj14l4zl7/elIY9pI=; b=G2GtUtd28IzEOcR+dW35jYGvkfADsJEcGjFQHMIFeqJox+j59hkhReZn+Avywd6XjN qQWvboZyDcvabl+HjqMng4H/J8Ta2EjQtzBAUZvQ1kTcuyN4FKuDXCwFv1ybSrq6m/QP mPpYX3+Tag/KVQ0JOwFL0WvKQhg1Bf+nbTW0XtuqZ0QChVAPGADscqNZpQj/C9LztGXq ngCeq7cZMLeOmvkZyZwnL02n9aXVAlDHnQOcKQZIs83M6+yjtr5sL6rGuxXnJuauS3h1 G7ml/T8XPiZJQfrE0npMoZg0Ra0dDPxXz785qJark83NxPSKL6ZgxEs+iOWtmwvLz1yN T1Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735936516; x=1736541316; 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=YCzDCJhABZvWg38nO/s3NXPZw0Qj14l4zl7/elIY9pI=; b=Au/8+d/giMY/uRMPSkdQf8hTUKN7LS5piwLT4zh2jfJcfOocQCSkS0HouA93laH4dO tzpDl1/G8FKjgsUW6K9SIObx3U11v3ibJkCZLZB95QCP8Jd194sJJYMrizUWxDxjMLPe 3FokDg6AkPS1DAQAZrWV8Vs/mXjxYY7W7Z9Dbz9k3u1Ju4TUKe/z5MsB6qweBeE905GS cMwFwYFKR2GshHcQZqH5b82EKCniHUXnWl5QhxHG6VyeRqCTEleQn+GqtuY3Ol4B7QrB 0y4wGFhe9+3AZjCJEyEp9il389US4zlSjubZVBflZsgqN9Nx7ctLWRpF2kOZLW73BSnn ejEg== X-Gm-Message-State: AOJu0Yw0oqbFXkJDF6+ScC6/BKVLgjtO9wZc1uRDhVKPsmzc4plyAyb3 YzPSynReVmXMOfTtL5a/5dzza+19nlKGE2mDcBUhMk45D15EUxnGyHsG7FUP X-Gm-Gg: ASbGncvvmRqQUwF9ic0KbxGX+9ZXJ9/Rinrev6SI91vElwXRUBdcLMyz32IiNtE+IJV Ui0PhKxEcKYPsemBHuosjCRN4ugaHDzGt6TBLbv8YaNd/M0MIJIh3Mowl4mPUtMKTbCw3eq+vt3 oBDYK+sv2Sa1spJJjpHuNRDw97eSU17g1JLTPgwsKGdmtlS69qn6UM2Ntmgiypm+JyCwsEWkclN Uxr7kqtjo0ad16/JtJ4uOaRnVLP5kiRoxs9YooF9rCYdJHMzHxixUNqBK1zqkO9K0LI0lI1qJr3 lvHdAzBokIhbRPrUCCNQ1L3ewBkVyrfggfpmsBaHB6NhcnN6 X-Google-Smtp-Source: AGHT+IFC/hodMkgA+st83yQ8WE7ISKIq5o93aSatGmswvp1s+eb0FwjpLWWcr0kFaknz+qq04CmyZQ== X-Received: by 2002:a05:600c:1d2a:b0:435:330d:de86 with SMTP id 5b1f17b1804b1-4366790d3c0mr484224355e9.0.1735936515705; Fri, 03 Jan 2025 12:35:15 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43656b41904sm525713165e9.37.2025.01.03.12.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 12:35:15 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 3 Jan 2025 20:35:05 +0000 Message-ID: <8def7467515b8fdb5acb54312a04fc8248a28e71.1735936141.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.46.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-Spam-Score: -0.75 X-Spam-Score: -0.75 X-Migadu-Queue-Id: DFD781D09D X-Migadu-Scanner: mx10.migadu.com X-TUID: 8wEHO9KysSWY * gnu/packages/algebra.scm (xtensor): Shift fields order. Use G-expressions. Change-Id: Ica85f3e848a99eea45e07156eb659558fc6c0804 --- gnu/packages/algebra.scm | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 5da77b6318..4d84958abf 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1164,22 +1164,24 @@ (define-public xtensor (package (name "xtensor") (version "0.24.6") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/xtensor-stack/xtensor") - (commit version))) - (sha256 - (base32 - "0gf5m5p61981pv7yh5425lcv8dci948ri37hn1zlli7xg54x0g3i")) - (file-name (git-file-name name version)))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xtensor-stack/xtensor") + (commit version))) + (sha256 + (base32 "0gf5m5p61981pv7yh5425lcv8dci948ri37hn1zlli7xg54x0g3i")) + (file-name (git-file-name name version)))) (build-system cmake-build-system) - (native-inputs - (list doctest googletest xtl)) (arguments - `(#:configure-flags - '("-DBUILD_TESTS=ON") - #:test-target "xtest")) + (list + #:configure-flags #~(list "-DBUILD_TESTS=ON") + #:test-target "xtest")) + (native-inputs + (list doctest + googletest + xtl)) (home-page "https://xtensor.readthedocs.io/en/latest/") (synopsis "C++ tensors with broadcasting and lazy computing") (description "xtensor is a C++ library meant for numerical analysis with -- 2.46.0