From patchwork Wed Jun 21 06:33:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 51130 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 778B327BBEE; Wed, 21 Jun 2023 07:37:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 93C6A27BBE9 for ; Wed, 21 Jun 2023 07:37:58 +0100 (BST) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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