unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 66412@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>,
	Efraim Flashner <efraim@flashner.co.il>,
	Eric Bavier <bavier@posteo.net>
Subject: [bug#66412] [PATCH 13/20] gnu: python-stcal: Update to 1.4.4.
Date: Mon,  9 Oct 2023 00:40:15 +0100	[thread overview]
Message-ID: <3ee635cd2c7b5f8c137221b246a9e66c2a90a2e1.1696804840.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1696804840.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-stcal): Update to 1.4.4.
[arguments]{phases}: Add 'build-extensions phase.
[native-inputs]: Add python-cython.
---
 gnu/packages/astronomy.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ddaec8b463..2a32b4e182 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2544,22 +2544,28 @@ (define-public python-stsci-stimage
 (define-public python-stcal
   (package
     (name "python-stcal")
-    (version "1.4.2")
+    (version "1.4.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "stcal" version))
               (sha256
                (base32
-                "163vyqcd9qv2knf8jik8y449z7ljl2lvbd7im82bq61prgi3z2hj"))))
+                "031ldihdmsdrwz4wl49bfk2bxmzbp1i3kidrw46xz936765zmnc0"))))
     (build-system pyproject-build-system)
     (arguments
      (list #:phases #~(modify-phases %standard-phases
                         ;; XXX: Can't detect opencv-python version. The input
                         ;; opencv might not set the version correctly.
-                        (delete 'sanity-check))))
+                        (delete 'sanity-check)
+                        (add-before 'check 'build-extensions
+                          (lambda _
+                            ;; Cython extensions have to be built before
+                            ;; running the tests.
+                            (invoke "python" "setup.py" "build_ext" "--inplace"))))))
     (propagated-inputs (list opencv ;Provides OpenCV-Python
                              python-astropy python-numpy python-scipy))
-    (native-inputs (list python-psutil
+    (native-inputs (list python-cython
+                         python-psutil
                          python-pytest
                          python-pytest-cov
                          python-pytest-doctestplus
-- 
2.41.0





  parent reply	other threads:[~2023-10-08 20:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-08 22:46 [bug#66412] [PATCH 00/20] gnu: Astronomy 2023/09 updates Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 01/20] gnu: siril: Update to 1.2.0 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 02/20] gnu: stellarium: Update to 23.3 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 03/20] gnu: calceph: Update to 3.5.3 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 04/20] gnu: python-gwcs: Update to 0.19.0 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 05/20] gnu: python-jplephem: Update to 2.19 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 06/20] gnu: python-jplephem: Improve package style Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 07/20] gnu: python-reproject: Update to 0.12.0 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 08/20] gnu: python-drizzle: Update to 1.14.3 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 09/20] gnu: python-drizzle: Update package style Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 10/20] gnu: python-crds: Update to 11.17.6 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 11/20] gnu: python-cdflib: Update to 1.2.1 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 12/20] gnu: python-jwst: Update to 1.12.3 Sharlatan Hellseher
2023-10-08 23:40 ` Sharlatan Hellseher [this message]
2023-10-08 23:40 ` [bug#66412] [PATCH 14/20] gnu: python-stcal: Update package style Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 15/20] gnu: python-stdatamodels: Update to 1.8.3 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 16/20] gnu: python-stdatamodels: Update packages style Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 17/20] gnu: python-stpipe: Update to 0.5.1 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 18/20] gnu: python-sunpy: Update to 5.0.1 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 19/20] gnu: python-tweakwcs: Update to 0.8.3 Sharlatan Hellseher
2023-10-08 23:40 ` [bug#66412] [PATCH 20/20] gnu: indi: Update to 2.0.4 Sharlatan Hellseher
2023-10-10  0:20 ` [bug#66412] Sharlatan Hellseher
2023-10-11 12:50 ` [bug#66412] [PATCH 00/20] gnu: Astronomy 2023/09 updates 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=3ee635cd2c7b5f8c137221b246a9e66c2a90a2e1.1696804840.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=66412@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=efraim@flashner.co.il \
    /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).