From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 74497@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#74497] [PATCH 09/46] gnu: Add python-spisea.
Date: Sat, 23 Nov 2024 19:50:56 +0000 [thread overview]
Message-ID: <20a92465c1780bee750c74ba252c0ed4aa47c1bf.1732384228.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1732384228.git.sharlatanus@gmail.com>
* gnu/packages/astronomy.scm (python-spisea): New variable.
Change-Id: Iecf0f7970cb62b8512eb254d3525a34fc59521be
---
gnu/packages/astronomy.scm | 68 ++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 75f13a4bf6..74e57c3ef7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4914,6 +4914,74 @@ (define-public python-spherical-geometry
;; QD_LIBRARY_LICENSE.rst for bandeled QD source
(license license:bsd-3)))
+(define-public python-spisea
+ (package
+ (name "python-spisea")
+ (version "2.1.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/astropy/SPISEA")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xgmbg1c0lijvbsfiicjl2r4y7prm47qnmj86w69wa8xxsz7n2ph"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Tests require additinal data, see
+ ;; <https://spisea.readthedocs.io/en/latest/getting_started.html>.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'preparations
+ (lambda _
+ ;; Tests and sanity check are failed with ImportError: cannot
+ ;; import name 'update_default_config' from
+ ;; 'astropy.config.configuration'.
+ (delete-file "spisea/_astropy_init.py")
+ (with-output-to-file "spisea/__init__.py"
+ (lambda _
+ (display
+ (string-append "__version__ = \""
+ #$(package-version this-package)
+ "\""))))
+ (substitute* "setup.cfg"
+ (("astropy-package-template-example = .*") ""))
+ ;; The version could not be determined from git checkout.
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+ (native-inputs
+ (list python-cython
+ python-extension-helpers
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs
+ (list python-astropy
+ python-matplotlib
+ python-numpy
+ python-pysynphot
+ python-scipy))
+ (home-page "https://spisea.readthedocs.io/en/stable/index.html")
+ (synopsis "Stellar Population Synthesis Modeling")
+ (description
+ "SPISEA is an python package that generates single-age,
+single-metallicity populations (i.e. star clusters). It gives the user control
+over many parameters:
+
+@itemize
+@item cluster characteristics (age, metallicity, mass, distance)
+@item total extinction, differential extinction, and extinction law
+@item stellar evolution and atmosphere models
+@item stellar multiplicity and Initial Mass Function
+@item initial-Final Mass Relation
+@item photometric filters
+@end itemize")
+ ;; Licensed under a 3-clause BSD style license - see LICENSE.rst
+ ;; spisea/_astropy_init.py:
+ (license (list license:gpl3+ license:bsd-3))))
+
(define-public python-statmorph
(package
(name "python-statmorph")
--
2.46.0
next prev parent reply other threads:[~2024-11-23 20:37 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-23 19:48 [bug#74497] [PATCH 00/46] Astro update 2024/11 Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 01/46] gnu: Add cdf Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 02/46] gnu: Add julia-astroangles Sharlatan Hellseher
2024-11-24 7:09 ` Efraim Flashner
2024-11-23 19:50 ` [bug#74497] [PATCH 03/46] gnu: Add python-kalepy Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 04/46] gnu: Add python-george Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 05/46] gnu: Add python-hasasia Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 06/46] gnu: Add python-cosmopy Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 07/46] gnu: Add python-holodeck Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 08/46] gnu: Add python-vispy Sharlatan Hellseher
2024-11-23 19:50 ` Sharlatan Hellseher [this message]
2024-11-23 19:50 ` [bug#74497] [PATCH 10/46] gnu: gpredict: Update commentary note Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 11/46] gnu: healpix-source: " Sharlatan Hellseher
2024-11-23 19:50 ` [bug#74497] [PATCH 12/46] gnu: imppg: Update to 1.9.2-beta Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 13/46] gnu: libpasastro: Update to 1.4.3 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 14/46] gnu: python-asdf-astropy: Update to 0.7.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 15/46] gnu: python-astropy-iers-data: Update to 0.2024.11.18.0.35.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 16/46] gnu: python-astropy: Update to 6.1.6 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 17/46] gnu: python-bayesicfitting: Update to 3.2.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 18/46] gnu: python-crds: Update to 12.0.6 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 19/46] gnu: python-drizzle: Update to 2.0.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 20/46] gnu: Add python-puremagic Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 21/46] gnu: python-ginga: Update to 5.2.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 22/46] gnu: python-aplpy: Update to 2.2.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 23/46] gnu: python-astroalign: Update to 2.6.1 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 24/46] gnu: python-astrodendro: Update to 0.3.1 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 25/46] gnu: python-astrodendro: Fix indentation Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 26/46] gnu: python-cdflib: Update to 1.3.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 27/46] gnu: python-jwst: Update to 1.16.1 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 28/46] gnu: python-ndcube: Update to 2.2.4 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 29/46] gnu: python-photutils: Update to 2.0.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 30/46] gnu: python-pyerfa: Update to 2.0.1.5 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 31/46] gnu: python-pyvo: Update to 1.6 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 32/46] gnu: python-rad: Update to 0.22.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 33/46] gnu: python-regularizepsf: Update to 1.0.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 34/46] gnu: python-reproject: Update to 0.14.1 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 35/46] gnu: python-roman-datamodels: Update to 0.22.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 36/46] gnu: python-sep-pjw: Update to 1.3.7 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 37/46] gnu: python-sncosmo: Update to 2.11.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 38/46] gnu: python-specutils: Update to 1.19.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 39/46] gnu: python-statmorph: Update to 0.6.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 40/46] gnu: python-stcal: Update to 1.10.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 41/46] gnu: python-stdatamodels: Update to 2.1.2 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 42/46] gnu: python-stsynphot: Update to 1.4.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 43/46] gnu: python-synphot: Update to 1.5.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 44/46] gnu: python-yt: Update to 4.4.0 Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 45/46] gnu: python-yt-astro-analysis: Adjust inputs Sharlatan Hellseher
2024-11-23 19:51 ` [bug#74497] [PATCH 46/46] gnu: python-gatspy: " Sharlatan Hellseher
2024-11-24 8:55 ` [bug#74497] [PATCH 00/46] Astro update 2024/11 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20a92465c1780bee750c74ba252c0ed4aa47c1bf.1732384228.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=74497@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 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).