From patchwork Mon May 20 22:12:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 64744 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 9247427BBEA; Mon, 20 May 2024 23:15:38 +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 0E54D27BBE2 for ; Mon, 20 May 2024 23:15:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9BHe-0006Vh-5N; Mon, 20 May 2024 18:15:06 -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 1s9BHW-0006O6-OJ for guix-patches@gnu.org; Mon, 20 May 2024 18:14:59 -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 1s9BHV-0003pk-2P for guix-patches@gnu.org; Mon, 20 May 2024 18:14:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9BHZ-0002RE-R6; Mon, 20 May 2024 18:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71084] [PATCH 01/26] gnu: python-sep: 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: Mon, 20 May 2024 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71084 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71084@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 71084-submit@debbugs.gnu.org id=B71084.17162432629097 (code B ref 71084); Mon, 20 May 2024 22:15:01 +0000 Received: (at 71084) by debbugs.gnu.org; 20 May 2024 22:14:22 +0000 Received: from localhost ([127.0.0.1]:45091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9BGv-0002MR-Jj for submit@debbugs.gnu.org; Mon, 20 May 2024 18:14:22 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:55494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9BGs-0002M9-K6 for 71084@debbugs.gnu.org; Mon, 20 May 2024 18:14:19 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-420180b5898so25168795e9.2 for <71084@debbugs.gnu.org>; Mon, 20 May 2024 15:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716243188; x=1716847988; 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=o7x7vgUskqIONpHyfmeFlCsdxVP8OknKCPT/31kPTMo=; b=ORJ2cFhLkZ2iiUoG9phxGdcLDqMOOSavYyPnhxyenE0DmCp4MWP6KUh3v7No7ypK8l iA5S2dOE81uqUtdhB1o0okCdIobDa3KyHwsIgi/KDgyHbdk1a/cJ82kz6M1EFU3YtN6o xRfJ+7jI1324FnvTPF/CgDu1hUUb8Bt+4qGDphja+MQ6mU+GUMM8iNDhWf8ys5QX5xVJ NQ0mue69U6l9M7u/uPmh7ercr3Zez6pSpJ9z6YFQtspzTu6zmIPiPHouF7C0XWMTbZQJ SmBWK2ynNRqrvjS8S/XnR35gcfkJuA5KuaKiA20bUSzKVf0OLW2AxkLdKHf+yHOOJB22 7w3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716243188; x=1716847988; 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=o7x7vgUskqIONpHyfmeFlCsdxVP8OknKCPT/31kPTMo=; b=STJ8vXVLnVQ2EdMG9APnuf/AomxYLOvM8YViipyq5uQgO3DkKKmzHp/ZG0/+4LWfQ5 /E/64bxlW43FyWk5ZAubCfuUVkzmzc7h5MWWzcXffdP1ObQALqHjAyaGYl8VwxoY2KaN 4a1dXFEXRhgxB6UnjLhyDNgMvQjeGdEZYlpRqGHCPBZ74yAdZoChN6Y4DzO7NCajC6mb uGZ/Ks0sHx8tMH4uo484DrXpLJGnZb1CtU6nPa75RT8tIvhHcDMJMO6PQtQPtzBgN3Ob aaMvojnQJqSZShrBOVgmPLf3VjQksR5HuySeupJAJdNv9Qv6ZgG7sNIqPqFFdeIS8Yeb VuFQ== X-Gm-Message-State: AOJu0YyTd41St3wzogl9wmxqGWeutZX5+VWKNze2fR13GBMMYmu1UeHQ JUVzhGYqXmnhaHIgcq5VluiQjcKa6AyR9qTQoaNe0v/qbICo030S+OxQV/Jc X-Google-Smtp-Source: AGHT+IFlm+4yylSnkn+Py0yQ1Q4cOPHBk7G3aWn39TFvBTo5+6bpoY1KU9MIW/8QMllAPMLYFbLYfQ== X-Received: by 2002:a05:600c:4689:b0:420:509:714f with SMTP id 5b1f17b1804b1-4200509728bmr217079975e9.14.1716243187769; Mon, 20 May 2024 15:13:07 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4200a8e6846sm376793855e9.15.2024.05.20.15.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:13:07 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 20 May 2024 23:12:28 +0100 Message-ID: <6d0c28a75a18978079a6c0b6c5848015c366e891.1716242563.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 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-sep): Refresh package style. [package]: Swap to package/inherit. [build-system]: Swap to pyproject-build-system. [arguments]: <#:test-flags>: Activate tests for Python. [native-inputs]: Do not modify inherited inputs, override instead. Add python-pytest. [propagated-inputs]: Override inputs. [synopsis]: Add Python specific synopsis. Change-Id: I86f68972eb51e9d546bcba6ee4f33de726c022e2 --- gnu/packages/astronomy.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 3701a7e90c..62100c4c51 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4472,19 +4472,16 @@ (define-public python-pysynphot (license license:bsd-3)))) (define-public python-sep - (package - (inherit libsep) + (package/inherit libsep (name "python-sep") - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - (strip-keyword-arguments - '(#:make-flags) (package-arguments libsep))) + (list #:test-flags #~(list "test.py"))) (native-inputs - (modify-inputs (package-inputs libsep) - (prepend python-cython))) + (list python-cython python-pytest)) (propagated-inputs - (modify-inputs (package-inputs libsep) - (prepend python-numpy))))) + (list python-numpy)) + (synopsis "Python library for Source Extraction and Photometry"))) (define-public python-suntime (package