all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 72219@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>, Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#72219] [PATCH 29/34] gnu: Add python-sbpy.
Date: Sat, 20 Jul 2024 23:40:52 +0100	[thread overview]
Message-ID: <5c140b14ee050e63958ce9ecec28b6bf63330e4f.1721514687.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1721514686.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-sbpy): New variable.

Change-Id: I456f1400ce072d3a2e4cd263349f57c5779f36c5
---
 gnu/packages/astronomy.scm | 68 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c25e49e411..307d85578f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -57,6 +57,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 jupyter)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages lua)
@@ -4641,6 +4642,73 @@ (define-public python-pysynphot
 spectra, and data.")
       (license license:bsd-3))))
 
+(define-public python-sbpy
+  (package
+    (name "python-sbpy")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sbpy" version))
+       (sha256
+        (base32 "18f3056fgzpvjj43m845wl9znl4dqxs8f8qv3gpay7kik4l8a1fc"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/397>.
+      #~(list "--ignore=sbpy/spectroscopy/tests/test_specgrad.py"
+              ;; See <https://github.com/NASA-Planetary-Science/sbpy/issues/398>
+              "-k" (string-append "not test_from_fluxd"
+                                  " and not test_bandpass"
+                                  " and not test_spectral_density_vega_bp"))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'set-home-env
+            (lambda _
+              ;; Tests require HOME to be set.
+              ;;  No such file or directory: '/homeless-shelter/.astropy'
+              (setenv "HOME" "/tmp"))))))
+    (propagated-inputs
+     (list python-ads
+           python-astropy
+           python-astroquery
+           python-ginga
+           python-numpy
+           python-photutils
+           python-pyyaml
+           python-scipy
+           python-synphot))
+    (native-inputs
+     (list python-pytest
+           python-pytest-astropy
+           python-pytest-doctestplus
+           python-pytest-remotedata
+           python-pytest-xdist
+           python-setuptools-scm))
+    (home-page "https://sbpy.org")
+    (synopsis "Python module for small-body planetary astronomy")
+    (description
+     "@code{sbpy} is a package for small-body planetary astronomy.  It is
+meant to supplement functionality provided by @code{astropy} with functions
+and methods that are frequently used in the context of planetary astronomy
+with a clear focus on asteroids and comets.
+Features:
+@itemize
+@item observation planning tools tailored to moving objects
+@item photometry models for resolved and unresolved observations
+@item wrappers and tools for astrometry and orbit fitting
+@item spectroscopy analysis tools and models for reflected solar light and
+emission from gas
+@item cometary gas and dust coma simulation and analysis tools
+@item asteroid thermal models for flux estimation and size/albedo estimation
+@item image enhancement tools for comet comae and PSF subtraction tools
+@item lightcurve and shape analysis tools
+@item access tools for various databases for orbital and physical data, as
+well as ephemerides services
+@end itemize")
+    (license license:bsd-3)))
+
 (define-public python-sep
   (package/inherit libsep
     (name "python-sep")
-- 
2.41.0





  parent reply	other threads:[~2024-07-20 22:45 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-20 22:39 [bug#72219] [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 01/34] gnu: Add python-pluggy-next Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 02/34] gnu: Add python-pytest-8 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 03/34] gnu: cfitsio: Update to 4.4.1 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 04/34] gnu: skymaker: Update to 3.10.5 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 05/34] gnu: skymaker: Fix indentation Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 06/34] gnu: stellarium: Update to 24.2 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 07/34] gnu: python-asdf: Update to 3.3.0 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 08/34] gnu: python-asdf-zarr: Update to 0.0.4 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 09/34] gnu: python-astropy-iers-data: Update to 0.2024.7.15.0.31.42 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 10/34] gnu: python-crds: Update to 11.17.26 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 11/34] gnu: python-czml3: Update to 1.0.1 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 12/34] gnu: python-czml3: Adjust indentation Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 13/34] gnu: python-jwst: Update to 1.15.1 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 14/34] gnu: python-photutils: Update to 1.13.0 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 15/34] gnu: python-extension-helpers: Update to 1.1.1 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 16/34] gnu: python-extension-helpers: Enable tests Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 17/34] gnu: python-pytest-openfiles: Update to 0.6.0 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 18/34] gnu: python-pytest-openfiles: Simplify package Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 19/34] gnu: python-stpipe: Update to 0.6.0 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 20/34] gnu: python-stpipe: Improve indentation Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 21/34] gnu: python-stdatamodels: Update to 2.0.0 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 22/34] gnu: python-sunpy: Update to 5.1.5 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 23/34] gnu: python-tweakwcs: Update to 0.8.8 Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 24/34] gnu: python-fast-histogram: Adjust inputs Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 25/34] gnu: Add python-dunamai Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 26/34] gnu: Add python-poetry-dynamic-versioning Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 27/34] gnu: Add python-kanon Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 28/34] gnu: Add python-ads Sharlatan Hellseher
2024-07-20 22:40 ` Sharlatan Hellseher [this message]
2024-07-20 22:40 ` [bug#72219] [PATCH 30/34] gnu: Add python-echo Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 31/34] gnu: Add python-mpl-scatter-density Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 32/34] gnu: Add python-glue-core Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 33/34] gnu: Add python-looseversion Sharlatan Hellseher
2024-07-20 22:40 ` [bug#72219] [PATCH 34/34] gnu: Add python-sncosmo Sharlatan Hellseher
2024-07-30  9:39 ` bug#72219: [PATCH 00/34] Astronomy update 2024/07 Sharlatan Hellseher

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=5c140b14ee050e63958ce9ecec28b6bf63330e4f.1721514687.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=72219@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    /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.