From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id eFZNDK/SS2YybwEAA41jLg (envelope-from ) for ; Tue, 21 May 2024 00:46:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eEHFA6/SS2YYmQAA62LTzQ (envelope-from ) for ; Tue, 21 May 2024 00:46:07 +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=ORJ2cFhL; 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=1716245167; a=rsa-sha256; cv=none; b=Ywfv1MJId0ELsOkHD0EJBq8lgoEUkPyc7ksDo9kVfU89TlUAudVGCvxt6UPcm9RgoUjPFU C5d+owka0LpvhuXJf9BM/M821wxsYtqRYonV7acZcz48j684y8NCx9t+XmcYV4ZABvNHWw 9wFAwrgB+9EAnwcddiwAcRCUCN3unN9GqZkqtyqv8mawZK/WYJY8ZkvozEMboAhwGm66YH hdZ+LkscafMLKdhENuCSNK9cpe4ttPmH0+6ANR5eOt5SKdPa7LkmPC898BDNmoBJxundxi 9KF61AoXiLcwiEMqMbZYqgH0JhF7F5h9G5lt0wX3h+9CE6DTzIki4ESy65h3gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ORJ2cFhL; 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=1716245167; 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=o7x7vgUskqIONpHyfmeFlCsdxVP8OknKCPT/31kPTMo=; b=auWkGr9Oxw784/QYTNIDrgzma6ViYPwVzgHhjFCp/+gzKSD670d/kTe6eLtTmodbHN6I8A KoIfzTXEpP0ai2SIRQIuX0ahly6GHEr4i5m2RHb0ofK7nahLDcc7lROx20vRC0DTM/sbvg 06McetZHJpBw1GvQA7o/mjGCbsZrd91VCYxLtJhRpIMryTqZ7Z0XF/aN95e89wi/SZDww/ I7PWef86rIo0C/uqR61JhX78MKafFWEl8n1Iz03lVAFZFNe3VDhLTamHEJPrUAccsK0rZC WBPFZXGUYtc2U/FXI8f5wnbPZGyygMc36LWYriQfIBtof16/+zRPH/0NRs+KCg== 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 9327213B14 for ; Tue, 21 May 2024 00:46:06 +0200 (CEST) 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 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-Queue-Id: 9327213B14 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 4.14 X-Spam-Score: 4.14 X-TUID: aydAa9IPaHnh * 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 -- 2.41.0