From patchwork Fri Feb 19 22:44:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 27150 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 6580A27BC49; Fri, 19 Feb 2021 22:45:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F217627BC48 for ; Fri, 19 Feb 2021 22:45:09 +0000 (GMT) Received: from localhost ([::1]:43502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDEWL-0000fS-62 for patchwork@mira.cbaines.net; Fri, 19 Feb 2021 17:45:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDEWE-0000fJ-7z for guix-patches@gnu.org; Fri, 19 Feb 2021 17:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDEWD-00085i-V3 for guix-patches@gnu.org; Fri, 19 Feb 2021 17:45:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDEWD-0000SQ-St for guix-patches@gnu.org; Fri, 19 Feb 2021 17:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46648] [PATCH 1/1] gnu: Add asdf (Advanced Scientific Data Format) Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Feb 2021 22:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46648 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46648@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16137746721706 (code B ref -1); Fri, 19 Feb 2021 22:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2021 22:44:32 +0000 Received: from localhost ([127.0.0.1]:50594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDEVj-0000RS-Tl for submit@debbugs.gnu.org; Fri, 19 Feb 2021 17:44:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:45110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDEVg-0000RG-9V for submit@debbugs.gnu.org; Fri, 19 Feb 2021 17:44:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDEVg-0000e2-16 for guix-patches@gnu.org; Fri, 19 Feb 2021 17:44:28 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:41840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDEVd-0007nk-6A for guix-patches@gnu.org; Fri, 19 Feb 2021 17:44:27 -0500 Received: by mail-wr1-x434.google.com with SMTP id a4so8436656wro.8 for ; Fri, 19 Feb 2021 14:44:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=owS1It9pGS61a9/j0pO1xEuXLTWyT6fxCeYKxRdW6ag=; b=IgOUDbAeKxX9YEc2nQ/aqEMjs1gPh7ijA0g1lPrdhZAv65hiV47eeOzg2XzeuhHcEa bXNM2n6ak7ZJ+HqDJOL9gtc0/2gZCNDMB0/C+FvpcLHjDe9l6o9AOisuoxYL/U4V8kx0 YVgkJY+rwmHZsSIg4m6d7/oxfdcSyxcVXDpzvb0O2C9bcpYGInMXgAZu0+1gw6aAX78g +cBi+uez3baVrR47GPNXTqFwHRo+0tmVwmsqEW1i+Io0+Irl/763y7BHoB0t3YMZP2Bz nmRQ6dkVAorJ/Zkay0nU8UTk2j8OMNEpnAqDjQdv4A8MO671UMmRwQJhkdUysRLKjxPp Azjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=owS1It9pGS61a9/j0pO1xEuXLTWyT6fxCeYKxRdW6ag=; b=RUQZKqc92TrOmx3TlOcWlvhDn2K+zRVhz1QKvbQC8p38T0hujx8N8so0y9VxzomFjs JYRCsnldHeqWZ3DWvGzTd80+Ybd9I+Ev1mI7QBP4XX86+5HGxboU+f6VQJ8zPP061JQV 39zmoM9wMAkq0mvsXmiwkDWTr+VvdlrxDrgbV1HB9v32fJddjaEmQQ9v4fnF11GTa3Fc woVD18S7ruI8ZP0Ej9kqmWDUaETyhv1BowALYT5SOQx8zwaaEXaklN9VecUOgAiOagIi /b7VKNIjt+qhIEfiIoXPHjhsvTBIfDqiTOuJYX2ndPRhb6nULcw+psi4AneXpUEzpL7V ZgAg== X-Gm-Message-State: AOAM5337cfRHh8asF0menMVd6WbFgDGiXOj5SGw12Nl4Hpk7IjLVAzKI 0AiGJujfECyqkCztvdIKqrEk9n3cjE5AB31mLKCj6xa9 X-Google-Smtp-Source: ABdhPJwHHCioI3dNERXYo4TlSUT+zlhZRopAopxMUWzPFITrEQkNi5SlOUv7LhTnNd7FNKUCInDTLswzJSiP3iE4Zx8= X-Received: by 2002:adf:e802:: with SMTP id o2mr11078753wrm.133.1613774663683; Fri, 19 Feb 2021 14:44:23 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Fri, 19 Feb 2021 22:44:13 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 From c652a2585b109f6bde9d801ccb70835ef6935c7b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Feb 2021 22:41:42 +0000 Subject: [PATCH] gnu: Add asdf (Advanced Scientific Data Format) * gnu/packages/astronomy.scm (python-asdf): New variable --- gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index d1022ee5da..38f76b7c81 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -948,6 +948,38 @@ of stand-alone functions and classes.") license:expat license:lgpl3+)))) +(define-public python-asdf + (package + (name "python-asdf") + (version "2.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asdf" version)) + (sha256 + (base32 "1y47zhkd90i8wmm2i35amfl0rvjqlb3fcx90xp7n9kr2z0byzyzg")))) + (build-system python-build-system) + (arguments + ;; TODO: (Sharlatan-20210207T165820+0000): Tests depend on astropy, astropy + ;; depends on asdf. Disable circular dependence. + `(#:tests? #f)) + (native-inputs + `(("setuptools-scm" ,python-setuptools-scm) + ("semantic-version" ,python-semantic-version) + ("packaging" ,python-packaging))) + (inputs + `(("importlib-resources" ,python-importlib-resources) + ("jsonschema" ,python-jsonschema) + ("numpy" ,python-numpy) + ("pyyaml" ,python-pyyaml))) + (home-page "http://github.com/asdf-format/asdf") + (synopsis "Python tools to handle ASDF files") + (description + "The Advanced Scientific Data Format (ASDF) is a next-generation +interchange format for scientific data. This package contains the Python +implementation of the ASDF Standard.") + (license license:bsd-3))) + (define-public python-astroalign (package (name "python-astroalign") -- 2.30.0