unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65571] [PATCH] gnu: Add python-casa-formats-io.
@ 2023-08-27 20:32 Sharlatan Hellseher
  2023-09-27 15:32 ` [bug#65571] Sharlatan Hellseher
  2023-10-02 15:06 ` bug#65571: [PATCH] gnu: Add python-casa-formats-io Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2023-08-27 20:32 UTC (permalink / raw)
  To: 65571
  Cc: Sharlatan Hellseher, Iliya Tikhonenko, Andreas Enge,
	Efraim Flashner, Eric Bavier

* gnu/packages/astronomy.scm (python-casa-formats-io): New variable.

Co-Authored-By: Iliya Tikhonenko <tikhonenko@mpe.mpg.de>
---
 gnu/packages/astronomy.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e8499bb4b4..bcc3d8494a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1611,6 +1611,37 @@ (define-public python-bayesicfitting
 Herschel.")
     (license license:gpl3+)))
 
+(define-public python-casa-formats-io
+  (package
+    (name "python-casa-formats-io")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "casa-formats-io" version))
+              (sha256
+               (base32
+                "07cchih2ws6jf6q1a4xhkv0jk96s3w08kzxx9l1911wzqk0pw9pj"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'build-extensions
+            (lambda _
+              (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+    (native-inputs
+     (list python-pytest python-pytest-cov python-pytest-openfiles))
+    (propagated-inputs
+     (list python-astropy python-click python-dask python-numpy))
+    (home-page "https://casa-formats-io.readthedocs.io/")
+    (synopsis "Dask-based reader for CASA data")
+    (description
+     "The casa-formats-io package is a small package which implements functionality
+to read data stored in @acronym{CASA, Common Astronomy Software Applications}
+formats (such as .image datasets).  This implementation is independent of and
+does not use casacore.")
+    (license license:lgpl2.0)))
+
 (define-public python-ccdproc
   (package
     (name "python-ccdproc")

base-commit: 37cca1d87e18c257a9697110557a2bfaf9bc684b
-- 
2.40.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#65571]
  2023-08-27 20:32 [bug#65571] [PATCH] gnu: Add python-casa-formats-io Sharlatan Hellseher
@ 2023-09-27 15:32 ` Sharlatan Hellseher
  2023-10-02 15:06 ` bug#65571: [PATCH] gnu: Add python-casa-formats-io Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2023-09-27 15:32 UTC (permalink / raw)
  To: 65571; +Cc: Christopher Baines, Maxim Cournoyer

Hi,

A gentle ping on this one. QA as green as spring leaves :-)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#65571: [PATCH] gnu: Add python-casa-formats-io.
  2023-08-27 20:32 [bug#65571] [PATCH] gnu: Add python-casa-formats-io Sharlatan Hellseher
  2023-09-27 15:32 ` [bug#65571] Sharlatan Hellseher
@ 2023-10-02 15:06 ` Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-10-02 15:06 UTC (permalink / raw)
  To: Sharlatan Hellseher
  Cc: Andreas Enge, Eric Bavier, 65571-done, Iliya Tikhonenko,
	Efraim Flashner

Hello,

Sharlatan Hellseher <sharlatanus@gmail.com> writes:

> * gnu/packages/astronomy.scm (python-casa-formats-io): New variable.
>
> Co-Authored-By: Iliya Tikhonenko <tikhonenko@mpe.mpg.de>
> ---
>  gnu/packages/astronomy.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
> index e8499bb4b4..bcc3d8494a 100644
> --- a/gnu/packages/astronomy.scm
> +++ b/gnu/packages/astronomy.scm
> @@ -1611,6 +1611,37 @@ (define-public python-bayesicfitting
>  Herschel.")
>      (license license:gpl3+)))
>  
> +(define-public python-casa-formats-io
> +  (package
> +    (name "python-casa-formats-io")
> +    (version "0.2.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "casa-formats-io" version))
> +              (sha256
> +               (base32
> +                "07cchih2ws6jf6q1a4xhkv0jk96s3w08kzxx9l1911wzqk0pw9pj"))))
> +    (build-system pyproject-build-system)
> +    (arguments
> +     (list
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-before 'check 'build-extensions
> +            (lambda _
> +              (invoke "python" "setup.py" "build_ext" "--inplace"))))))
> +    (native-inputs
> +     (list python-pytest python-pytest-cov python-pytest-openfiles))
> +    (propagated-inputs
> +     (list python-astropy python-click python-dask python-numpy))
> +    (home-page "https://casa-formats-io.readthedocs.io/")
> +    (synopsis "Dask-based reader for CASA data")
> +    (description
> +     "The casa-formats-io package is a small package which implements functionality
> +to read data stored in @acronym{CASA, Common Astronomy Software Applications}
> +formats (such as .image datasets).  This implementation is independent of and
> +does not use casacore.")
> +    (license license:lgpl2.0)))

Applied, after adding some Texinfo sugar:

--8<---------------cut here---------------start------------->8---
modified   gnu/packages/astronomy.scm
@@ -1649,10 +1649,10 @@ (define-public python-casa-formats-io
     (home-page "https://casa-formats-io.readthedocs.io/")
     (synopsis "Dask-based reader for CASA data")
     (description
-     "The casa-formats-io package is a small package which implements functionality
-to read data stored in @acronym{CASA, Common Astronomy Software Applications}
-formats (such as .image datasets).  This implementation is independent of and
-does not use casacore.")
+     "The @code{casa-formats-io} package is a small package which implements
+functionality to read data stored in @acronym{CASA, Common Astronomy Software
+Applications} formats (such as @file{.image} datasets).  This implementation
+is independent of and does not use @code{casacore}.")
     (license license:lgpl2.0)))
 
 (define-public python-ccdproc
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-02 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27 20:32 [bug#65571] [PATCH] gnu: Add python-casa-formats-io Sharlatan Hellseher
2023-09-27 15:32 ` [bug#65571] Sharlatan Hellseher
2023-10-02 15:06 ` bug#65571: [PATCH] gnu: Add python-casa-formats-io Maxim Cournoyer

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).