From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MO4iMgo61WV/ywAA62LTzQ:P1 (envelope-from ) for ; Wed, 21 Feb 2024 00:47:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MO4iMgo61WV/ywAA62LTzQ (envelope-from ) for ; Wed, 21 Feb 2024 00:47:22 +0100 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=Y6caYtuy; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708472842; 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=kpDNytUP2OXPmcuJt8KOsukH3i2BGs+2QI/OsaQprvE=; b=p+X+zB7Xd7XR9d6dUnX2LEo6NQjht0ua4Alg9VVLqaUQ2X1ztSVcmKu2f7h8RkUCkJKD/E kBwaJuDZbXQUboxogatYbLyBMOLNcXOx51YnZmHnQMifOInjgDaGxtmQSYlKfQqylnFGGY 6rDW5q/3cIWvYV2NWLuS9LqSDN9An3w0Wj6zQOQxgEXh6WJ07J8MME92KCmoaL7uMRomiA RQ4fXmXCNRueh2gg75GweIWrS204x8B+Tq4vxX02YRUfjwLmPqEe2fjEfQW/AKjW1BI4aU VDc3FuwYkRYM35y5Zchxh6VD8VAzFdsLBiPUHs8sOyqHJoyp++DSty9vCl2YBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Y6caYtuy; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708472842; a=rsa-sha256; cv=none; b=RBk9A0PpPhM3TuHO+30/UOZp/EPHfKeZwPc609TvCsojqOYyXeyYkW8YHwgjQVyr5ZKASR pOjmZ9hYb8kpeOyohBZfPSYWpqcKJGIqxBPS8y4/x8wf1HXy3DNr3hB2pZkWyWcbEKl2cx zGBnb4o1xyoAbtjyISvejC2BzEnOWGDSbJTL7KS//1J8G/WuAPrEnDa1SufFzqMtelFtY9 nZT4jNdLlFF8b/NQ0t1ahyO9fTik1sL66nYSJrBmyYfgu8djUSmkNbnuLtpdKoB4pxKW/3 rtR75AT7qb7X6V9uwJu5cZ7LctkRW8b8x4iuh+QNExM0gAO8aUm2b9zZPwr03g== 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 6247A3B5F1 for ; Wed, 21 Feb 2024 00:47:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcZpK-0008Oo-AB; Tue, 20 Feb 2024 18:47:07 -0500 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 1rcZp3-000867-SK for guix-patches@gnu.org; Tue, 20 Feb 2024 18:46:52 -0500 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 1rcZp3-0000Ro-K3 for guix-patches@gnu.org; Tue, 20 Feb 2024 18:46:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rcZpP-0000hP-HH; Tue, 20 Feb 2024 18:47:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69295] [PATCH 43/46] gnu: Add python-ginga. 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: Tue, 20 Feb 2024 23:47:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69295@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 69295-submit@debbugs.gnu.org id=B69295.17084728252558 (code B ref 69295); Tue, 20 Feb 2024 23:47:11 +0000 Received: (at 69295) by debbugs.gnu.org; 20 Feb 2024 23:47:05 +0000 Received: from localhost ([127.0.0.1]:47232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcZpI-0000eu-VG for submit@debbugs.gnu.org; Tue, 20 Feb 2024 18:47:05 -0500 Received: from mail-wm1-f51.google.com ([209.85.128.51]:42383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcZoC-0000Tv-7P for 69295@debbugs.gnu.org; Tue, 20 Feb 2024 18:45:56 -0500 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-412698cdd77so13744805e9.1 for <69295@debbugs.gnu.org>; Tue, 20 Feb 2024 15:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708472668; x=1709077468; 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=kpDNytUP2OXPmcuJt8KOsukH3i2BGs+2QI/OsaQprvE=; b=Y6caYtuyoAF4bg/hS3wwmvkgtgiV8kaHLOLz6Ozz+skjs9nrUtZOITk/HopuAQU55T rdTnOH6R/r7x3+8XR7jUbyp1JLVKbDTDN8iwNcpsieXkNIwdVJ7Sual9pvTTRk/Yfyvx w6avSfbJqBz0O7/LP2AhDvJLaUINU6+zRMn9xoXBOLFGDLaN3u0skSjT42E04wtiVT8V W2p3o3enfXUJGXWY+UNIDpFK4tAEoU4SNao5bp/PoWYR7P8IPpLnQCcXgTSbut3RgxeQ fOkUBrEJUyxnJl8lc3vEzPwXCPagWOqTehk6UFRut2jNy9G3qfPv7CB/OjpOMEzMQGXj g4Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708472668; x=1709077468; 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=kpDNytUP2OXPmcuJt8KOsukH3i2BGs+2QI/OsaQprvE=; b=OSOXbI9Qu6+m+VM1IAI3Pe+08ddEaswmba6VDFiD8s8jfrQsnzQTzwIN9Q6UKH63Vv IAVz9Yu62C5PtwXaCG21qmK5+ru2e8ngoZpp5SRQQvAYfkeVCiLnUUzXvz25sJjYeP5b WebU9q2bIXvyMuxaYwY7vkeRBtr1ooFwlVCZuVIHMVEv3FM2QtJnsCbE9GwNnnlr6Zex i7uI+tJUSJfpFdLt2QILN4TNDgrQYY2195LGi4YU86mNPqek7cn3AHRMXz1M0BiA12xM xMFsG4vlhkvSUpiuH2SqT0aIG8jefmQSViRUCaElvnORyxwE5N2vgJqNMZ0OYj0hZrNE K5CQ== X-Gm-Message-State: AOJu0YwxZWOmLnFAVE59+yOfr2NsHDr9if+CJ9nKdpWn6gqCL+r8bS0V h/O970dDZMoqQRaqvpeRpmjHCNCJJOrgtsUdlb2No7yPL82BA2ms4R3cldcK/ouIjQ== X-Google-Smtp-Source: AGHT+IF2dw34dhxpF/Ogub2WWWIN9HyIN/7yJYZ+jh2OtzofaXW17EDpts7ntI9MHPxc/fiGH8BLlw== X-Received: by 2002:a05:600c:511b:b0:412:5652:138f with SMTP id o27-20020a05600c511b00b004125652138fmr10448218wms.16.1708472668633; Tue, 20 Feb 2024 15:44:28 -0800 (PST) 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 n22-20020a05600c4f9600b00411a6ce0f99sm16347385wmq.24.2024.02.20.15.44.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 15:44:28 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 20 Feb 2024 23:43:41 +0000 Message-ID: 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-Spam-Score: -3.88 X-Spam-Score: -3.88 X-Migadu-Queue-Id: 6247A3B5F1 X-Migadu-Scanner: mx11.migadu.com X-TUID: CJaalzYD+uIV * gnu/packages/astronomy.scm (python-ginga, ginga-qt5): New variables. Change-Id: I51358b4b64241c78f4bbc7fa16fdd2721ddc0d28 --- gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 03d43e5a06..282fd1ebb4 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -706,6 +706,63 @@ (define-public python-gatspy series in Python.") (license license:bsd-2))) +(define-public python-ginga + (package + (name "python-ginga") + (version "4.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ginga" version)) + (sha256 + (base32 "0w60w9d2yqhbmggp0dljj5a0sk07gywifjq8nzw3y2v47vzgwqb6")))) + (build-system pyproject-build-system) + (propagated-inputs + (list ;;python-exifread ; optional, not packed yet in Guix + python-astropy + python-astroquery + python-dateutil + python-magic + python-matplotlib + python-fitsio + python-numpy + python-photutils + python-pillow + python-qtpy + python-scipy)) + (native-inputs + (list python-attrs + python-docutils + python-pytest-astropy + python-semantic-version + python-tornado)) + (home-page "https://ejeschke.github.io/ginga/") + (synopsis "Scientific image viewer and toolkit for FITS files") + (description "Ginga is a toolkit designed for building viewers for +scientific image data in Python, visualizing 2D pixel data in numpy arrays. It +can view astronomical data such as contained in files based on the +FITS (Flexible Image Transport System) file format. It is written and is +maintained by software engineers at the National Astronomical Observatory of +Japan (NAOJ), the Space Telescope Science Institute (STScI), and other +contributing entities. + +The Ginga toolkit centers around an image display object which supports zooming +and panning, color and intensity mapping, a choice of several automatic cut +levels algorithms and canvases for plotting scalable geometric forms. In +addition to this widget, a general purpose \"reference\" FITS viewer is +provided, based on a plugin framework. A fairly complete set of standard plugins +are provided for features that we expect from a modern FITS viewer: panning and +zooming windows, star catalog access, cuts, star pick/FWHM, thumbnails, etc.") +(license license:bsd-3))) + +(define-public ginga-qt5 + (package/inherit python-ginga + (name "ginga-qt5") + (inputs + (modify-inputs (package-inputs python-ginga) + (prepend python-pyqt))) + (synopsis "Qt5 image viewer build based on python-ginga library"))) + (define-public qfits (package (name "qfits") -- 2.41.0