From patchwork Fri Jan 14 23:40:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 36357 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 C130F27BBEA; Fri, 14 Jan 2022 23:43:00 +0000 (GMT) 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 8963927BBE9 for ; Fri, 14 Jan 2022 23:43:00 +0000 (GMT) Received: from localhost ([::1]:57576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8WDj-0004LP-Kn for patchwork@mira.cbaines.net; Fri, 14 Jan 2022 18:42:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8WBu-0002f3-06 for guix-patches@gnu.org; Fri, 14 Jan 2022 18:41:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8WBs-00077X-Dh for guix-patches@gnu.org; Fri, 14 Jan 2022 18:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8WBs-0003aJ-Cq for guix-patches@gnu.org; Fri, 14 Jan 2022 18:41:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51765] [PATCH 6/6] gnu: Add gwcs Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 23:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51765@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 51765-submit@debbugs.gnu.org id=B51765.164220364413700 (code B ref 51765); Fri, 14 Jan 2022 23:41:04 +0000 Received: (at 51765) by debbugs.gnu.org; 14 Jan 2022 23:40:44 +0000 Received: from localhost ([127.0.0.1]:38569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8WBX-0003Yo-RY for submit@debbugs.gnu.org; Fri, 14 Jan 2022 18:40:44 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:44875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8WBQ-0003Xa-Jf for 51765@debbugs.gnu.org; Fri, 14 Jan 2022 18:40:37 -0500 Received: by mail-wm1-f53.google.com with SMTP id f141-20020a1c1f93000000b003497aec3f86so8412528wmf.3 for <51765@debbugs.gnu.org>; Fri, 14 Jan 2022 15:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ueTot1MQSG6MiZZR59pDgIoOceI2A+RvOQNHgwKomig=; b=mxQVNcR2Gr5aApZvydMEQLCFs6TWMiGhBbaWNUc0ZSD6u5Ic+svFE0lYvuakBNc422 b+xfFdX+fyagkAjBGVkHKLmD2CkGTCEbOav2NLcHDZFKQmOUHaCOt9iuMlw9xcT+a6Gz 3U+mtRSemt9oabh5jw2+5RK2aN1cfp/gc6pU6qDWP0kOcFcOq6kMw6zaOWeQBbKA5buk 3bECvTIOmMQ2ecsX+5OjrTjWrpQbOgqTuk6A6IkzR8BLIAeUrH/Gi4FrBT5EYVsc1j3Q B2S/cOxscXuebhfEUGgCTHAhgXmADBM3hZ4G469TphIknKlDxzWV0sCpXS0+pjQu0hRx FCvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ueTot1MQSG6MiZZR59pDgIoOceI2A+RvOQNHgwKomig=; b=yvro1aYgaN/TbhKFNuzidSLsZhGaa8tf4QTfTrekh4y1TypR0gPCwo6xUJSRFnLx6j HeqsEQa7OGoZvzXShQ1qWvUKuzA0dMqe8ceTDdbtwVmd0K2Hkd52Ueud7InQr2TffTTD SQvOFMfH5yKA/pa5BBphrFVCZGnvu4MRHnsk9nfmTbphjtSzoTuI7YAXs7wVakKMl8Eu EUUnpmiXmV9cT0LcBV46u6D/DnrAhNcL/r3UDMB/GcRx6yGRZ1Oy6CALbofigzomhhTG 81zZkqZPr5k1PJDFiJ3PAgQINY7F3QZ1ZwTg+b8qiQCjdZr1ckNnXpS5m3+8+EkJC5FQ ggbA== X-Gm-Message-State: AOAM5335zPgQ32mgcZZPw13RW7YED7ou6Bt4cCtDGS47zOmCVuxNkTol zSscr1sKO3tRp3nKr03Hd7jTSWmOq/I= X-Google-Smtp-Source: ABdhPJxcaSIHB+b5HfcV9hooK6nLi/r1aZq+Fe6aexW4h3NR43uj7+U5RFt5ZCslE+9EtMt8wcri4w== X-Received: by 2002:adf:d1c2:: with SMTP id b2mr4996413wrd.365.1642203631060; Fri, 14 Jan 2022 15:40:31 -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 e13sm6576965wrw.3.2022.01.14.15.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 15:40:30 -0800 (PST) From: Sharlatan Hellseher Date: Fri, 14 Jan 2022 23:40:25 +0000 Message-Id: <20220114234025.18817-6-sharlatanus@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220114234025.18817-1-sharlatanus@gmail.com> References: <20220114234025.18817-1-sharlatanus@gmail.com> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/astronomy.scm: (python-gwcs): New variable. --- gnu/packages/astronomy.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index b025b86736..60dd968838 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1487,3 +1487,49 @@ (define-public python-skyfield "Skyfield computes positions for the stars, planets, and satellites in orbit around the Earth.") (license license:expat))) + +(define-public python-gwcs + (package + (name "python-gwcs") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gwcs" version)) + (sha256 + (base32 "194j49m8xjjzv9pp8cnj06igz8sdxb0nphyybcc7mhigw0f0kr30")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (native-inputs + (list python-jsonschema + python-jmespath + python-pytest + python-pytest-doctestplus + python-pyyaml + python-semantic-version + python-setuptools-scm)) + (propagated-inputs + (list python-asdf + python-asdf-astropy + python-astropy + python-asdf-wcs-schemas + python-numpy + python-scipy)) + (home-page "https://gwcs.readthedocs.io/en/latest/") + (synopsis "Generalized World Coordinate System") + (description + "Generalized World Coordinate System (GWCS) is an Astropy affiliated package +providing tools for managing the World Coordinate System of astronomical data. + +GWCS takes a general approach to the problem of expressing transformations +between pixel and world coordinates. It supports a data model which includes the +entire transformation pipeline from input coordinates (detector by default) to +world coordinates. It is tightly integrated with Astropy.") + (license license:bsd-3)))