From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wErEDRqRaWNffgEAbAwnHQ (envelope-from ) for ; Tue, 08 Nov 2022 00:13:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2G1/DRqRaWO3iwAAauVa8A (envelope-from ) for ; Tue, 08 Nov 2022 00:13:30 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B26103F10F for ; Tue, 8 Nov 2022 00:13:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osBDo-00041u-Df; Mon, 07 Nov 2022 18:08:04 -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 1osBDm-0003wt-On for guix-patches@gnu.org; Mon, 07 Nov 2022 18:08:02 -0500 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 1osBDm-0001iS-Fy for guix-patches@gnu.org; Mon, 07 Nov 2022 18:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osBDm-0007HC-Bm for guix-patches@gnu.org; Mon, 07 Nov 2022 18:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59113] [PATCH 1/9] gnu: Add asdf-standard References: <20221107230238.27936-1-sharlatanus@gmail.com> In-Reply-To: <20221107230238.27936-1-sharlatanus@gmail.com> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Nov 2022 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59113 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59113@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 59113-submit@debbugs.gnu.org id=B59113.166786242827804 (code B ref 59113); Mon, 07 Nov 2022 23:08:02 +0000 Received: (at 59113) by debbugs.gnu.org; 7 Nov 2022 23:07:08 +0000 Received: from localhost ([127.0.0.1]:35665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osBCt-0007EO-R1 for submit@debbugs.gnu.org; Mon, 07 Nov 2022 18:07:08 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:53234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osBCs-0007Df-7B for 59113@debbugs.gnu.org; Mon, 07 Nov 2022 18:07:06 -0500 Received: by mail-wm1-f41.google.com with SMTP id o30so7772009wms.2 for <59113@debbugs.gnu.org>; Mon, 07 Nov 2022 15:07:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zsL1BFqLNCkFdQ23XiaN2EaIMLcZVwlgy/Xm55TGc4o=; b=SDcHFKvCPRCcCp/HcsptJnp6JFtibpceanwHYAxNePJjzxzYJIR+FKR+kU9dpKxz5r bfTQqvQ0ZGimChYjHuen5wjcrP1lPwAkREO5vhsp7r+sSn3GLCOvBJoS/fsHRD3bQV7v fAnNxTqKYXmG2NrXKQmtm0xkzonzxF1DNVPrM8GQxgP/d0Zvo3yt3IJ2+vUbsxiNAkGw hqEO3ckHyWXg2jKyEMwx4wLiUQ8NbKmDhp7nhyaP1KCDCkuflJowBHK5xCo8G5siQ3AD 6SALXEiXa2Lyo16/IqaY2rtdgGlofZ/D772bRmGa2Fi/1k0ymuCqN7yC0aG4z/oCezL8 VG+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zsL1BFqLNCkFdQ23XiaN2EaIMLcZVwlgy/Xm55TGc4o=; b=SiYoz43mFZIc+gRPPm8fxpmd8ANnSXn2Icw99wuP0c9JYrJIVyY85iaJSoJrDPbFZu P/xgDa7skFIi7seAjW1D6naqIBLt6im+78lmzRa50UwP6f87XkKJPJ1wUqWLAvK1s2WN wMZML39AoMKmhmRj15BQpJ27gd6lRyMqgf9wGMJT+LeOkxC5QZ68ZfVTpj0U1ONIZmcC N1gtGWMpl4xbHxUvkU8K29HcKe8XRTPMJ3a3zYCwdlkhFAMpmk5B1LwskpI+nXz9KR2C PLiudaG8czV7cXZZP39NjGzuvY69C1oXIOcBdwDABZJsCfn05y0Mf4moya/dpjdxdsAC m42A== X-Gm-Message-State: ACrzQf2u54yG4UOhs6FeQvEanBjkU+NPP2fIvvZ16YBTB5/59IPX31OF YFVOl5U0UKe64JeFnYKKR9nLTFQXL6M= X-Google-Smtp-Source: AMsMyM5xbEr5xp3y9FfEQg2DFvmQI93ckmDCX9fX0cNVPtDveoUqgqe+vAKmwI8mV0MGzFbXu68NDg== X-Received: by 2002:a1c:3841:0:b0:3cf:6d9a:7af4 with SMTP id f62-20020a1c3841000000b003cf6d9a7af4mr31209787wma.50.1667862420330; Mon, 07 Nov 2022 15:07:00 -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 b9-20020a05600003c900b0022e6178bd84sm8603425wrg.8.2022.11.07.15.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 15:06:59 -0800 (PST) From: Sharlatan Hellseher Date: Mon, 7 Nov 2022 23:06:48 +0000 Message-Id: <20221107230656.28187-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667862810; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zsL1BFqLNCkFdQ23XiaN2EaIMLcZVwlgy/Xm55TGc4o=; b=FQ2LKnJYPf3wJEBxIucMvK/YgJeICbbcg7AUHB+FhvqAiNkvdOlWzHFh3Mqh/4BX2Rz751 DZMFTucUeJy+V/a6071AK8u1V5wgsF4yenA4ku89TVTuvtXLlfkxPqsAa91emIMjCHc4ln 5O6JdMrHKB4B38O9oX9EeItMzzlqdl4hBfHGrPGqOQWWBSs+/vOuvnciL0SnhhNbQKuQwq QzqEJoUIPE/3moDaib6W9RqsYtYb6Yo8JSdqOH4AaZiiml01MeGK8UkRLXzQe/MB4yJCMD UTswEZUCM4p3/Iv14d5I7mUh17arcFx+F77ni7fhib53zEcwPh435ODvXMpNMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667862810; a=rsa-sha256; cv=none; b=ExAeuCOSe8zjKlFfK2s6hYAZEMvm6hltdlX92E4/UIDA1OGpEZ1Ytp7+WwZC9/emUzepMc dXSNw39lclr6+rB96IcxybM7L064n/LhLyiOVz1dXCbkVqe/37ifLCLmZi5itRRLaWRRbj BuL6tA7YOBTRdK6JGRlOTw+zkonrpzHIFVg/f+/3UgB0A7W7vBVFSpEAkROfN2CjWO5UQi eUEvwFeMbr0ASoNYTvhOaUepqAUH+AF/R2/FH+ImVeGSAoMCYlCLV8EXymNJ4KJVONGwcv IUiZlSskfA9oiDOsG/NSlUcjDKmMU6l+CBZh5sMVsbEGVamIocL/OeGAJI5xew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SDcHFKvC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SDcHFKvC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B26103F10F X-Spam-Score: 7.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: b/S36BqglKNX * gnu/packages/astronomy.scm (python-asdf-standard): New variable. --- gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index dd27f4e530..92a807a9a5 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -73,6 +73,7 @@ (define-module (gnu packages astronomy) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -1945,6 +1946,47 @@ (define-public python-asdf implementation of the ASDF Standard.") (license license:bsd-3))) +(define-public python-asdf-standard + (package + (name "python-asdf-standard") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asdf_standard" version)) + (sha256 + (base32 + "0i7xdjwn5prg2hcnf1zhw57mszc68jjr5sv4rimpzcg7f2dgzn5g")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'check 'remove-blocking-tests + (lambda _ + ;; Remove tests require python-asdf where + ;; python-asdf require python-asdf-standard, + ;; break circular dependencies. + (for-each delete-file + (list "tests/test_manifests.py" + "tests/test_integration.py"))))))) + (native-inputs (list python-astropy + python-jsonschema-next + python-pypa-build + python-pytest-7.1 + python-packaging + python-setuptools-scm)) + (propagated-inputs (list python-importlib-resources)) + (home-page "https://asdf-standard.readthedocs.io/") + (synopsis "ASDF standard schemas") + (description + "This package provides Python implementation of @acronym{ASDF, Advanced +Scientific Data Format} - a proposed next generation interchange format for +scientific data. ASDF aims to exist in the same middle ground that made FITS +so successful, by being a hybrid text and binary format: containing human +editable metadata for interchange, and raw binary data that is fast to load +and use. Unlike FITS, the metadata is highly structured and is designed +up-front for extensibility.") + (license license:bsd-3))) + (define python-asdf-transform-schemas (package (name "python-asdf-transform-schemas") -- 2.38.0