From patchwork Fri Jun 21 18:38:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65551 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 67DF027BBE9; Fri, 21 Jun 2024 19:42:35 +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 EB51927BBE2 for ; Fri, 21 Jun 2024 19:42:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKjCG-0008Sk-Ep; Fri, 21 Jun 2024 14:41:16 -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 1sKjCE-0008Py-0l for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:14 -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 1sKjCD-0003RA-Nv for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKjCD-0004UD-0g; Fri, 21 Jun 2024 14:41:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71702] [PATCH 28/30] gnu: Add python-yt-astro-analysis. 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: Fri, 21 Jun 2024 18:41:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71702@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 71702-submit@debbugs.gnu.org id=B71702.171899525016929 (code B ref 71702); Fri, 21 Jun 2024 18:41:12 +0000 Received: (at 71702) by debbugs.gnu.org; 21 Jun 2024 18:40:50 +0000 Received: from localhost ([127.0.0.1]:43572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBq-0004Os-3l for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:50 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:46258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBZ-0004Lv-B7 for 71702@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:34 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-424720e73e0so21715265e9.0 for <71702@debbugs.gnu.org>; Fri, 21 Jun 2024 11:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718995168; x=1719599968; 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=cbRWNZ7OI5197NAGPTzkHGsGKO0FfApGyrUE05dkJpw=; b=AR8ntpYpE++pi5CleQ9DvI4LRYDan1Qv6q3PwFJ0Sl9LJVTpwQg+M4FflEnreRqm7f NeyhMx6OKMt2e6hI21Rvs6oy6ZXjt4REb0vJxx4kqC16EJdvC2428DhU/4dhQN3R1+cB +8qLgrdPzBpSJr9nwgaFrg9PVh1cncqBgcZWZxVLb0nlZDMFM0qL/Kup5GDcjM/t3Edj AKaQuEYpA3yi8rHae/asrygOzzxcG5PjNLnqQ07gM+HO7ajJ06jDprvdJ6ga6l958nX6 Cw80Qi8srenAzWac8oaey1bAardQD2pHzYId8/Y6XRL8N4VFuw6FXIGzgMZ0yd79aOsB OOuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718995168; x=1719599968; 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=cbRWNZ7OI5197NAGPTzkHGsGKO0FfApGyrUE05dkJpw=; b=gN5mN0cxQFXR7Oa8jy63/aPGoS7VY3Jd3MOM46B7xvXuSd48JIt2mzIDMUIymFTjVm OnSwbohRO9W6lwnspoeJwHUWE3QHtdtk027dCNIB1bSVgCXDma8Dat0tKUWcEpVp53U8 DJ+Eg/cPVay+KiZP+Smz9jeeHXtjvT4juu0JkUnX5dqcfQE+s7DshoOGmIj1+XEd2Krs ddzROHPVP3sPGgot1gXCIRq1bqFsp97+0yqaUSmC4sOKdUSo0fpbkjGdFUzriaOIT0+N y8oO0BP3uHRZMxPkCEoVZtF+eR3VREfpfJwaQ5S7Y3Z+aJ8EYgV5oaEdmhudwQoCUtEr kUxQ== X-Gm-Message-State: AOJu0Yw3jADXkZI+GG62ZH9XfCC5MvUfMmWHnk+HgxsA8/RsSBJn65PJ TY6f1PnCp6YRsOOo55SDOHEVkn63fHKE613Yq1uAIGjdTrB0DkJ4YxfKMOqr X-Google-Smtp-Source: AGHT+IEKhCfxBdvhsEiGWIlQ8n8Ix0D1STnCBK0dDz4BfvGP0vhFtnXd5FdyAZzWC40ei26eyWQmbg== X-Received: by 2002:a7b:c7c8:0:b0:421:7db5:1c77 with SMTP id 5b1f17b1804b1-424751848b0mr73660945e9.22.1718995168323; Fri, 21 Jun 2024 11:39:28 -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-4247d0b63d4sm76298985e9.3.2024.06.21.11.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:39:27 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 21 Jun 2024 19:38:50 +0100 Message-ID: <90601c6946f2c6a1cea218f1e13c7b17011ee2b9.1718966788.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-astro-analysis): New variable. Change-Id: I5369d86b884aca1b18883083db872df9333eed9e --- gnu/packages/astronomy.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 7dbb95f788..c6f69d2e03 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5237,6 +5237,50 @@ (define-public python-yt ;; yt/frontends/artio/artio_headers/LICENSE: for C code. license:lgpl3)))) +(define-public python-yt-astro-analysis + (package + (name "python-yt-astro-analysis") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "yt_astro_analysis" version)) + (sha256 + (base32 "1fb3sdp6hq2c4c28pd33v9yj14x9l7qizf3y3qpl594qdq1ffmpi")))) + (build-system pyproject-build-system) + (arguments + (list + ;; Disable test which require MPI setup and failed to run, check why. + #:test-flags #~(list "--ignore=test_halo_finders_ts.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (propagated-inputs + (list python-h5py + python-numpy + python-packaging + python-yt)) + (native-inputs + (list python-cython + python-nose + python-tomli)) + (home-page "https://github.com/yt-project/yt_astro_analysis") + (synopsis "YT astrophysical analysis modules") + (description + "This package provides an @code{yt} extension package for astrophysical +analysis. This package contains functionality for: + +@itemize +@item halo finding and analysis +@item lightcones +@item planning cosmological simulations for making lightcones and lightrays +@item exporting to the RADMC-3D radiation transport code +@item creating PPV FITS cubes +@end itemize") + (license (list license:bsd-3 license:lgpl3)))) + (define-public qfits (package (name "qfits")