From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cMyDNcaakmTRVQEASxT56A (envelope-from ) for ; Wed, 21 Jun 2023 08:37:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4ImSNcaakmT1fQAAauVa8A (envelope-from ) for ; Wed, 21 Jun 2023 08:37:58 +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 8533112EBD for ; Wed, 21 Jun 2023 08:37:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBrRL-0001iU-PT; Wed, 21 Jun 2023 02:35:39 -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 1qBrR7-0001eH-IO for guix-patches@gnu.org; Wed, 21 Jun 2023 02:35:35 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBrQo-000689-Uh for guix-patches@gnu.org; Wed, 21 Jun 2023 02:35:22 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBrQo-0007kO-R6; Wed, 21 Jun 2023 02:35:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64201] [PATCH 12/20] gnu: python-fitsio: Enable tests. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Wed, 21 Jun 2023 06:35:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64201@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 64201-submit@debbugs.gnu.org id=B64201.168732926429567 (code B ref 64201); Wed, 21 Jun 2023 06:35:06 +0000 Received: (at 64201) by debbugs.gnu.org; 21 Jun 2023 06:34:24 +0000 Received: from localhost ([127.0.0.1]:60369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBrQ7-0007gn-S3 for submit@debbugs.gnu.org; Wed, 21 Jun 2023 02:34:24 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:54741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBrQ1-0007e0-OD for 64201@debbugs.gnu.org; Wed, 21 Jun 2023 02:34:18 -0400 Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-4f875b267d9so3662112e87.1 for <64201@debbugs.gnu.org>; Tue, 20 Jun 2023 23:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687329252; x=1689921252; 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=Qbq0tEvY0cNedPrsPRB5dWdAT7RX5I8iWuD2Tem7jJE=; b=ZheHm+2RFcbvvYWVphRmpsABGU84MSawd8tCzvM/pH5SR8NJBZ0L2uSZi0S+k2WNEo 6uOJ/JkmD7MLJaBQ3YNF1/bwAAsJUOIavhbFpAXp91eHdobaHDsSdykcWyUbJ/Kl6hF0 0paBIC/2pK2BIu0xEkVxxzu7J9NzQlWi8hXvFiuSDt2vZpQlUM7FVnhzPmH9lsUgDv+G yeZ/RhebErlWDXsmqnZMNush/662hNajuGlnS/1unxlvMIM6MrIO6nMR76eM6CGbU+7i M7FaPSvNX9AZMNrO+DdUN4hsLV4ZYR8Giu4/gFP97dxq4B6M+P5Zt9inUmRhrFloxQCV DeCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687329252; x=1689921252; 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=Qbq0tEvY0cNedPrsPRB5dWdAT7RX5I8iWuD2Tem7jJE=; b=NeLFFAIwG/itSnpslSUF+QdR4dodT4Z4apWtc2JRxEYtJbszzytGm+FpSwxq1GVDWd W31Kdc+cfh3MQHRTtaQTEFD/scqQeJRWOYk2AI73uO4tyVDSUHUqDTuyov1DuUOShTXs FNewVczMKraQy5ieMkwAqBTfx8gw1q73yUTlyKscnUJzepw8WuDstv7voOI9WeS0Y6wo LLjItjdnQETiOeg/8LoPRpSUJ0+yWJ6I70FoKfD0XG6oTtEgmDzD0XtnjYTdgj4z6Fj2 BPlbw8FrxoZESEtNrwQ1m4FMSWi2EQ02ma+WZ2zTdLakLeoT+ZYYjykwbh2TP6B+/6uM KsEw== X-Gm-Message-State: AC+VfDzduE9xJWnfCGqoC2TzlLqO6ZTxai43fCAyaz4PwevSADrPnkFN gQIFuGbVoYqJClskeAipS8idRNGAw0A= X-Google-Smtp-Source: ACHHUZ4WB+E5cBIKW1tnRk/aZbn7/Y+pOJRKFtDiHZAOMBQhp/shnODbTBAa+GzJXnzx3Qc+JfP8wA== X-Received: by 2002:ac2:5b05:0:b0:4f6:2b29:b446 with SMTP id v5-20020ac25b05000000b004f62b29b446mr8674306lfn.21.1687329251922; Tue, 20 Jun 2023 23:34:11 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id r15-20020a5d52cf000000b0030af72bca98sm3553471wrv.103.2023.06.20.23.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 23:34:11 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 21 Jun 2023 07:33:51 +0100 Message-Id: <7d556d4c0c947db22be23a14ad98a3d6740ca1ad.1687302523.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.40.1 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687329478; 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=Qbq0tEvY0cNedPrsPRB5dWdAT7RX5I8iWuD2Tem7jJE=; b=Eo3JLF54jpMj0wOXc+u/FTho3fguk7XRke04zFzwt/D356sgbz8pU9qQUUmXddq6ofhuYH 8SKDPURnQpgdrO5sGp5BMPa4JHOxhTSpk+g9vQwy5XbHxehBRPbDFeA91T5OzuZErF6hbc 4SNJT7xf7I69fqedGvUcb5xexYl29wGgkPXSj3dZ3wxUVK0w6rdLyUaIRyi1B6tPMb9pcB 4wR1pP3uXwFXx/FOeY13h3w4uf3HrvzcaQx060NyrOBaxGjDR7a0vMpASAz2n4ihieIRI2 nUaZqobvYQB30NHnZu8XhWU3Q1O1oTod5p+aqBWCcMZGqvKAqVkIrJrwfrAUKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=ZheHm+2R; 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=1687329478; a=rsa-sha256; cv=none; b=lHJYDhGxM0or1fMYTWQn5ich9YtlwQAgFLJ27dgA/uHzFCVt1Ab1E+f80QsHolmC1e33iC OOa0CWA9xROL9htB2csmlyjSsKDWfd9xkJc6VHujHy9aY2xrxTldUgHJEeE3X0mK1aPI2Z 0O2mGTMacq3KN0r2X7llBur1o8eMExuBZ5bW5lxRFMOevaCODsyjIUPWnigM8jLwLGsSSQ rLzDxobTz/Ikb7OW5DnA1almyOKI6HwZB3bCQTFKCVH73t3lemP+DIjInW4Cmfcv+n0AxW LvB/X9W84v4PqVy5f6XUpo0juUepMi2xucTjLKQTHCGlNecsuqNNtkZHVWk3iA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=ZheHm+2R; 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" X-Migadu-Queue-Id: 8533112EBD X-Spam-Score: -0.65 X-TUID: trGRqjlQdl4d * gnu/packages/astronomy.scm (python-fitsio): Enable tests. [build-system]: Swap to pyproject-build-system. [arguments]: Add new phase 'tests-preparation --- gnu/packages/astronomy.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f841005fa0..a26eacef75 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -481,7 +481,7 @@ (define-public python-fitsio (delete-file-recursively "cfitsio3490") (substitute* "MANIFEST.in" (("recursive-include cfitsio3490.*$\n") "")))))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases @@ -498,7 +498,10 @@ (define-public python-fitsio (("self.system_fitsio_libdir = None") "pass") (("self.use_system_fitsio") "True") (("self.system_fitsio_includedir") includedir) - (("self.system_fitsio_libdir") libdir)))))))) + (("self.system_fitsio_libdir") libdir))))) + (add-before 'check 'tests-preparation + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs (list python-pytest)) (inputs -- 2.40.1