From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qHKUFPQ9nGYzpgAAe85BDQ:P1 (envelope-from ) for ; Sat, 20 Jul 2024 22:45:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qHKUFPQ9nGYzpgAAe85BDQ (envelope-from ) for ; Sun, 21 Jul 2024 00:45:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FU0oMJMu; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721515508; 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=DO9ehLo5cZ10M9hG4zY7xhG+4S5vMHFm8fPNXT7BOVk=; b=JDwpYm+u+A2Fk8PxL075iEwiHkYHRanXlmF9rRRg5S6ekropdcW4g0PnkjQemwKmoISgLY R/DyzX6V5XrOcmdeOaIc3V6ry4QqzwUCnjUA92RhQ1gizbRIxnKlyRXfUsDHLHujdw3QEs luldn2D0ONVchfJ0kMneg4fiYMDDknK0mzmEGwrS8/is3Jcmg840J51ydkaM2GKwp+FCZV 91gq0hYsWV3YzQJJ9gniKk9IYRwo+T6XA/aGINpiqGbmOldUVKgZBgfLbmTUvSBdShHoGz XJdWRS7C9ID5qULT8RVYpm/j+qKd5Bukl2SrG8Aqmsb0h8tOcTmYZ4ilA4vPhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=FU0oMJMu; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721515508; a=rsa-sha256; cv=none; b=fUVIkVBdLi+P3fDOIfp+VwLbOq0PpPHfM6usevFoOojI34VuZHjZhXlPjugxrXS068DJVi PGZZg84/uMKE0zYZIncLppA/pLtIQKC3vwC/ZYX5XSxixvN+il3ZjxdbsQtbWDunecmnP8 Fq+I8Qp0uxkQxIdStPxw2e1ra//zlzUOUpEpfmSXMF6j7TVBObTUFLpYt02gMBHTPppvxq +rFiF1iiUEevIQuTPhd8xSPskLeYFiWeSB3L1RVlsNA6JNj6dAQfW8u2wrfOhqirAH3HZD 1Xw4/vn5ChQL39J20wTp3stoN/4Lul+szlgsRl4ZYPVIXgZHTQL33Gve6T88BQ== 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 0F5373D3F2 for ; Sun, 21 Jul 2024 00:45:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVInQ-0004iB-A4; Sat, 20 Jul 2024 18:43:20 -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 1sVInN-0004cB-C8 for guix-patches@gnu.org; Sat, 20 Jul 2024 18:43:17 -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 1sVInL-0004NO-IR for guix-patches@gnu.org; Sat, 20 Jul 2024 18:43:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVInM-0001oc-C7; Sat, 20 Jul 2024 18:43:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72219] [PATCH 29/34] gnu: Add python-sbpy. 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, 20 Jul 2024 22:43:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72219 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72219@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 72219-submit@debbugs.gnu.org id=B72219.17215153726618 (code B ref 72219); Sat, 20 Jul 2024 22:43:16 +0000 Received: (at 72219) by debbugs.gnu.org; 20 Jul 2024 22:42:52 +0000 Received: from localhost ([127.0.0.1]:54120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVImy-0001ia-59 for submit@debbugs.gnu.org; Sat, 20 Jul 2024 18:42:52 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:58784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVImg-0001fV-W8 for 72219@debbugs.gnu.org; Sat, 20 Jul 2024 18:42:35 -0400 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4266f535e82so20513225e9.1 for <72219@debbugs.gnu.org>; Sat, 20 Jul 2024 15:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721515288; x=1722120088; 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=DO9ehLo5cZ10M9hG4zY7xhG+4S5vMHFm8fPNXT7BOVk=; b=FU0oMJMuNKE+vzTibj27+nJbzF3D/q05lmhOU1MuKh3YKkSXBUIKOqOBFT7GLthsQS kUFI+KuuWJybYFkseoEq43luhOZOFbRadNCBmrHKk42sy/mMx+wooUh7Ti15/RC1EVrg Snq+apxRL+DX1pDkohV55XJN97NogdmQDrW7ZCQlPGLkoAwZxbJFee4VrkCrPgq/m6NC /cOSOGNSAZ2wqX+YUugVtRbXXFpnOZzU854HYOr4ZjtdnLKUjwPvXWYIW/kBq+m9NGxw NhLhRkTGYoY2K/OY8HpxgUVOJLQkM+Koky4SL6Kqew7NklS7JJpdLxSIVrqgrHagvGct 0kEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721515288; x=1722120088; 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=DO9ehLo5cZ10M9hG4zY7xhG+4S5vMHFm8fPNXT7BOVk=; b=ltq6wlBgJ0JwOknv6Y97YEpiqzdNttsl2p9dZGSjQC1vJ7+PDa/2HvKRJn7Xp35/rb KAVwp9QCPAiSajpLHSUwsLIFetN/rJtGjftuU3BuiraCWcDsBH/tzq7MzyNukFG1C80R Rj2wghlUYqYtKc81RiiD7JNCUNxDfahWu3pgszNqMHIfWEjnWmykcPL1gAaXJnc7zUt6 Z+Fnwz46aeQt6KiF80/0h/JYaQsHMf8U7rX7dr4Vd/nwuvZPekHZjYdpjhfISdMpheiW 24UJs78Oxbysm8qck41CuzQqPPo2BQ5h4GQncfVPiZMVJd78buweA2L2hlmawvVBN7qd /0vA== X-Gm-Message-State: AOJu0YwuPpA8xMgTo1owouBVbmWsJG9uAWLe4l0w0bEbFq9nNoJLWVAd 2kFpnRhpYSVkYGiT1wem1TTjVC5hkJkaQIHQg/RDc2l8rIfGhZKxZAiuD/Xq X-Google-Smtp-Source: AGHT+IHH1p+G95Xoc29ACZ6ND90lr46mGjVVeEkfA43URg8dCDeU1Oavd2Q7nrMKXXIJsHZ/t9V1fg== X-Received: by 2002:a05:6000:4029:b0:367:9d82:8370 with SMTP id ffacd0b85a97d-369bb0a165fmr2417132f8f.45.1721515288449; Sat, 20 Jul 2024 15:41: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 ffacd0b85a97d-368787cec6bsm4690294f8f.71.2024.07.20.15.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jul 2024 15:41:28 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 20 Jul 2024 23:40:52 +0100 Message-ID: <5c140b14ee050e63958ce9ecec28b6bf63330e4f.1721514687.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.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-Queue-Id: 0F5373D3F2 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.81 X-Spam-Score: -3.81 X-TUID: GZpruQ4K2kd6 * gnu/packages/astronomy.scm (python-sbpy): New variable. Change-Id: I456f1400ce072d3a2e4cd263349f57c5779f36c5 --- gnu/packages/astronomy.scm | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c25e49e411..307d85578f 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -57,6 +57,7 @@ (define-module (gnu packages astronomy) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages image-processing) + #:use-module (gnu packages jupyter) #:use-module (gnu packages libevent) #:use-module (gnu packages libusb) #:use-module (gnu packages lua) @@ -4641,6 +4642,73 @@ (define-public python-pysynphot spectra, and data.") (license license:bsd-3)))) +(define-public python-sbpy + (package + (name "python-sbpy") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sbpy" version)) + (sha256 + (base32 "18f3056fgzpvjj43m845wl9znl4dqxs8f8qv3gpay7kik4l8a1fc")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; See . + #~(list "--ignore=sbpy/spectroscopy/tests/test_specgrad.py" + ;; See + "-k" (string-append "not test_from_fluxd" + " and not test_bandpass" + " and not test_spectral_density_vega_bp")) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home-env + (lambda _ + ;; Tests require HOME to be set. + ;; No such file or directory: '/homeless-shelter/.astropy' + (setenv "HOME" "/tmp")))))) + (propagated-inputs + (list python-ads + python-astropy + python-astroquery + python-ginga + python-numpy + python-photutils + python-pyyaml + python-scipy + python-synphot)) + (native-inputs + (list python-pytest + python-pytest-astropy + python-pytest-doctestplus + python-pytest-remotedata + python-pytest-xdist + python-setuptools-scm)) + (home-page "https://sbpy.org") + (synopsis "Python module for small-body planetary astronomy") + (description + "@code{sbpy} is a package for small-body planetary astronomy. It is +meant to supplement functionality provided by @code{astropy} with functions +and methods that are frequently used in the context of planetary astronomy +with a clear focus on asteroids and comets. +Features: +@itemize +@item observation planning tools tailored to moving objects +@item photometry models for resolved and unresolved observations +@item wrappers and tools for astrometry and orbit fitting +@item spectroscopy analysis tools and models for reflected solar light and +emission from gas +@item cometary gas and dust coma simulation and analysis tools +@item asteroid thermal models for flux estimation and size/albedo estimation +@item image enhancement tools for comet comae and PSF subtraction tools +@item lightcurve and shape analysis tools +@item access tools for various databases for orbital and physical data, as +well as ephemerides services +@end itemize") + (license license:bsd-3))) + (define-public python-sep (package/inherit libsep (name "python-sep") -- 2.41.0