From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aOfgH4QkZ2dvuwAAqHPOHw:P1 (envelope-from ) for ; Sat, 21 Dec 2024 20:26:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aOfgH4QkZ2dvuwAAqHPOHw (envelope-from ) for ; Sat, 21 Dec 2024 21:26:44 +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=UQAqg9zS; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=AwL4aDQA; 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), DKIM 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=1734812804; 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=LmzICAG+ez6ZxCHaL7I4G4gu7RNBgqdWTFe9EZpZ3rY=; b=t3pR5BTO99G9ctptUgLLhXZNMUarnMTgh2Bv3mczRGgMUN3iiKb85lqWqfflJHsDVQY2UI GB8buO5/XCiLlOhY2GHq/0NlHfDg47xbzQOgMg6D0bzf5te8Idh8GutjyWrFPmBx0TcwLB FT4KNGWUVOo42BlqXqNSAvJldWy36zUHGN/JZj5zm163y4NaYo9oqpcY3N4IzEng2gOLZe agTJUkaAPfGKQUSsJLGEhEGdOXbEzv+1exLoaxwIIFQQjPjesFlFa54CSzmdDmnDNF7yB6 C80mctE0V1KyYyNASNBmcdNnstsj71Y6Fl1i6gyexiRkxHuAuI+llJ1Su5aYfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=UQAqg9zS; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=AwL4aDQA; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734812804; a=rsa-sha256; cv=none; b=b5+BYuTjjdbPSddEh9gfQ1rLLZ8GmUgQWRy+/aIhuNy9oXRKZpRHrhAlbEfRE52hodOGe9 U4HicSHaQXlQ8uxnIXUU33gtUfZRw7a7AQ/GVFUYDVVJ45tM9mWtQsjoXFrm8hhRh0a7Yl h1C31XqyUQrvBFWW8qaVolrQQ6DPDiJ3bosFWca5/z70j8DCKys0c/YKMdfUP5nIot35wT mDc9fyBXJSYYuLe2Sx+SCfEmCbbP/D69+SS6D06mDpuR/j9PcWiN1M3parZqnYYF3aZsXs 9wPTZWc96Cpuc2kVyy8SM2444of70DUamNn+dyAFRx/3aRlZPjZiYzfhUu31Tw== 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 0B835946F5 for ; Sat, 21 Dec 2024 21:26:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP637-00044d-7H; Sat, 21 Dec 2024 15:26:09 -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 1tP62S-0003bx-Px for guix-patches@gnu.org; Sat, 21 Dec 2024 15:25:30 -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 1tP62R-0001kC-In for guix-patches@gnu.org; Sat, 21 Dec 2024 15:25:28 -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=LmzICAG+ez6ZxCHaL7I4G4gu7RNBgqdWTFe9EZpZ3rY=; b=UQAqg9zSWkunbv7BOK6sOz0DUfxE1Iv/USqU7OUcZ3QZowsx331qMDGK0ueYS868nUtGFvgDS1bQ8a2AEGvNUdvT46uQSM6CfZZzvDH7G/94KTZtxYmkLwl3k36+Q61kIOu87wiJciy5XwVd6ASA5mVoCbsuMfNTn4704VsbPOpTxrTS3d7fG3lVbIqip9ZGx8bHhJEcR+r9rwq9LhnwrGALgWBhwXioCoWLLpYh7mfNli9k1kdAXoKX8XlxucuiO5fMdhWeHyYHgTO4/+qj/frXKhiexW2U+Ip5w631tIw3y77gxZTKj90HoZGH8GgoM61YTbU3+yTBOmFRbum6BA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tP62Q-0006ep-FR; Sat, 21 Dec 2024 15:25:26 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75015] [PATCH 38/38] gnu: Add python-pysat. 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, 21 Dec 2024 20:25:26 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75015 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75015@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 75015-submit@debbugs.gnu.org id=B75015.173481271125142 (code B ref 75015); Sat, 21 Dec 2024 20:25:26 +0000 Received: (at 75015) by debbugs.gnu.org; 21 Dec 2024 20:25:11 +0000 Received: from localhost ([127.0.0.1]:47946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP62A-0006XF-Gi for submit@debbugs.gnu.org; Sat, 21 Dec 2024 15:25:11 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:52504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP61t-0006PD-7z for 75015@debbugs.gnu.org; Sat, 21 Dec 2024 15:24:53 -0500 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-436341f575fso32217965e9.1 for <75015@debbugs.gnu.org>; Sat, 21 Dec 2024 12:24:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734812628; x=1735417428; 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=LmzICAG+ez6ZxCHaL7I4G4gu7RNBgqdWTFe9EZpZ3rY=; b=AwL4aDQAQFr1GetiIasZjuzQ0kdfCHwxihYhHaSa0q9bVjdxa9VhCjMgNdxTXLTxPP HyMOUljKgjEdBV5MdBxh0oyB2ze9QgihUwak+Aumrug32a/IH9SLTHWeNBJxL9/OID55 pdNkGX7mbwigDxtrAKiiCYuaCrYPwLqDA2aJtuUvdRXNsB4e4Sqv2REfW/gCuYV0JCIQ 66BAfSPiUbKd5fOyB4NKfURIyyc5MchaAUe3ffYf2/EoHetI5l7S4RQaF8FM4pzayWVQ BMfq8Vl+gTeP5uY4yFWxwY7ICoecCptyAkkJG/KPdtb6VJndZjzJ3fIMjhkCUwX/oXpQ BuHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734812628; x=1735417428; 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=LmzICAG+ez6ZxCHaL7I4G4gu7RNBgqdWTFe9EZpZ3rY=; b=whIICTrzMUojHcyyRrM8Z7zS9UjmVuxk6VQAV0PoeHU4NENF1Y7YhM2WSRkyJ0wSel Hb6up/INWAkj1pg4V6iaxTNJcIRD1SqyfiHkyvT1ft485z2pGOpoXOhm/neSz+ngvfJT GUNM7V64pMcEVVzvbJTaWihn8haAWJEA8IqPz/oN7AKMMNTw+jXx9ua/FjJ4Elrvir/A hlTVDh1HRID+22u2ieQCxMUVbybzoqaGQxzp0xC2SYEsIUr8yFMUPg9ouneqvEp/6Ct6 5TXZUlQLzL4IMu2NJBIWLdJNSFx4uhCjxw0DE2nnLTv+2iWDD5WK8O8rKiF8+XFtQrOG AVSA== X-Gm-Message-State: AOJu0YzXisPbcc7QU2w3iWiNoG6gNSif41DpP2xC3eDAQijt2cEz0zxh Vipxwjn7QdnIiH4ToYbLp0WORHry/oYJSreizgcnz2ElAMZOkuXVFMnOiD26 X-Gm-Gg: ASbGncudlT1qusIaf2Kx1PyUW90Gbzv6vDI0jaIkrEM2pzev6lacdOURjkraIYTOj6i 9jVk+Iw8tvKdSb/Ui7buKr437j60zco66XgWHzQGCHTQUPAzx2ZjcvAJP4JSzKS4gdU5NZfP4l0 Af5dyqGZnaSYoJwO5/HYlV1W//x1adQiOrIAc8/gYm1iQZpxehcHz+/ufl3SLcGbPxuroFz6eHN s931TsQBAz+BULuNZpVGS40m7QFb3oI4eS5H6/sgahg0zMiXsEh9bUUhYSpH3OvzWapyDxocE/R PPwh36gJv5YVCE/1754isxVHlIx1DsAYxay+Z4vE3uQf/gD7 X-Google-Smtp-Source: AGHT+IELPvos5GRdTX5i75sOa/tpUV4YedjgePonZLi96INaqsLTEe7HN8h883pw9XdwjcPMHqHXrA== X-Received: by 2002:a05:6000:2ad:b0:386:3a8e:64bd with SMTP id ffacd0b85a97d-38a221f2c6emr7637578f8f.22.1734812627573; Sat, 21 Dec 2024 12:23:47 -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 5b1f17b1804b1-43656b013a1sm119695615e9.11.2024.12.21.12.23.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 12:23:47 -0800 (PST) From: Sharlatan Hellseher Date: Sat, 21 Dec 2024 20:22:58 +0000 Message-ID: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.19 X-Spam-Score: -3.19 X-Migadu-Queue-Id: 0B835946F5 X-TUID: jv0KMENELzCv * gnu/packages/astronomy.scm (python-pysat): New variable. Change-Id: I689f2423bd811af31190aac37111340b17d0aa0f --- gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a0fb2cedf2..6e3e6fb928 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5634,6 +5634,63 @@ (define-public python-pyregion @end itemize") (license license:expat))) +(define-public python-pysat + (package + (name "python-pysat") + (version "3.2.1") + (source + (origin + (method git-fetch) ; no tests data in the PyPI tarball + (uri (git-reference + (url "https://github.com/pysat/pysat") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xsxj66ybh7q3n68nlasz23x8lsdamny92r960gipzk8xmwwzmcw")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--durations=10" ; report 10 slowest tests + ;; Tests require pysatSpaceWeather which is not packed yet. + "--ignore=pysat/tests/test_utils_files.py" + "-k" "not test_from_os") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Do not run test coverage. + (substitute* "pyproject.toml" + ((".*addopts.*cov.*") "")) + ;; No such file or directory: '/homeless-shelter/.pysat' + (setenv "HOME" "/tmp") + (mkdir "pysatData") + (invoke "python" "-c" + "import pysat; pysat.params['data_dirs'] = 'pysatData'")))))) + (native-inputs + (list python-pytest + python-pytest-xdist + python-setuptools + python-wheel)) + (propagated-inputs + (list python-dask + python-netcdf4 + python-numpy + python-pandas + python-portalocker + python-scipy + python-toolz + python-xarray)) + (home-page "https://github.com/pysat/pysat") + (synopsis "Supports science analysis across disparate data platforms") + (description + "The Python Satellite Data Analysis Toolkit (pysat) provides a simple and +flexible interface for robust data analysis from beginning to end - including +downloading, loading, cleaning, managing, processing, and analyzing +data. Pysat's plug-in design allows analysis support for any data, including +user provided data sets.") + (license license:bsd-3))) + (define-public python-pysiaf (package (name "python-pysiaf") -- 2.46.0