* [bug#59978] [PATCH 2/6] gnu: cfitsio: Build with bzip2 support.
2022-12-11 22:25 ` [bug#59978] [PATCH 1/6] gnu: cfitsio: Update to 4.2.0 Sharlatan Hellseher
@ 2022-12-11 22:25 ` Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 3/6] gnu: python-fitsio: Update to 1.1.8 Sharlatan Hellseher
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Sharlatan Hellseher @ 2022-12-11 22:25 UTC (permalink / raw)
To: 59978; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (cfitsio):
[arguments](configure-flags): Add bzip2 option.
[inputs]: Add bzip2.
---
gnu/packages/astronomy.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 8d9cce5158..794e5ca2b9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -368,6 +368,8 @@ (define-public cfitsio
(build-system gnu-build-system)
(arguments
(list
+ #:configure-flags
+ #~(list (string-append "--with-bzip2=" #$(this-package-input "bzip2")))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
@@ -384,7 +386,7 @@ (define-public cfitsio
(invoke "diff" "-r" "testprog.lis" "testprog.out")
(invoke "cmp" "-l" "testprog.fit" "testprog.std")))))))
(native-inputs (list gfortran))
- (inputs (list curl zlib))
+ (inputs (list bzip2 curl zlib))
(home-page "https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html")
(synopsis "Library for reading and writing FITS files")
(description "CFITSIO provides simple high-level routines for reading and
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#59978] [PATCH 3/6] gnu: python-fitsio: Update to 1.1.8.
2022-12-11 22:25 ` [bug#59978] [PATCH 1/6] gnu: cfitsio: Update to 4.2.0 Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 2/6] gnu: cfitsio: Build with bzip2 support Sharlatan Hellseher
@ 2022-12-11 22:25 ` Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 4/6] gnu: wcslib: Update to 7.12 Sharlatan Hellseher
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Sharlatan Hellseher @ 2022-12-11 22:25 UTC (permalink / raw)
To: 59978; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-fitsio): Update to 1.1.8.
[arguments]{phases}: skip-bzip2-test remove redundant phase as cfitsio
built with bzip2 support.
[inputs]: Add curl-minimal.
---
gnu/packages/astronomy.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 794e5ca2b9..5ce94a1f07 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -400,13 +400,13 @@ (define-public cfitsio
(define-public python-fitsio
(package
(name "python-fitsio")
- (version "1.1.7")
+ (version "1.1.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "fitsio" version))
(sha256
- (base32 "0q8siijys9kmjnqvyipjgh6hkhf4fwvr1swhsf4if211i9b0m1xy"))
+ (base32 "1y80hgvlkjz1bijfyb2j03853yc1kc63yrf9ab7as31ad2r6kxb1"))
(modules '((guix build utils)))
(snippet
;; Remove the bundled cfitsio
@@ -430,13 +430,8 @@ (define-public python-fitsio
(("self.system_fitsio_libdir = None") "pass")
(("self.use_system_fitsio") "True")
(("self.system_fitsio_includedir") includedir)
- (("self.system_fitsio_libdir") libdir)))))
- (add-after 'unpack 'skip-bzip2-test
- (lambda* (#:key inputs #:allow-other-keys)
- ;; The bzip2 test fails because Guix' cfitsio
- ;; is built without bzip2 support.
- (substitute* "fitsio/test.py"
- (("'SKIP_BZIP_TEST' in os.environ") "True")))))))
+ (("self.system_fitsio_libdir") libdir))))))))
+ (inputs (list curl-minimal))
(propagated-inputs
(list python-numpy cfitsio))
(home-page "https://github.com/esheldon/fitsio")
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#59978] [PATCH 4/6] gnu: wcslib: Update to 7.12.
2022-12-11 22:25 ` [bug#59978] [PATCH 1/6] gnu: cfitsio: Update to 4.2.0 Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 2/6] gnu: cfitsio: Build with bzip2 support Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 3/6] gnu: python-fitsio: Update to 1.1.8 Sharlatan Hellseher
@ 2022-12-11 22:25 ` Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 5/6] gnu: python-astropy: Update to 5.1.1 Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 6/6] gnu: indi: Update to 1.9.9 Sharlatan Hellseher
4 siblings, 0 replies; 10+ messages in thread
From: Sharlatan Hellseher @ 2022-12-11 22:25 UTC (permalink / raw)
To: 59978; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (wcslib): Update to 7.12.
[arguments]: Use Gexp, enable parallel tests.
---
gnu/packages/astronomy.scm | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5ce94a1f07..1876b0cde0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -525,7 +525,7 @@ (define-public eye
(define-public wcslib
(package
(name "wcslib")
- (version "7.5")
+ (version "7.12")
(source
(origin
(method url-fetch)
@@ -533,26 +533,26 @@ (define-public wcslib
"ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-" version
".tar.bz2"))
(sha256
- (base32 "1536gmcpm6pckn9xrb6j8s4pm1vryjhzvhfaj9wx3jwxcpbdy0dw"))))
+ (base32 "1m3bx6gh5w3c7vvsqcki0x20mg8lilg13m0i8nh7za89w58dxy4w"))))
(inputs
(list cfitsio))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags
- (list (string-append "--with-cfitsiolib="
- (assoc-ref %build-inputs "cfitsio") "/lib")
- (string-append "--with-cfitsioinc="
- (assoc-ref %build-inputs "cfitsio") "/include"))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-/bin/sh
- (lambda _
- (substitute* "makedefs.in"
- (("/bin/sh") "sh"))
- #t))
- (delete 'install-license-files)) ; installed by ‘make install’
- ;; Parallel execution of the test suite is not supported.
- #:parallel-tests? #f))
+ (list
+ #:configure-flags
+ #~(list (string-append "--with-cfitsiolib="
+ #$(this-package-input "cfitsio") "/lib")
+ (string-append "--with-cfitsioinc="
+ #$(this-package-input "cfitsio") "/include"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'install-license-files) ; installed by ‘make install’
+ (add-before 'configure 'patch-/bin/sh
+ (lambda _
+ (substitute* "makedefs.in"
+ (("/bin/sh") "sh")))))))
+ ;; TODO: Fix build with gfortran and pack missing optional pgplot.
+ ;; (inputs (list gfortran pgplot))
(home-page "https://www.atnf.csiro.au/people/mcalabre/WCS")
(synopsis "Library which implements the FITS WCS standard")
(description "The FITS \"World Coordinate System\" (@dfn{WCS}) standard
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#59978] [PATCH 5/6] gnu: python-astropy: Update to 5.1.1.
2022-12-11 22:25 ` [bug#59978] [PATCH 1/6] gnu: cfitsio: Update to 4.2.0 Sharlatan Hellseher
` (2 preceding siblings ...)
2022-12-11 22:25 ` [bug#59978] [PATCH 4/6] gnu: wcslib: Update to 7.12 Sharlatan Hellseher
@ 2022-12-11 22:25 ` Sharlatan Hellseher
2022-12-11 22:25 ` [bug#59978] [PATCH 6/6] gnu: indi: Update to 1.9.9 Sharlatan Hellseher
4 siblings, 0 replies; 10+ messages in thread
From: Sharlatan Hellseher @ 2022-12-11 22:25 UTC (permalink / raw)
To: 59978; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (python-astropy): Update to 5.1.1.
[source]{snippet}: Unbundle wcslib.
[arguments]{phases}: preparations: Use all system libraries.
[inputs]: Add wcslib.
---
gnu/packages/astronomy.scm | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1876b0cde0..030ae9b4ea 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -982,25 +982,23 @@ (define-public celestia-gtk
(define-public python-astropy
(package
(name "python-astropy")
- (version "5.1")
+ (version "5.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "astropy" version))
(sha256
- (base32 "0zkv3ddzlxx21i796azfbqxrqnsxn83vsczscv577iyzxp3v5c8x"))
+ (base32 "10dxjim60ch4qznqa5s63q936mkvy95p0k26kcwzv43hmybdcjxs"))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove Python bundles.
(with-directory-excursion "astropy/extern"
(for-each delete-file-recursively '("ply" "configobj")))
- ;; Remove cextern bundles and leave the wcslib bundle. Astropy
- ;; upgrades to different versions of wcslib every few releases
- ;; and tests break every upgrade.
- ;; TODO: unbundle wcslib.
+ ;; Remove cextern bundles. Check bundled versions against available
+ ;; in Guix in the future update of astropy.
(with-directory-excursion "cextern"
- (for-each delete-file-recursively '("cfitsio" "expat")))
+ (for-each delete-file-recursively '("cfitsio" "expat" "wcslib")))
#t))))
(build-system python-build-system)
(arguments
@@ -1008,10 +1006,8 @@ (define-public python-astropy
(modify-phases %standard-phases
(add-after 'unpack 'preparations
(lambda _
- ;; Use our own libraries in place of bundles, with the
- ;; exception of wcslib.
- (setenv "ASTROPY_USE_SYSTEM_CFITSIO" "1")
- (setenv "ASTROPY_USE_SYSTEM_EXPAT" "1")
+ ;; Use our own libraries in place of bundles.
+ (setenv "ASTROPY_USE_SYSTEM_ALL" "1")
;; Some tests require a writable home.
(setenv "HOME" "/tmp")
;; Relax xfail tests.
@@ -1058,7 +1054,7 @@ (define-public python-astropy
python-sgp4
python-skyfield))
(inputs
- (list cfitsio expat))
+ (list cfitsio expat wcslib))
(propagated-inputs
(list python-configobj
python-numpy
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#59978] [PATCH 6/6] gnu: indi: Update to 1.9.9.
2022-12-11 22:25 ` [bug#59978] [PATCH 1/6] gnu: cfitsio: Update to 4.2.0 Sharlatan Hellseher
` (3 preceding siblings ...)
2022-12-11 22:25 ` [bug#59978] [PATCH 5/6] gnu: python-astropy: Update to 5.1.1 Sharlatan Hellseher
@ 2022-12-11 22:25 ` Sharlatan Hellseher
4 siblings, 0 replies; 10+ messages in thread
From: Sharlatan Hellseher @ 2022-12-11 22:25 UTC (permalink / raw)
To: 59978; +Cc: Sharlatan Hellseher
* gnu/packages/astronomy.scm (indi): Update to 1.9.9.
[arguments]{tests}: Silent test on aarch64-linux system.
[inputs]: Add libev.
---
gnu/packages/astronomy.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 030ae9b4ea..6ddddc358d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -47,6 +47,7 @@ (define-module (gnu packages astronomy)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libusb)
#:use-module (gnu packages lua)
#:use-module (gnu packages maths)
@@ -1978,7 +1979,7 @@ (define-public imppg
(define-public indi
(package
(name "indi")
- (version "1.9.3")
+ (version "1.9.9")
(source
(origin
(method git-fetch)
@@ -1987,10 +1988,12 @@ (define-public indi
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0c7md288d3g2vf0m1ai6x2l4j4rmlasc4rya92phvd4ynf8vcki2"))))
+ (base32 "1vfcas59nlw8v7n6qhxhcm4isf5wk0crip5rmsallq3bsv3zznfr"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
+ ;; TODO: fix failing tests on aarch64-system.
+ `(#:tests? ,(not (or (%current-target-system) (target-aarch64?)))
+ #:configure-flags
(let ((out (assoc-ref %outputs "out")))
(list
"-DINDI_BUILD_UNITTESTS=ON"
@@ -2015,6 +2018,7 @@ (define-public indi
curl
fftw
gsl
+ libev
libjpeg-turbo
libnova
libtiff
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread