From patchwork Tue May 30 19:58:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50497 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 716B927BBEA; Tue, 30 May 2023 21:01:06 +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 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 D8FF627BBE2 for ; Tue, 30 May 2023 21:01:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q45Vv-0003AR-PQ; Tue, 30 May 2023 16:00:15 -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 1q45Vr-000395-Ee for guix-patches@gnu.org; Tue, 30 May 2023 16:00:11 -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 1q45Vr-0006eT-2r for guix-patches@gnu.org; Tue, 30 May 2023 16:00:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q45Vq-00013F-Uy; Tue, 30 May 2023 16:00:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 17/18] gnu: Add python-stcal. 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:10 +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.16854767823832 (code B ref 63806); Tue, 30 May 2023 20:00:10 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:42 +0000 Received: from localhost ([127.0.0.1]:34257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45VO-0000ze-1L for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:42 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:44491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Uw-0000wy-Mb for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:15 -0400 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-30aef0499b6so1816158f8f.1 for <63806@debbugs.gnu.org>; Tue, 30 May 2023 12:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685476749; x=1688068749; 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=xjQd6Mlur8FLJ7e5aXX9VkWmak7oMbtDCz2t3bmE1sk=; b=dPaS+lvokcwLwU054BqKxpgG2FuLfDa+zyTaFjgpT15mZTpI/7bfqGKw0nXiGzoApG cAFQPdz0b8EzbCSB6D2fRfJYZ3tjbEdkJHicKFbaI3p+UuZ0BkKsTRf1L+eZPWp4isBC 6xpQ0nwUWHUDzYgSmQHCgUoeXaEq1dftF2g1LHJxqQRTGHDs55wpS0b4iuTasUsJYk1l dpJfFHODJijYhw+GrNIaidvcq+KpWa4EzBKuhdNPs2sLYdNeIfWKIkwXoNzEt//8ZFQG EPq2YbRjeahcKq8ZHM1HOhBrnA4raZt2xmMxkdjT5eExdwkuIyT2yHRAg0upSZrN9Z78 0iMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476749; x=1688068749; 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=xjQd6Mlur8FLJ7e5aXX9VkWmak7oMbtDCz2t3bmE1sk=; b=VzqYHlfoEXlgXXvlmpIBtb++Z0YULIIQMSCNKLPS/K3y8//OKGZj/CKmsIzd8gG/0J XgJfcz2lnZ9rOMJ6+S3tKL3Ua+P3crDtcIq1++7uDyB+8WYgSRGWFc+GMMhzfN/h5diV 5r9jAD+hXVbN03JU0LP2oXOY+R8LGZYaK8Dt9NE/CpA/ZtZ1Cf2QGfXJ3nip8Dk9mnjv 7CZOR8X8I8Bn5QIjeuyvejbwr2HE30xEHZDVtiw5IknBvV8/WeQEH/+HZUQQiILTIx+i 9Hjh2rHRrdQ8OtO3NZhNDxjEOJUlaSq7dOE4Lb4M/yt0C7V2NOYiM4SagalUh+OhiYSo ODQA== X-Gm-Message-State: AC+VfDwcEmyqV10vuaznNg8+8HjBzZLfe4CZsqaMdYFwdUE/0v50EmOU lQz0/rvqEnDIK6wwEKnaEm3N9/CKVuQ= X-Google-Smtp-Source: ACHHUZ6mk6o9LkdH7/mKBlJ1M+YupRsl5H/ps/CLLIDgmqFuUM9bXlr0/vF7OCOIfMeXjdR2l8pZBQ== X-Received: by 2002:adf:ed0c:0:b0:303:2583:9635 with SMTP id a12-20020adfed0c000000b0030325839635mr2243996wro.20.1685476749072; Tue, 30 May 2023 12:59:09 -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.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:59:08 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:47 +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-stcal): New variable. --- gnu/packages/astronomy.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 26a67670b4..475362c8bb 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2250,6 +2250,35 @@ (define-public python-stsci-stimage image processing functions: @code{xyxymatch}, @code{geomap}.") (license license:bsd-3))) +(define-public python-stcal + (package + (name "python-stcal") + (version "1.3.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "stcal" version)) + (sha256 + (base32 + "0yy0pwi3krvhxfby6nzgpgyz5il3sl1j29ihbk81dh9fdh3ys2n9")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + ;; XXX: Can't detect opencv-python version. The input + ;; opencv might not set the version correctly. + (delete 'sanity-check)))) + (propagated-inputs (list opencv ;Provides OpenCV-Python + python-astropy python-numpy python-scipy)) + (native-inputs (list python-psutil + python-pytest + python-pytest-cov + python-pytest-doctestplus + python-pytest-openfiles + python-setuptools-scm)) + (home-page "https://github.com/spacetelescope/stcal") + (synopsis "STScI tools and algorithms used in calibration pipelines") + (description "STScI tools and algorithms used in calibration pipelines") + (license license:bsd-3))) + (define-public python-stdatamodels (package (name "python-stdatamodels")