all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 51765@debbugs.gnu.org
Subject: [bug#51765]
Date: Tue, 4 Jan 2022 21:40:25 +0000	[thread overview]
Message-ID: <CAO+9K5ppuXudxk3WD7as99+q8AC06CGJY6v_VHLzYkGtkVh1iw@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5ppbo8uz8xn1uD6G5x30MHbu4afGGg7HU8eGLOmMo3K9w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0004-gnu-asdf-wcs-schemas-Enable-tests.patch --]
[-- Type: text/x-patch, Size: 2225 bytes --]

From 8ab774217a93cf0d4cc1995ee97f1485e168a2b6 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Tue, 4 Jan 2022 21:10:55 +0000
Subject: [PATCH 4/5] gnu: asdf-wcs-schemas: Enable tests

* gnu/packages/astronomy.scm: (python-asdf-wcs-schemas): Enable tests.
  [native-inputs]: Add python-pytest.
  [inputs]->[propagated-inputs]: To allow this package to be used as
  library input.
---
 gnu/packages/astronomy.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dc3a6accb6..5538f77f16 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1346,22 +1346,24 @@ (define-public python-asdf-wcs-schemas
         (base32 "0khyab9mnf2lv755as8kwhk3lqqpd3f4291ny3b9yp3ik86fzhz1"))))
     (build-system python-build-system)
     (arguments
-     ;; FIXME: (Sharlatan-20211229T155217+0000): tox can't find setuptools,
-     ;; check if running tests with tox is still required.
-     (list #:tests? #f))
+     `(#: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-semantic-version
+     (list python-pytest
            python-setuptools-scm
-           python-tox))
-    (inputs
+           python-semantic-version))
+    (propagated-inputs
      (list python-asdf))
     (home-page "https://github.com/asdf-format/asdf-wcs-schemas")
     (synopsis "ASDF WCS Schemas")
-    (description "World Coordinate System (WCS) as the Advanced Scientific Data
-Format (ASDF) schemas")
-    ;; FIXME: (Sharlatan-20220102T211658+0000): Check the lisense type
-    ;; Copyright (C) 2021 Association of Universities for Research in Astronomy (AURA)
-    ;; https://github.com/asdf-format/asdf-wcs-schemas/blob/main/LICENSE
+    (description
+     "This package provides ASDF schemas for validating World Coordinate
+System (WCS) tags.")
     (license license:bsd-3)))
 
 (define-public python-asdf-astropy
-- 
2.34.0


  parent reply	other threads:[~2022-01-04 21:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 13:17 [bug#51765] [PATCH]: gnu: Add python-gwcs Sharlatan Hellseher
2021-12-26 19:01 ` [bug#51765] Sharlatan Hellseher
2021-12-26 19:55 ` [bug#51765] [PATCH]: gnu: Add python-gwcs Mathieu Othacehe
2021-12-26 20:47   ` Sharlatan Hellseher
2021-12-26 20:55     ` Mathieu Othacehe
2022-01-02 22:48       ` Sharlatan Hellseher
2022-01-02 22:48 ` [bug#51765] Sharlatan Hellseher
2022-01-02 22:48 ` [bug#51765] Sharlatan Hellseher
2022-01-04  2:41   ` [bug#51765] Vinicius Monego
2022-01-04 21:39     ` [bug#51765] Sharlatan Hellseher
2022-01-04 23:01       ` [bug#51765] Vinicius Monego
2022-01-14 23:40         ` [bug#51765] Sharlatan Hellseher
2022-01-02 22:48 ` [bug#51765] Sharlatan Hellseher
2022-01-02 22:49 ` [bug#51765] Sharlatan Hellseher
2022-01-02 22:49 ` [bug#51765] Sharlatan Hellseher
2022-01-02 22:49 ` [bug#51765] Sharlatan Hellseher
2022-01-04 21:39 ` [bug#51765] Sharlatan Hellseher
2022-01-04 21:40 ` [bug#51765] Sharlatan Hellseher
2022-01-04 21:40 ` [bug#51765] Sharlatan Hellseher
2022-01-04 21:40 ` Sharlatan Hellseher [this message]
2022-01-04 21:40 ` [bug#51765] Sharlatan Hellseher
2022-01-14 23:40 ` [bug#51765] [PATCH 1/6] gnu: python-asdf: Update to 2.8.3 Sharlatan Hellseher
2022-01-14 23:40   ` [bug#51765] [PATCH 2/6] gnu: Add asdf-transform-schemas Sharlatan Hellseher
2022-01-14 23:40   ` [bug#51765] [PATCH 3/6] gnu: Add asdf-coordinates-schemas Sharlatan Hellseher
2022-01-14 23:40   ` [bug#51765] [PATCH 4/6] gnu: Add asdf-astropy Sharlatan Hellseher
2022-01-14 23:40   ` [bug#51765] [PATCH 5/6] gnu: Add asdf-wcs-schemas Sharlatan Hellseher
2022-01-14 23:40   ` [bug#51765] [PATCH 6/6] gnu: Add gwcs Sharlatan Hellseher
2022-01-30 15:07   ` bug#51765: [PATCH 1/6] gnu: python-asdf: Update to 2.8.3 Vinicius Monego

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

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

  git send-email \
    --in-reply-to=CAO+9K5ppuXudxk3WD7as99+q8AC06CGJY6v_VHLzYkGtkVh1iw@mail.gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=51765@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.