From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IMFgEyI9Qmf6lQAAqHPOHw:P1 (envelope-from ) for ; Sat, 23 Nov 2024 20:37:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IMFgEyI9Qmf6lQAAqHPOHw (envelope-from ) for ; Sat, 23 Nov 2024 21:37:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=t7xSH1iR; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SiaLc6rN; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732394273; a=rsa-sha256; cv=none; b=dlTDQ2EmZ4dkKbnuPTN6T2Us9345PTM4au0vh4X4JAIthR8OMkGTT7VxTFPftOBziuwSkI gbpbweAIja3bsPeEQ6ziYjqub+hnM9ON81/v9fcyhyW7d1uaA7qh8tYb1mid35Jh8mZ0Iv JRGyKG/dTsrxX9HYyXI/ncxSn9KQ+G+UHP/iLnQSMbhq2VVw/JE4Dy3qN5aHFYH8LFoZal kTe3oSzaZlB9Bbl3uptURWTjr9z7+GVMYWMmzCmw86ukt3xvvXsSvoGvN9KhTDDeii23Fd QVbpVpmMzQ+51FE2drHMwIYsUvjDa8e74li+If+pGqBdgjAxZQpCrS6+zL1vYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=t7xSH1iR; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SiaLc6rN; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732394273; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=F3dcJ5q8MZ4DUe4naQsFPrjsaMvkVGgCUGxssNp1gOY=; b=jZbvo/RbmMKpfxKb86iTnj+bEu3McBalUfnM+muM4l/bYy9S8iq2NJJdEdyZJF03//grFt EKHsW/CtNhpRQki2VLLkbpfUMwKaPrAJnk4+rsOmKwbOyF7pn283e7eZGJ1HdahBLALrRB VBdT/iytvL4Ayma5bIvvpesYcQpQb/8FRxCmlcoSGbslNH53Uhe7nLbZGShuhxAbw8p3W3 M1fWP1OtpD4ZljeVuG9R1ByT2IHQdXV2d1c1q3cz9/2SdKw0B5mVxvvlmSQwAr57n6r53d 7k4XilL4uys3aGU1gufyCw17RdAfmE6mpY75UnKfNaH/D4kHc2rr2ETDvMrIrA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C77C887A0C for ; Sat, 23 Nov 2024 21:37:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEwC3-0002jd-AN; Sat, 23 Nov 2024 14:53:23 -0500 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 1tEwBw-0002hK-RU for guix-patches@gnu.org; Sat, 23 Nov 2024 14:53:18 -0500 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 1tEwBw-0000W5-Dc for guix-patches@gnu.org; Sat, 23 Nov 2024 14:53:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=F3dcJ5q8MZ4DUe4naQsFPrjsaMvkVGgCUGxssNp1gOY=; b=t7xSH1iRtT8CjNhj4OVKcGKjpPLjj691MdXJUOgCTLmbLr90n4trpmoucpBrhH6+TZJo66KwbCjteYopH6I4Qkr//UDbV3052k920VqS12Y48BKgecUzFDxijbBomG5a2D1rRn+ynhGlPv8LsaACHD1S9MheNDsmlgXMp4ADwBnOV2yghhw7BcRnWgPkQTKnrJfM/NjIzmOFJ9zELksgtRFpBEypBf/yJFC8Q+X7rom0ZHm+0rLAUpPDPL3yxyfMKoug9/q/JjjOeIgp/Iih0u0jGljfMegflAD+xQVmxfFZdUpM4o9iSZtpYpY19O6BYO1hYS9SQoJsqAtHXDzCSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEwBt-0002ai-Oo; Sat, 23 Nov 2024 14:53:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74497] [PATCH 09/46] gnu: Add python-spisea. 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: Sat, 23 Nov 2024 19:53:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74497 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74497@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 74497-submit@debbugs.gnu.org id=B74497.17323915909886 (code B ref 74497); Sat, 23 Nov 2024 19:53:13 +0000 Received: (at 74497) by debbugs.gnu.org; 23 Nov 2024 19:53:10 +0000 Received: from localhost ([127.0.0.1]:59284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEwBp-0002ZA-Bu for submit@debbugs.gnu.org; Sat, 23 Nov 2024 14:53:09 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:53641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEwBf-0002Vd-MZ for 74497@debbugs.gnu.org; Sat, 23 Nov 2024 14:53:00 -0500 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4316cce103dso38934795e9.3 for <74497@debbugs.gnu.org>; Sat, 23 Nov 2024 11:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732391514; x=1732996314; 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=F3dcJ5q8MZ4DUe4naQsFPrjsaMvkVGgCUGxssNp1gOY=; b=SiaLc6rNj61T59TDgb0LKzacnlIm+6nur3uICoBOAZoovgkaIh2TDjhUfo5yTxIvw4 st+AnCZNA5+k5mEXYQsgpsDIpu+nkWdwJ/8/vGal2YKvewhgyC4XuQEfv1zqNgFdir7Q CvE4H7ZdDQdHyd8I5sj9OVuyvd8DlnTAZQswxik60vstX/08oqNke2oChY8HRB7pgtNV dl3elPiFL8f0cZjIbkGxJkfXQQ8zrtTumatCEOjkY5y1CvC0XQKAhgnyA0du9NZLwGgL V5qAicIlGpPz4jYQleM4wsZ1bwVaGqkHcu8AVNWLWmbvg0pInWbUv8sP7gaJaB++74KF LANQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732391514; x=1732996314; 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=F3dcJ5q8MZ4DUe4naQsFPrjsaMvkVGgCUGxssNp1gOY=; b=SR+NGWJu6cttyuExJKAx9OZV0xqfadA0n47okEvdH3fufFUGukNYDk6IfIBepXoj8Z lNCFJmdQ0jvM7nwUqMHTTVxXwhox+rS2edCMZ27iDiYZJPMqcq5/yricsjQGT5J+Tt5A RO3BU2kkXk5QBpo8bvo12+EddyeQrnYqMnmi+po97t2wVr3eCC/IYK5qspOjW2J0YNgp 0g2ZUw93XNYyr4HTaLAIu+/D+oox8Yl8miUtDN3ZzULrfZGzyOgd+A77r0KCPIYSMRSR 9vyaPmVrL9lz06R3DbgZlFSPkUJT0fVa/3xppGJM4gf0BC/5+GtiYJ9CH0NR6nGpYS7d oPgw== X-Gm-Message-State: AOJu0YwXlYxu2eR1OFOmZ5xqev+atgBYOAUcuzBsLRizc4hPWmTZoSHU TvbOJUMQcQmDJyEHfhA53qjxSpZuNOwYGFqE09dHwEgwPTJipuqp7fV7Ua+SAhE= X-Gm-Gg: ASbGnctMbZlW1KXvsdRC/h8Yeakcbm3OtAzefpghCk+8B2zvOeCBhi2wLqvNczlCauy Za4AK14lOLjIKKsCa0c34X+YBPgl00mwrPfzdoL6PVUxXrXxKyMULY7mbELlHvstkt3J0tBkJ3D AKtx2KwWw3JY9VoWWu0D2DPcDB3O1BgqldOEjpsCNehagdeq1XhsL9AOsCZ+46Rj9Z9Cz0p9yhD ph3ZiUM8iVG++6QEjBTozxNm6L71xcyQH5jKxPNLaxpdBy90MXxB/a7oalMASG4mgnXK04182zv FVqyZ0j0nxtCutq8aS2VnlVO2YlIrG4ermDHECTC5A== X-Google-Smtp-Source: AGHT+IG2MmrgqYwSq4CtkMPqLQR7g6OIUjU+24/vMAYU4ZM/htJ6sI0rVtzEY1zW86hQTt2hMi9lWg== X-Received: by 2002:a5d:47a8:0:b0:382:4b5c:41a2 with SMTP id ffacd0b85a97d-38260b621a7mr7562292f8f.26.1732391513995; Sat, 23 Nov 2024 11:51:53 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fafe338sm5972894f8f.33.2024.11.23.11.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 11:51:53 -0800 (PST) From: Sharlatan Hellseher Date: Sat, 23 Nov 2024 19:50:56 +0000 Message-ID: <20a92465c1780bee750c74ba252c0ed4aa47c1bf.1732384228.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.42 X-Spam-Score: 0.42 X-Migadu-Queue-Id: C77C887A0C X-Migadu-Scanner: mx10.migadu.com X-TUID: 2KXbFvUs5Bkg * 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 + ;; . + #: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