From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id sBBHEXxTJGZ7NQEAqHPOHw:P1 (envelope-from ) for ; Sun, 21 Apr 2024 01:45:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sBBHEXxTJGZ7NQEAqHPOHw (envelope-from ) for ; Sun, 21 Apr 2024 01:45:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Nbg5+DWn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=1713656700; a=rsa-sha256; cv=none; b=n5zCH0IbjjMXqaflrdMmBDvoqd1heFYh4sQi3PvsKsvi3oSkFQHhgqRAIB3yLSQR3Mu7VN 1d1xTbv8wjumbzPAknSWyeoW973bbYDqHwllRlOosbuuqioV2qpX1hm4j2En6vvF6alRs2 Qc63f2Rho3jkBlECzPqRhik7Z6MfthmEg800MbxGhE8f1g0r3JZcVM2lZoKLbcMkJkr8ml CSH8g5FYMnqVeMthryC4rOlSdw7Qd9zIBuQEsg/L5N65vkHSyws6jkQ35Rh1JUu2xfglYW jzTyWY0hYlvp9C6M8blq6eCtdFE6aoPphFh7uUeknm8r0h2mCPXSaS1iCHqYpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Nbg5+DWn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=1713656700; 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=8mrRZR64uol3MeH5VRtMSTyVqp3xFMk8hijP9XsinQQ=; b=apjV5cBEQEMKBoYSNikBB4dtn+RewWxR+TvoI8lu7MWbCejf3+O/g7/87NhH2yOtTPu4m9 EkHECUI2qaCRlGEviV0Q14UZ/1XteiOuq4S0pB4Oy62eEOKe1qQeip2dREh8rKCSqdUDl0 7e7kcFbLXAX5FfAVQsd47jZUa0xiHqNvRA62Oeii3NdCtVwIBj9+HUoHf6/iZfSn6BrQce OlzS3OuLoS7VAuueEBU1uhftXlkc1Qr1YEKsQDUAZgBhSgE3pBjkSozbwmXm6sKROhLv+K 6yu5cgBNr5Rd46+0Gjr06mEbRNhvWlaTYo8j96k0xKkUBxJeh5W/dUvlviqDrw== 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 055A87B0E5 for ; Sun, 21 Apr 2024 01:45:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryK8e-0005vI-J2; Sat, 20 Apr 2024 19:28:57 -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 1ryK8Z-0005uy-4R for guix-patches@gnu.org; Sat, 20 Apr 2024 19:28:52 -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 1ryK8Y-0003PL-BO for guix-patches@gnu.org; Sat, 20 Apr 2024 19:28:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryK8m-0000qV-3s; Sat, 20 Apr 2024 19:29:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70489] [PATCH 28/47] gnu: python-bayesicfitting: Refresh 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: Sat, 20 Apr 2024 23:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70489 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70489@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 70489-submit@debbugs.gnu.org id=B70489.17136556902890 (code B ref 70489); Sat, 20 Apr 2024 23:29:03 +0000 Received: (at 70489) by debbugs.gnu.org; 20 Apr 2024 23:28:10 +0000 Received: from localhost ([127.0.0.1]:39210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryK7t-0000kW-M6 for submit@debbugs.gnu.org; Sat, 20 Apr 2024 19:28:10 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:42380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryK3M-0008QE-BK for 70489@debbugs.gnu.org; Sat, 20 Apr 2024 19:23:32 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-41a0979b9e3so2237315e9.1 for <70489@debbugs.gnu.org>; Sat, 20 Apr 2024 16:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713655387; x=1714260187; 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=8mrRZR64uol3MeH5VRtMSTyVqp3xFMk8hijP9XsinQQ=; b=Nbg5+DWnBvZz3pbnPhlZagdqYNag/xVFV3Iik25fD8bX+Es13P6vl4jD5YGaaowb5Y TyAjYDJwpqqiHuv2U7VntzzZ0Ly6tPvW3fz6mfPivK/sXQlV2KPDlW4QtCocvJOPSyUY kaDtL2glU85Q8PcotNNlb/2ucTtA0b2Ub6YIErbaatVjvHSaNrRLVk60f8q7CkasblNQ 4Xo2Zuy71ucMY0hKxxLvdYSupdTn6nnFSDwsNpLly8LM3G5wBqY1AdnpJ1UwngZsvazB BFbkG3dp0KHxhZFheSw8TIh//ZfOBApdOO25zcyVPjMVXSM6M31lYF52gt7QlP+qoIxg C6zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713655387; x=1714260187; 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=8mrRZR64uol3MeH5VRtMSTyVqp3xFMk8hijP9XsinQQ=; b=tdLiUozhqC6PGkmYBoJxdAnfcNT+2io9APgiIxO2I86+0pbxyTf7lOicrPF6j/J/6l 9jdLhCOmc+EZDG1NIMylvsyC0LLRVGk1JpfUOnY7jfBQtyZ/0p4GmSo+DOYeKoJ9pThv qzgQyR3icA3oEj70Y7EhdeviQ3iGxogY1K23MF7z1sdfOjocl+mSRU68dAbZThT6SNLB qM+BwT8zke228i2nT/BrYoJTBKzd/Lxt1oYCCvkQJho37khynM7P8vscTNaN7fPNcMkq /E4dFCNlhTkZVaiBRYYO9rj/5fq7OvjlN4QdqUrTuYR/qGZh8VV8bGlDzJTS1xXXRzOq uaiA== X-Gm-Message-State: AOJu0YxaJn449ymDXZmV0aOfvyVhIAWQhXqJDhfOJgxG/JanNajMrRti V/l27xr6ue2Id9O1145DGgKJ6x23CpeWAcoEuAcjf+SNfL/rrQVvMBUYyveK X-Google-Smtp-Source: AGHT+IFS3o4qiYEAXLrYUR7X4XAnOe5RiaEtNkubbKOA733ioeaWqr/MhGsXoQUhEBFZyRNr4Kp/pg== X-Received: by 2002:a05:600c:5249:b0:417:e316:fbb3 with SMTP id fc9-20020a05600c524900b00417e316fbb3mr3940895wmb.15.1713655387646; Sat, 20 Apr 2024 16:23:07 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id g13-20020a05600c310d00b004196c93da22sm6474751wmo.2.2024.04.20.16.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 16:23:07 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 21 Apr 2024 00:22:17 +0100 Message-ID: <610aa7bc418a9e177decf922620db909c3a0e34e.1713654571.git.sharlatanus@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -3.78 X-Migadu-Queue-Id: 055A87B0E5 X-Migadu-Spam-Score: -3.78 X-Migadu-Scanner: mx10.migadu.com X-TUID: AoQgnPscpI/L * gnu/packages/astronomy.scm (python-bayesicfitting): Adjust indentation. [build-system]: Swap to pyproject-build-system. [arguments] <#:test-flags>: Add them. <#:phases>: Use test flags in 'check phase. Change-Id: Iffc8591199bbaf2a0da95b6b22476e34121dbe79 --- gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index bf71843e05..618d0e78bf 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1934,25 +1934,31 @@ (define-public python-bayesicfitting (package (name "python-bayesicfitting") (version "3.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dokester/BayesicFitting") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0q6v7w9b1xzam0qn5vsl5wrdp1fkfpsn411pzd8wyy9giznpajxi")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dokester/BayesicFitting") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q6v7w9b1xzam0qn5vsl5wrdp1fkfpsn411pzd8wyy9giznpajxi")))) + (build-system pyproject-build-system) (arguments - (list #:phases #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "unittest" "discover" - "test"))))))) - (propagated-inputs (list python-astropy python-future python-matplotlib - python-numpy python-scipy)) + (list + #:test-flags #~(list "-m" "unittest" "discover" "test") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (when tests? + (apply invoke "python" test-flags))))))) + (propagated-inputs + (list python-astropy + python-future + python-matplotlib + python-numpy + python-scipy)) (home-page "https://www.bayesicfitting.nl") (synopsis "Python Toolbox for Astronimical Bayesian fitting") (description -- 2.41.0