all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 64201@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#64201] [PATCH v2 02/22] gnu: sextractor: Use G-expressions.
Date: Thu, 27 Jul 2023 00:15:28 +0100	[thread overview]
Message-ID: <07e98fd519e9a37f785625b2cc99738426b11ff6.1690410490.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1690410490.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (sextractor): Use G-expressions.
[inputs]: Remove labels.
---
 gnu/packages/astronomy.scm | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4e03e2fcd6..26d4e9621d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -848,27 +848,26 @@ (define-public sextractor
     ;; build to use `openblas' instead. It requires FFTW with single precision
     ;; `fftwf'.
     (arguments
-     `(#:configure-flags
-       (list
-        "--enable-openblas"
-        (string-append
-         "--with-cfitsio-libdir=" (assoc-ref %build-inputs "cfitsio") "/lib")
-        (string-append
-         "--with-cfitsio-incdir=" (assoc-ref %build-inputs "cfitsio") "/include")
-        (string-append
-         "--with-openblas-libdir=" (assoc-ref %build-inputs "openblas") "/lib")
-        (string-append
-         "--with-openblas-incdir=" (assoc-ref %build-inputs "openblas") "/include")
-        (string-append
-         "--with-fftw-libdir=" (assoc-ref %build-inputs "fftw") "/lib")
-        (string-append
-         "--with-fftw-incdir=" (assoc-ref %build-inputs "fftw") "/include"))))
+     (list
+      #:configure-flags
+      #~(list
+         "--enable-openblas"
+         (string-append "--with-cfitsio-incdir="
+                        #$(this-package-input "cfitsio") "/include")
+         (string-append "--with-cfitsio-libdir="
+                        #$(this-package-input "cfitsio") "/lib")
+         (string-append "--with-fftw-incdir="
+                        #$(this-package-input "fftwf") "/include")
+         (string-append "--with-fftw-libdir="
+                        #$(this-package-input "fftwf") "/lib")
+         (string-append "--with-openblas-incdir="
+                        #$(this-package-input "openblas") "/include")
+         (string-append "--with-openblas-libdir="
+                        #$(this-package-input "openblas") "/lib"))))
     (native-inputs
      (list autoconf automake libtool))
     (inputs
-     `(("cfitsio" ,cfitsio)
-       ("openblas" ,openblas)
-       ("fftw" ,fftwf)))
+     (list cfitsio fftwf openblas))
     (home-page "https://www.astromatic.net/software/sextractor")
     (synopsis "Extract catalogs of sources from astronomical images")
     (description
-- 
2.40.1





  parent reply	other threads:[~2023-07-26 23:48 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21  6:28 [bug#64201] [PATCH 00/19] gnu: monthly astronomy packages update Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 01/20] gnu: sextractor: Update to 2.28.0, fix build Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 02/20] gnu: python-photutils: Update to 1.8.0 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 03/20] gnu: calceph: Update to 3.5.2 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 04/20] gnu: calcmysky: Update to 0.3.1 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 05/20] gnu: libxisf: Update to 0.2.8 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 06/20] gnu: splash: Update to 3.8.2 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 07/20] gnu: python-astropy: Update to 5.3 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 08/20] gnu: python-ccdproc: Update to 2.4.1 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 09/20] gnu: python-cdflib: Update to 1.0.5 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 10/20] gnu: python-drms: Update to 0.6.4 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 11/20] gnu: python-fitsio: Update to 1.1.9 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 12/20] gnu: python-fitsio: Enable tests Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 13/20] gnu: python-pyerfa: Update to 2.0.0.3 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 14/20] gnu: python-pyerfa: Fix tests Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 15/20] gnu: python-reproject: Update to 0.11.0 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 16/20] gnu: python-stcal: Update to 1.3.8 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 17/20] gnu: python-stdatamodels: Update to 1.6.0 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 18/20] gnu: python-sunpy: Update to 5.0.0 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 19/20] gnu: python-synphot: Update to 1.2.1 Sharlatan Hellseher
2023-06-21  6:33 ` [bug#64201] [PATCH 20/20] gnu: python-astroalign: Fix build Sharlatan Hellseher
2023-07-10 21:11 ` [bug#64201] Sharlatan Hellseher
2023-07-21 17:51   ` [bug#64201] Sharlatan Hellseher
2023-07-21 18:40     ` [bug#64201] Maxim Cournoyer
2023-07-26 23:15 ` [bug#64201] [PATCH v2 00/22]: gnu: Astronmy June updates Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 01/22] gnu: sextractor: Update to 2.28.0, fix build Sharlatan Hellseher
2023-07-26 23:15   ` Sharlatan Hellseher [this message]
2023-07-26 23:15   ` [bug#64201] [PATCH v2 03/22] gnu: python-photutils: Update package style Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 04/22] gnu: calceph: Update to 3.5.2 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 05/22] gnu: calcmysky: Update to 0.3.1 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 06/22] gnu: libxisf: Update to 0.2.8 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 07/22] gnu: splash: Update to 3.8.2 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 08/22] gnu: python-astropy: Update to 5.3.1 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 09/22] gnu: python-ccdproc: Update to 2.4.1 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 10/22] gnu: python-cdflib: Update to 1.0.5 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 11/22] gnu: python-drms: Update to 0.6.4 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 12/22] gnu: python-fitsio: Update to 1.1.10 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 13/22] gnu: python-fitsio: Enable tests Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 14/22] gnu: python-pyerfa: Update to 2.0.0.3 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 15/22] gnu: python-pyerfa: Fix tests Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 16/22] gnu: python-pyerfa: Use G-expressions Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 17/22] gnu: python-reproject: Update to 0.11.0 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 18/22] gnu: python-stcal: Update to 1.4.2 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 19/22] gnu: python-stdatamodels: Update to 1.7.1 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 20/22] gnu: python-sunpy: Update to 5.0.0 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 21/22] gnu: python-synphot: Update to 1.2.1 Sharlatan Hellseher
2023-07-26 23:15   ` [bug#64201] [PATCH v2 22/22] gnu: python-astroalign: Fix build Sharlatan Hellseher
2023-08-07 18:20   ` [bug#64201] [PATCH v2 00/22]: gnu: Astronmy June updates Andreas Enge
2023-08-07 20:11     ` Sharlatan Hellseher
2023-08-08  8:09       ` bug#64201: " Andreas Enge

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=07e98fd519e9a37f785625b2cc99738426b11ff6.1690410490.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=64201@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 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.