From patchwork Tue May 30 19:58:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50498 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 8D71B27BBE2; Tue, 30 May 2023 21:01:13 +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=unavailable 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 A65D527BBE9 for ; Tue, 30 May 2023 21:01:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q45Vm-00035J-Bh; Tue, 30 May 2023 16:00: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 1q45Vk-00034b-Tf for guix-patches@gnu.org; Tue, 30 May 2023 16:00:04 -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 1q45Vk-0006aH-Ix for guix-patches@gnu.org; Tue, 30 May 2023 16:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q45Vk-00011K-D9; Tue, 30 May 2023 16:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 04/18] gnu: Add python-stsci-image. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: bavier@posteo.net, guix-patches@gnu.org Resent-Date: Tue, 30 May 2023 20:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63806 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63806@debbugs.gnu.org Cc: Sharlatan Hellseher , Eric Bavier X-Debbugs-Original-Xcc: Eric Bavier Received: via spool by 63806-submit@debbugs.gnu.org id=B63806.16854767493642 (code B ref 63806); Tue, 30 May 2023 20:00:04 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:09 +0000 Received: from localhost ([127.0.0.1]:34221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Uq-0000wa-R8 for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:09 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:60818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Un-0000v3-P5 for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:06 -0400 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-30ae5f2ac94so3355870f8f.1 for <63806@debbugs.gnu.org>; Tue, 30 May 2023 12:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685476740; x=1688068740; 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=HpGPkwyVcmDI0htalKZrPsD2P8+xdhNwpKxYnRYpf6g=; b=LlSzFdZW/fTMkvgyfzpDqcb997E4NeQllR2vjz0opQtPnTjGyAks2l0EalvsJtnM24 6kEj1nuS6p/Ndf7+HrcYidozGhER8nxt9Ckyz54i4Svy15L/1D29VZoao3Xz2tJ/ctkn l9w4fKIfYb14spUdYQ4kbIWe9SgsJZch1fUjphxziDO7b3yg9ghTsWfy/vp9hs4ruA/l Fdrq82ynjpdCwzq90si2jlc3XQL72fK5ghYikhcSh7LB1SNI1fi/6dbD1BdEM4fUTv8r h4D6grzF29/JUzXGitqkF5QwYu+dlzqzbmZxbdSTXaz8Vy1EZWkBVRrkKU82C2mXuopY KjlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476740; x=1688068740; 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=HpGPkwyVcmDI0htalKZrPsD2P8+xdhNwpKxYnRYpf6g=; b=bSRXjQKuav7hbonjyjaHgizVmNw1CxCphqdgmHnzvBALFkfrONNpXR0onJLFWIYfl9 KwLWph+2aHzdYLOExuAcY7U97+Y97MByZoEZFB+dfOHrVTC7ExobMuMzR019tRz/I2SX 2Pxq0HSx5rXnUlVXsR6wKRblcnZ7RKo99Ba+dYK15czLrGFn5wmK3bn01FGnX53G+/+e V/4I2OA8WrWY/LXIMzQxV9qvqbmenL/LeoW6CBRwXxQis1B2rvSRa/owfMens7uunz+r 4pJ13OkEMGnqIBE+6QT5Ys4cnDH5ac2bd2w5+RQkCOSza8NWohyDdCpV3YeDCkcnAgZe gHqg== X-Gm-Message-State: AC+VfDzXNkIIb7m9OhZdRQ90NTbQsnESOIXzGilo70gONvBgKkkm2vSX 4svOWK/7vWUWmBvsoS4YZ2/qniR0brU= X-Google-Smtp-Source: ACHHUZ7fkXjezN3gXhgfuWp4CwpKv07rYTQGSyCA/tzmxKLtxsMbUQaoFXN/DJC/DuRTRiCkTLw6Zg== X-Received: by 2002:adf:db4b:0:b0:2f4:170:3807 with SMTP id f11-20020adfdb4b000000b002f401703807mr2542893wrj.44.1685476739809; Tue, 30 May 2023 12:58:59 -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 j18-20020a5d4492000000b002ffbf2213d4sm4271460wrq.75.2023.05.30.12.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:58:59 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:34 +0100 Message-Id: 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-stsci-image): New variable. --- gnu/packages/astronomy.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 231a4cf58b..e2a8796149 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2045,6 +2045,34 @@ (define-public python-spherical-geometry ;; QD_LIBRARY_LICENSE.rst for bandeled QD source (license license:bsd-3))) +(define-public python-stsci-image + (package + (name "python-stsci-image") + (version "2.3.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "stsci.image" version)) + (sha256 + (base32 + "1vnp4256nbdvapa69cmm80sjz11ygxa49abr9nbvssj6nyyp5icb")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'check 'build-extensions + (lambda _ + ;; Cython extensions have to be built before running + ;; the tests. + (invoke "python" "setup.py" "build_ext" + "--inplace")))))) + (propagated-inputs (list python-numpy python-scipy)) + (native-inputs (list python-pytest python-setuptools-scm)) + (home-page "https://github.com/spacetelescope/stsci.image") + (synopsis "Image array manipulation functions") + (description + "This package provides Python modules of @acronym{STScI, Space Telescope Science +Institute} image array manipulation functions") + (license license:bsd-3))) + (define-public libnova (package (name "libnova")