unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 59113@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#59113] [PATCH 4/9] gnu: Add asdf-time-schemas
Date: Mon,  7 Nov 2022 23:06:51 +0000	[thread overview]
Message-ID: <20221107230656.28187-4-sharlatanus@gmail.com> (raw)
In-Reply-To: <20221107230656.28187-1-sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-asdf-time-schemas): New variable.
---
 gnu/packages/astronomy.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b07bef73b8..ca1740f852 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2086,6 +2086,42 @@ (define python-asdf-fits-schemas
       (description "This package provides ASDF schemas for validating FITS tags.")
       (license license:bsd-3))))
 
+(define python-asdf-time-schemas
+  ;; TODO: No release, change to tag when it's ready.
+  (let ((commit "e9174083d9cfd3c6f7ded9eeb360d99ccb8d9d18")
+        (revision "2"))
+    (package
+      (name "python-asdf-time-schemas")
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/asdf-format/asdf-time-schemas")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1i40hcxp8sds2zq939fwczjlshfqb9r9pnzy3a44c3wqdbwhcbdb"))))
+      (build-system pyproject-build-system)
+      (arguments
+       (list
+        ;; Dependencies cycle with python-asdf
+        #:tests? #f
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-before 'build 'set-version
+              (lambda _
+                (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1"))))))
+      (native-inputs (list python-setuptools-scm))
+      (propagated-inputs (list python-asdf-standard
+                               python-asdf-unit-schemas
+                               python-importlib-resources))
+      (home-page "https://github.com/asdf-format/asdf-fits-schemas")
+      (synopsis "Schemas for storing time in ASDF")
+      (description "This package provides ASDF schemas for validating time tags.")
+      (license license:bsd-3))))
+
 (define python-asdf-unit-schemas
   (package
     (name "python-asdf-unit-schemas")
-- 
2.38.0





  parent reply	other threads:[~2022-11-07 23:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 23:02 [bug#59113] [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12 Sharlatan Hellseher
2022-11-07 23:06 ` [bug#59113] [PATCH 1/9] gnu: Add asdf-standard Sharlatan Hellseher
2022-11-07 23:06   ` [bug#59113] [PATCH 2/9] gnu: Add asdf-unit-schemas Sharlatan Hellseher
2022-11-07 23:06   ` [bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas Sharlatan Hellseher
2022-11-07 23:06   ` Sharlatan Hellseher [this message]
2022-11-07 23:06   ` [bug#59113] [PATCH 5/9] gnu: asdf-transform-schemas: Update to 0.3.0 Sharlatan Hellseher
2022-11-07 23:06   ` [bug#59113] [PATCH 6/9] gnu: python-asdf: Update to 2.13.0 Sharlatan Hellseher
2022-11-07 23:06   ` [bug#59113] [PATCH 7/9] gnu: python-asdf: Sync test disable comment Sharlatan Hellseher
2022-11-07 23:06   ` [bug#59113] [PATCH 8/9] gnu: asdf-astropy: Update to 0.2.2 Sharlatan Hellseher
2022-11-07 23:06   ` [bug#59113] [PATCH 9/9] gnu: gwcs: Fix build, update to 0.18.2 Sharlatan Hellseher
2022-11-18 22:50 ` [bug#59113] Sharlatan Hellseher
2022-11-20 10:02   ` [bug#59113] [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12 Christopher Baines
2022-11-20 18:10     ` Sharlatan Hellseher
2022-11-20 21:18       ` Sharlatan Hellseher
2022-11-20 22:42         ` Sharlatan Hellseher
2022-11-21 14:27       ` bug#59113: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221107230656.28187-4-sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=59113@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).