unofficial mirror of guix-patches@gnu.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:16 +0000	[thread overview]
Message-ID: <CAO+9K5rVqFiT77zAYUanqRDumBtp9LDZAuX4ycjUpoJ9dHU9Ww@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5ppbo8uz8xn1uD6G5x30MHbu4afGGg7HU8eGLOmMo3K9w@mail.gmail.com>

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

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

[-- Attachment #2: 0003-gnu-asdf-astropy-Enable-tests.patch --]
[-- Type: text/x-patch, Size: 2324 bytes --]

From 31ec5424f918fd0fef27181b3ce9e5772ae8e303 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Tue, 4 Jan 2022 20:50:08 +0000
Subject: [PATCH 3/5] gnu: asdf-astropy: Enable tests

* gnu/packages/astronomy.scm: (python-asdf-astropy): Enable tests.
  [native-inputs]: Add python-h5py, python-matplotlib, python-pandas,
  python-scipy. Remove python-tox.
  [description]: Extand description string.
---
 gnu/packages/astronomy.scm | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b3d6a85240..dc3a6accb6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1376,16 +1376,22 @@ (define-public python-asdf-astropy
         (base32 "0bzgah7gskvnz6jcrzipvzixv8k2jzjkskqwxngzwp4nxgjbcvi4"))))
     (build-system python-build-system)
     (arguments
-     (list
-      ;; NOTE: (Sharlatan-20211229T161056+0000): tests require tox and failing
-      ;; after not finding setuptools_scm when enabled.
-      #: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-coverage
+           python-h5py
+           python-matplotlib
+           python-pandas
            python-pytest-astropy
+           python-scipy
            python-semantic-version
-           python-setuptools-scm
-           python-tox))
+           python-setuptools-scm))
     (propagated-inputs
      (list python-asdf
            python-asdf-coordinates-schemas
@@ -1395,8 +1401,9 @@ (define-public python-asdf-astropy
            python-packaging))
     (home-page "https://github.com/astropy/asdf-astropy")
     (synopsis "ASDF serialization support for astropy")
-    (description "ASDF serialization support for astropy")
-    ;; Copyright (C) 2021 Association of Universities for Research in Astronomy (AURA)
+    (description
+     "This package includes plugins that provide ASDF serialization support for
+astropy objects.")
     (license license:bsd-3)))
 
 (define-public python-astroalign
-- 
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 ` Sharlatan Hellseher [this message]
2022-01-04 21:40 ` [bug#51765] Sharlatan Hellseher
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

  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=CAO+9K5rVqFiT77zAYUanqRDumBtp9LDZAuX4ycjUpoJ9dHU9Ww@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 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).