From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WChAMO1m2mFeHAAAgWs5BA (envelope-from ) for ; Sun, 09 Jan 2022 05:39:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wKziKO1m2mE5jgAAG6o9tA (envelope-from ) for ; Sun, 09 Jan 2022 05:39:09 +0100 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 6C158224E1 for ; Sun, 9 Jan 2022 05:39:09 +0100 (CET) Received: from localhost ([::1]:43208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6Pz2-0000rS-LI for larch@yhetil.org; Sat, 08 Jan 2022 23:39:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6Pyw-0000q5-Ve for guix-patches@gnu.org; Sat, 08 Jan 2022 23:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6Pyw-0004Dl-NR for guix-patches@gnu.org; Sat, 08 Jan 2022 23:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6Pyw-00081e-KU for guix-patches@gnu.org; Sat, 08 Jan 2022 23:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53135] [PATCH 4/5] gnu: Add python-photutils. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Jan 2022 04:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53135 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53135@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 53135-submit@debbugs.gnu.org id=B53135.164170313930829 (code B ref 53135); Sun, 09 Jan 2022 04:39:02 +0000 Received: (at 53135) by debbugs.gnu.org; 9 Jan 2022 04:38:59 +0000 Received: from localhost ([127.0.0.1]:49077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Pys-000819-M8 for submit@debbugs.gnu.org; Sat, 08 Jan 2022 23:38:58 -0500 Received: from mout02.posteo.de ([185.67.36.66]:47253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6Pyr-00080g-A8 for 53135@debbugs.gnu.org; Sat, 08 Jan 2022 23:38:57 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AD5CB240101 for <53135@debbugs.gnu.org>; Sun, 9 Jan 2022 05:38:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641703131; bh=/E2V/tUXSHcgpY6sQMxEkiDig0/IlX8ChCfHUHpGvQU=; h=From:To:Cc:Subject:Date:From; b=pv1yPIf1Nv4n+BKcIRZHEhCID2I1mYPkoJGwarjZTg3TiLDxFb9oVcQamtmdhhefn PZ66Qf6Pgj8RDl5Gb8Wp9nWa4kFvQvk6hvctdsoQNi68UjUxWM8Pw1K5G2ykDHNqby QHa2t+9lTt7oCfqRs4LjPO7kTIxKzNFFPOgcAtFWa+pwjR27aXCriw1gV2ESNVoLq6 Si+vSMUu2kEGOH+sGEKG6pgn19JZ9VdeH2st7c6l/I6bDBADIUoTsxB0ovqLwVJ38r Ko20KYcJwAMzFSSfGK987EHgRQKM8BZPQvZnGr56V/WUZ2rNmL3EckLi/GWQxum4XB p4L2qpsFVfXEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JWkk25y08z9rxP; Sun, 9 Jan 2022 05:38:50 +0100 (CET) From: Vinicius Monego Date: Sun, 9 Jan 2022 04:38:40 +0000 Message-Id: <20220109043841.28296-2-monego@posteo.net> In-Reply-To: <20220109043841.28296-1-monego@posteo.net> References: <20220109043841.28296-1-monego@posteo.net> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641703149; 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=5yya02hhBQiA2mvV/zy8zy28mcU9edpEEP+xmvra57I=; b=X8FhjR0gch/yxuenYwPgA+jHRCO45P9kfK+5jRKbN3wbkwQWaaUdvVk2yg4C923lBSt496 Q3IkimRtYOpMLta2D6HRqoMv9mF3RtC2LjqV1msb9cbMS5R42tAoCZBtkj7lhkLuclcTZk EhOQIPI6vBhZBnO1aqzQ0hwHjIoyxEfg2DIlJwDRIW8FU/wSeJOmHQs5+WEPH9B5/GCwog 7R3XeSA1XSi+I+JxBVlmXMQT40W0p3VVVH22ptRasgID7bRMetuJMqfxtjrG3yt9/RIKbC lS61WtHnxu+fa/bbO1bWcuJdUmYZhQkFkjJKSRk0ObydcN4O1qdcjrbt7ecfvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641703149; a=rsa-sha256; cv=none; b=InwVxRtRe0yxcu7HL1rGaj3+PT1rfaO0keVBHDisJgbIU8ELE3eVJYsvueGOYzm/+bP5ZC fVOWNDlsOU/QcYyJeTGoypL1PPFuzdGOzQ5/A2H5DpdLpwkbc8tRY5wzOdtzMGEkyimr05 yPV3HbPhKiN3n6z/Y6DWG3uScvPAojNxbtS77MIo/zHKM1OHwBnMrPkMUanP6TaW0TtJCu zQjjsgJQya6IXwEzbFBt5r2vWCpHi3IofdPn/oix9ydo/hHr5tOyaVS5JjH/ya2kQKU3r5 aO+JURZG1cbJQQnjlfDhwwnFLT8YT6My/p7HDoI4jnhz3dU41bD0kOJclVdYog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pv1yPIf1; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pv1yPIf1; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 6C158224E1 X-Spam-Score: -2.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: 95DoKBWrh3Et * gnu/packages/astronomy.scm (python-photutils): New variable. --- gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 1573003c7e..20961e1436 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -789,6 +789,40 @@ astronomy and astrophysics.") to access online Astronomical data. Each web service has its own sub-package.") (license license:bsd-3))) +(define-public python-photutils + (package + (name "python-photutils") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "photutils" version)) + (sha256 + (base32 "1a8djakaya6w5iv9237gkcz39brqzgrfs2wqrl0izi1s85cfdymn")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest" + #:phases + (modify-phases %standard-phases + ;; This file is opened in both install and check phases. + (add-before 'install 'writable-compiler + (lambda _ (make-file-writable "photutils/_compiler.c"))) + (add-before 'check 'writable-compiler + (lambda _ (make-file-writable "photutils/_compiler.c")))))) + (propagated-inputs + (list python-astropy python-numpy)) + (native-inputs + (list python-cython + python-extension-helpers + python-pytest-astropy + python-pytest-runner + python-setuptools-scm)) + (home-page "https://github.com/astropy/photutils") + (synopsis "Source detection and photometry") + (description "Photutils is an Astropy package for detection and photometry +of astronomical sources.") + (license license:bsd-3))) + (define-public python-pyvo (package (name "python-pyvo") -- 2.30.2