From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 71084@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#71084] [PATCH 26/26] gnu: Add python-yt.
Date: Mon, 20 May 2024 23:12:53 +0100 [thread overview]
Message-ID: <3c7101bfce5de852cc7aa14e675bc2268bea6660.1716242564.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1716242563.git.sharlatanus@gmail.com>
* gnu/packages/astronomy.scm (python-yt): New variable.
Change-Id: Ic8331de39e0a5e875aef8d49b7597c269b2b155e
---
gnu/packages/astronomy.scm | 79 ++++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 122be3b260..c1fe5b0a47 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5268,6 +5268,85 @@ (define-public python-wiimatch
using (multivariate) polynomials.")
(license license:bsd-3)))
+(define-public python-yt
+ (package
+ (name "python-yt")
+ (version "4.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "yt" version))
+ (sha256
+ (base32 "03jy35vyniyd1pd3sv0zpd2f3ks2iyqw65xv28ids8nw6v1vavbv"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:build-backend "setuptools.build_meta"
+ #:test-flags
+ #~(list "-n" "auto")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; XXX: Updating ipywidgets requires long chain of rebuilds,
+ ;; maybe for python-team.
+ ;;
+ ;; ipywidgets>=8.0.0
+ ((">=8.0.0") ">=7.6.3"))))
+ (add-before 'check 'prepare-test-environment
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (propagated-inputs
+ (list python-cmyt
+ python-ewah-bool-utils
+ python-ipywidgets
+ python-matplotlib
+ python-more-itertools-next
+ python-numpy
+ python-packaging
+ python-pillow
+ python-tomli-w
+ python-tqdm
+ python-unyt))
+ (native-inputs
+ (list python-cython-3
+ python-nose
+ python-nose-exclude
+ python-nose-timer
+ python-pyaml
+ python-pytest
+ python-pytest-mpl
+ python-pytest-xdist
+ python-setuptools
+ python-sympy))
+ (home-page "http://yt-project.org/")
+ (synopsis "Analyzing and visualizing volumetric data framework")
+ (description
+ "This package provides a structured, variable-resolution meshes,
+ unstructured meshes, and discrete or sampled data such as particles. Focused on
+ driving physically-meaningful inquiry, it has been applied in domains such as
+ astrophysics, seismology, nuclear engineering, molecular dynamics, and
+ oceanography.")
+ (license (list
+ ;; COPYING.txt: for Python code.
+ ;;
+ ;; yt uses a shared copyright model. Each contributor maintains
+ ;; copyright over their contributions to yt. But, it is important
+ ;; to note that these contributions are typically only changes to
+ ;; the repositories. Thus, the yt source code, in its entirety is
+ ;; not the copyright of any single person or institution. Instead,
+ ;; it is the collective copyright of the entire yt Development
+ ;; Team. If individual contributors want to maintain a record of
+ ;; what changes/contributions they have specific copyright on,
+ ;; they should indicate their copyright in the commit message of
+ ;; the change, when they commit the change to one of the yt
+ ;; repositories.
+ license:bsd-3
+ ;; yt/frontends/artio/artio_headers/LICENSE: for C code.
+ license:lgpl3))))
+
(define-public unsio
;; There is no versioned tag, use the latest commit.
(let ((commit "25e52468298e1194c9726ef5dba9d5fbb46870f5")
--
2.41.0
next prev parent reply other threads:[~2024-05-20 22:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-20 22:11 [bug#71084] [PATCH 00/26] Astronomy update 2024/05 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 01/26] gnu: python-sep: Refresh package style Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 02/26] gnu: python-ephem: Use pyproject-build-system Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 03/26] gnu: python-sgp4: " Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 04/26] gnu: packages/astronomy: Minimize import from python build system Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 05/26] gnu: calceph: Update to 4.0.0 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 06/26] gnu: python-astropy-iers-data: Update to 0.2024.5.13.0.30.12 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 07/26] gnu: python-astropy: Update to 6.1.0 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 08/26] gnu: python-pyvo: Disable a failing test Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 09/26] gnu: python-astroscrappy: Update to 1.2.0 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 10/26] gnu: python-dust-extinction: Update to 1.4 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 11/26] gnu: python-ccdproc: Update to 2.4.2 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 12/26] gnu: python-cdflib: Update to 1.3.1 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 13/26] gnu: python-crds: Update to 11.17.22 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 14/26] gnu: python-jplephem: Update to 2.22 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 15/26] gnu: python-rad: Update to 0.20.0 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 16/26] gnu: python-roman-datamodels: " Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 17/26] gnu: python-sunpy: Update to 5.1.3 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 18/26] gnu: python-stsci-image: Update to 2.3.7 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 19/26] gnu: python-specutils: Update to 1.15.0 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 20/26] gnu: python-unyt: Fix version detection Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 21/26] gnu: python-ewah-bool-utils: Update to 1.2.0 Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 22/26] gnu: Add python-viresclient Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 23/26] gnu: Add python-geopack Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 24/26] gnu: Add python-comm Sharlatan Hellseher
2024-05-20 22:12 ` [bug#71084] [PATCH 25/26] gnu: Add python-more-itertools-next Sharlatan Hellseher
2024-05-20 22:12 ` Sharlatan Hellseher [this message]
2024-05-30 14:29 ` bug#71084: [PATCH 00/26] Astronomy update 2024/05 Andrew Tropin via Guix-patches via
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=3c7101bfce5de852cc7aa14e675bc2268bea6660.1716242564.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=71084@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).