From patchwork Mon May 20 22:12:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 64762 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C151427BBE2; Mon, 20 May 2024 23:16:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 87BFD27BBF5 for ; Mon, 20 May 2024 23:16:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9BIZ-0007iv-Hw; Mon, 20 May 2024 18:16:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9BIX-0007fG-JC for guix-patches@gnu.org; Mon, 20 May 2024 18:16:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9BIX-0004Ic-9a for guix-patches@gnu.org; Mon, 20 May 2024 18:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9BIb-0002Wa-RP; Mon, 20 May 2024 18:16:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71084] [PATCH 26/26] gnu: Add python-yt. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 22:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71084 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71084@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 71084-submit@debbugs.gnu.org id=B71084.17162433139623 (code B ref 71084); Mon, 20 May 2024 22:16:05 +0000 Received: (at 71084) by debbugs.gnu.org; 20 May 2024 22:15:13 +0000 Received: from localhost ([127.0.0.1]:45242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9BHk-0002V4-K2 for submit@debbugs.gnu.org; Mon, 20 May 2024 18:15:13 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:54423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9BHB-0002Oo-1z for 71084@debbugs.gnu.org; Mon, 20 May 2024 18:14:37 -0400 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42011507a4eso25286285e9.0 for <71084@debbugs.gnu.org>; Mon, 20 May 2024 15:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716243206; x=1716848006; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ri7Vz7mLaucFUQNe5SDbpeDZtgCrX4zkI2BKDRYXZk0=; b=QcQ9VJ8pxyZUYbAYqXJs/n6SH+aMQUqI9X+/NKRq1neE+1bu00vUK3a31cLEyU5F5E BbWgPK///EJez5Y5rIZbHvpU2x3kgAKNtWS6c3X748NJxsnlnOndJy6P7ak47VqyAxyn z1v6n+qapfq1TJBbYkprQHldyBE1xe1x3HI0efxm5d6d+AJE+e+9N0a839ofti3o4Vh6 gK/iN7ic3oRnAHDry0sNNId5V19k4mGSpvW9byNMe7OEYp9ffD+STFWlifkMYpnbFCUU a746Tv7sqO/iUOMni14sPl6/kDZYl02laRz5dCuT+a+VX4m/VprJ56D30hQfCUGYdpso cvzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716243206; x=1716848006; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ri7Vz7mLaucFUQNe5SDbpeDZtgCrX4zkI2BKDRYXZk0=; b=MBiMvfEPKW8FFtksTfxGI1fQeuFgsYvHs3IdpKCoutG/gBNMIe53JD6DYYen0BN6XB dTTI1RojzGNXYL3n88y10xML6HFZdxNkL+f7z17nqOnEiVtf5B3gwwia7q/g8P7NMPyg Y2AzaQtx2OqT5zqGdkoGeCBzI8Y7glV0Y5uBF8DWY8M0Z0VfE+T21T7k/KcFdFffifsA vbX6Rro8PGJ4TuRKDZOKZQ2L/6iuFgxFtBcnoQpIKp3lpaN5IsBhALCI+VX3q5gwLixA L/+9QBtqR/roh0c2g6Cj9Xs1FXw0iu+aekVr0Ij2Y+wRwmCrilIFnpBJ18VWIjq0mA82 ahSQ== X-Gm-Message-State: AOJu0YzaD4kiWig7zV653JploLmg0tufd3PcP6+sYvZJ4jG2LgALgQHC 9ZqwXTCbfsZ6bfKTRrqdo0R9wpPCOzg16Qm967/BZt+QP9cbmsPVLpcFmKZU X-Google-Smtp-Source: AGHT+IHN8Gag6dMtZAdIIINVK+JCqD3EpwW2FMDuk+h9IbPwxSKa6yBBPGQMaSiIGyP55/+k9j5m6Q== X-Received: by 2002:a05:600c:1d0a:b0:41a:ff7d:2473 with SMTP id 5b1f17b1804b1-41feaa2f414mr255422115e9.4.1716243206487; Mon, 20 May 2024 15:13:26 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4200a8e6846sm376793855e9.15.2024.05.20.15.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:13:26 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 20 May 2024 23:12:53 +0100 Message-ID: <3c7101bfce5de852cc7aa14e675bc2268bea6660.1716242564.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")