GNU bug report logs - #59323
[PATCH] gnu: Add alfa

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Wed, 16 Nov 2022 22:51:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59323 in the body.
You can then email your comments to 59323 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59323; Package guix-patches. (Wed, 16 Nov 2022 22:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 16 Nov 2022 22:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH] gnu: Add alfa
Date: Wed, 16 Nov 2022 22:50:35 +0000
* gnu/packages/astronomy.scm (alfa): New variable.
---
 gnu/packages/astronomy.scm | 53 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index bc31a12594..c5f0944219 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -86,6 +86,59 @@ (define-module (gnu packages astronomy)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public alfa
+  (package
+    (name "alfa")
+    (version "2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rwesson/ALFA")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "0aqxqar36822mh373awsl79j7zn8vik4yddyydsxv0c76gn4i2k3"))
+       (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:parallel-build? #f
+      #:make-flags
+      #~(list (string-append "PREFIX=" #$output)
+              (string-append "VERSION=" #$version))
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)
+          (delete 'check)
+          (add-after 'install 'post-install-check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "make" "fittest")))))))
+    (inputs (list cfitsio gfortran))
+    (home-page "https://nebulousresearch.org/codes/alfa/")
+    (synopsis "Automated Line Fitting Algorithm")
+    (description
+     "This package provides @acronym{ALFA, Automatic line fitting algorithm}
+which can identify and fit hundreds of lines in emission line spectra in just a
+few seconds with following features:
+@itemize
+
+@item A population of synthetic spectra is generated using a reference line
+catalogue.
+
+@item The goodness of fit for each synthetic spectrum is calculated.  The best
+sets of parameters are retained and the rest discarded.
+
+@item A new population of synthetic spectra is obtained by averaging pairs of
+the best performers.
+
+@item A small fraction of the parameters of the lines in the new generation are
+randomly altered.
+
+@item The process repeats until a good fit is obtained.
+@end itemize")
+    (license license:gpl3+)))
+
 (define-public aocommon
   (let ((commit "7329a075271edab8f6264db649e81e62b2b6ae5e")
         (revision "1"))
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#59323; Package guix-patches. (Sat, 26 Nov 2022 20:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 59323 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59323 <at> debbugs.gnu.org
Date: Sat, 26 Nov 2022 20:22:20 +0000
Hi,

I see the QA is marked as failed but build statuses passed for 4/6 architectures
Is there anything I need to  fix in the package?

Regards,
Oleg


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

Information forwarded to guix-patches <at> gnu.org:
bug#59323; Package guix-patches. (Sat, 26 Nov 2022 20:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 59323 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Sharlatan Hellseher" <sharlatanus <at> gmail.com>, <59323 <at> debbugs.gnu.org>
Subject: Re: [bug#59323]
Date: Sat, 26 Nov 2022 20:29:13 +0000
[Message part 1 (text/plain, inline)]
On Sat Nov 26, 2022 at 8:22 PM GMT, Sharlatan Hellseher wrote:
> I see the QA is marked as failed but build statuses passed for 4/6 architectures
> Is there anything I need to  fix in the package?

If it's not *supposed* to build on those architectures, you can add a
``supported-systems'' field to the package, which will block the builds
for those archs on the CI, I think.

    -- (
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 01 Dec 2022 21:22:02 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Thu, 01 Dec 2022 21:22:02 GMT) Full text and rfc822 format available.

Message #16 received at 59323-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59323-done <at> debbugs.gnu.org
Subject: Re: bug#59323: [PATCH] gnu: Add alfa
Date: Thu, 01 Dec 2022 22:21:11 +0100
Hi,

Sharlatan Hellseher <sharlatanus <at> gmail.com> skribis:

> * gnu/packages/astronomy.scm (alfa): New variable.

I passed it through ‘guix style’ and changed the license to ‘gpl3’
because source headers specify “v3”, without the “or any later version”
wording.

According to <https://qa.guix.gnu.org/issue/59323> it’s failing on
aarch64-linux and succeeds everywhere else; could you investigate why as
the next step and report it upstream?

Applied, thanks!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#59323; Package guix-patches. (Thu, 01 Dec 2022 21:28:01 GMT) Full text and rfc822 format available.

Message #19 received at 59323 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59323 <at> debbugs.gnu.org
Subject: Re: bug#59323: [PATCH] gnu: Add alfa
Date: Thu, 01 Dec 2022 22:27:21 +0100
BTW, you might want to consider officially adding an “astronomy” team in
etc/teams.scm.in, with you as its first honorable member.  WDYT?

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#59323; Package guix-patches. (Thu, 01 Dec 2022 23:39:02 GMT) Full text and rfc822 format available.

Message #22 received at 59323 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 59323 <at> debbugs.gnu.org
Subject: Re: bug#59323: [PATCH] gnu: Add alfa
Date: Thu, 1 Dec 2022 23:37:58 +0000
Hi Ludo,

It's a great proposal :)!

I try my best too promote Guix in astronomy software communities by
mentioning in
issues, but I'm not an Astronomer or related to any research...

SunPy project will mention Guix in next documentation update
https://github.com/sunpy/sunpy/issues/6634

My aim to migrate Debian Astro package stack to Guix and start packaging
journey for Julia packages as Julia become very popular in big data researches.

Regards,
Oleg

On Thu, 1 Dec 2022 at 21:27, Ludovic Courtès <ludo <at> gnu.org> wrote:
>
> BTW, you might want to consider officially adding an “astronomy” team in
> etc/teams.scm.in, with you as its first honorable member.  WDYT?
>
> Ludo’.



-- 

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

Information forwarded to guix-patches <at> gnu.org:
bug#59323; Package guix-patches. (Fri, 02 Dec 2022 14:06:02 GMT) Full text and rfc822 format available.

Message #25 received at 59323 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59323 <at> debbugs.gnu.org
Subject: Re: bug#59323: [PATCH] gnu: Add alfa
Date: Fri, 02 Dec 2022 15:05:34 +0100
Hi,

Sharlatan Hellseher <sharlatanus <at> gmail.com> skribis:

> It's a great proposal :)!
>
> I try my best too promote Guix in astronomy software communities by
> mentioning in
> issues, but I'm not an Astronomer or related to any research...

Note that being on a team means you’re knowledgeable about packages that
fall in the team’s scope, that you’re interested in contributing to
their maintenance, and that you’re willing to help other contributors in
this area.  You don’t have to be a professional astronomer to do that.  :-)

> SunPy project will mention Guix in next documentation update
> https://github.com/sunpy/sunpy/issues/6634
>
> My aim to migrate Debian Astro package stack to Guix and start packaging
> journey for Julia packages as Julia become very popular in big data researches.

Nice!

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 31 Dec 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.