From patchwork Tue Feb 20 23:43:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 60853 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 2028527BBE2; Tue, 20 Feb 2024 23:47:27 +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_H4,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 721E927BBF5 for ; Tue, 20 Feb 2024 23:47:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcZox-0007tv-E0; Tue, 20 Feb 2024 18:46:43 -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 1rcZo1-0007GW-B0 for guix-patches@gnu.org; Tue, 20 Feb 2024 18:45:46 -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 1rcZo1-0000F7-2J for guix-patches@gnu.org; Tue, 20 Feb 2024 18:45:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rcZoL-0000XX-GE; Tue, 20 Feb 2024 18:46:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69295] [PATCH 09/46] gnu: Add python-astropy-iers-data. 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:46:05 +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.17084727451746 (code B ref 69295); Tue, 20 Feb 2024 23:46:05 +0000 Received: (at 69295) by debbugs.gnu.org; 20 Feb 2024 23:45:45 +0000 Received: from localhost ([127.0.0.1]:47010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcZo0-0000Rv-L5 for submit@debbugs.gnu.org; Tue, 20 Feb 2024 18:45:45 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:42378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcZnn-0000OG-Rd for 69295@debbugs.gnu.org; Tue, 20 Feb 2024 18:45:33 -0500 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-412698cdd77so13743875e9.1 for <69295@debbugs.gnu.org>; Tue, 20 Feb 2024 15:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708472644; x=1709077444; 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=AgwLi8s55jnyaUHgX9UEEdBkVjpohzebHFs9/4IKA+Q=; b=XaNg17U5OS4dKLmM9Kp23YBJPdkoF5kq9Hyc9XYavlQXff5t6dzX6tOKu06wsZwwdS 17dQm9Utosr1U3xHm4bnrxBiXzobveeeo1lNXVbhnUd86sNerL6mV4B/4OOJduO0+OHF ti9UKaEJjxnz0rK6Ok6GtNWmsyODh/WLtIiwU3cqacFLT5LyQSPTx1KsFmtHpyZ+joUv p0GehBnumEfT0LDjsiX12icP0bBZKhbM4flxcFhWrULkEq2ByiKIoKjYPYYqSP0DEdDB +Hl+/MGSolWyeskBS5syMOya11ceJUa4rESeucXnMMpTEBghLmO5MmvYcdwS4ctoIy3f R7Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708472644; x=1709077444; 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=AgwLi8s55jnyaUHgX9UEEdBkVjpohzebHFs9/4IKA+Q=; b=s1aO0g1ODlJ6UnQKe+MGiIJYgHFjeGMJPO7FHal0riUiJ/dIuMnfkWAmqAEobxqp9E q0gN17ARFG+oujgTUCSReu19trmaxhk5wmflryNWhIY4XnepXEpBjvVJfsSKo8w5Bmid b/KvBEAdGaUDEXq9iHwa4SlQ6WmmTE8euRqr9JjBVXcfpwzUhdoazUYUFtnt7ZyljV5l WkU7u1SUvI5uciUlOWjBHiQTc2Mah18QX9FYxgFRNBHe5jnQTKYXXLvQzJ+R3IxoHgYF WsYTssutQwE46YyC/5xoym8XplnRy06XJhIQSiq0l19ybEDevSdvz3WsAiXEUXZEFBm1 asbg== X-Gm-Message-State: AOJu0YxVRaQpylm/eA3yJQEP6rvPOCs/Lih0AeBsRvBK1d6kWHarbBst qTMw+os9R3p5T8pQCt0abWKDFHjduIfd/NEvmuZw9OfbRksPLID8sRBnraN3nFTtbw== X-Google-Smtp-Source: AGHT+IGkWSqaFFA91UswiGBIugRWDrmO9JmizICC7Bf36rzF7eZHGtHrtKgQD45Ije9fvA5W2FfwIQ== X-Received: by 2002:a05:600c:46ca:b0:412:52bd:5632 with SMTP id q10-20020a05600c46ca00b0041252bd5632mr10040147wmo.20.1708472644282; Tue, 20 Feb 2024 15:44:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 15:44:03 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 20 Feb 2024 23:43:07 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 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-astropy-iers-data): New variable. Change-Id: Idd2e099013a4c6a6a28fc3dc8aa656bb58b3d697 --- gnu/packages/astronomy.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5919393869..45394a7070 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1616,6 +1616,50 @@ (define-public python-astropy-healpix (description "This package provides HEALPix to the Astropy project.") (license license:bsd-3))) +(define-public python-astropy-iers-data + (package + (name "python-astropy-iers-data") + ;; In case of changing the source method git-fetch, consider to check the + ;; tag as it's not following the PyPI version, see + ;; . + (version "0.2024.2.19.0.28.47") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astropy-iers-data" version)) + (sha256 + (base32 "0j42hkl8z42x5n3aacld9cvacjzg79lqsivm3xn6bv1gjgy69br9")))) + (build-system pyproject-build-system) + (arguments + (list + ;; Dependencies cycle wit python-astropy, see + ;; . + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-env-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (native-inputs + (list python-hypothesis + python-pytest + python-pytest-remotedata + python-setuptools-scm)) + (home-page "https://docs.astropy.org/en/latest/utils/iers.html") + (synopsis "IERS Earth Rotation and Leap Second tables for the astropy core package") + (description + "The @code{iers} package provides access to the tables provided by the +@acronym{International Earth Rotation and Reference Systems, IERS} service, in +particular the +@url{https://www.iers.org/IERS/EN/DataProducts/EarthOrientationData/eop.html, +Earth Orientation data} allowing interpolation of published UT1-UTC and polar +motion values for given times. The UT1-UTC values are used in +@url{https://docs.astropy.org/en/latest/time/index.html#astropy-time, Time and +Dates (astropy.time)} to provide UT1 values, and the polar motions are used in +@code{astropy.coordinates} to determine Earth orientation for +celestial-to-terrestrial coordinate transformations.") + (license license:bsd-3))) + (define-public python-astroquery (package (name "python-astroquery")