From patchwork Sat Mar 22 20:29:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 40673 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 7C04427BBEA; Sat, 22 Mar 2025 20:32:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,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 E7D6027BBE2 for ; Sat, 22 Mar 2025 20:32:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tw5Vo-0002JA-ND; Sat, 22 Mar 2025 16:32:08 -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 1tw5Vm-0002HF-9e for guix-patches@gnu.org; Sat, 22 Mar 2025 16:32:06 -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 1tw5Vm-0006xO-0f for guix-patches@gnu.org; Sat, 22 Mar 2025 16:32:06 -0400 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=P35at/r/BHUUByerWVHeMxi75FNdrHqnDiIJm4oFRJE=; b=DE+nE3iE4Q+bgwjQNgGf5bqc+0Y/L7aYbR8YxnHU91hIrWfZYmzdf+qT8fLtspHc8QQTKcWuNf5XX4LJdk6+Hmi81bl04cPdYAgZgm24RsZGUgmGjjFad70UFTVEYSj+nwys81dDfbX6VWJilLxXIZroxf7eqWd+SIMZmubtGv2UMuAlxvmtrrvtIFpxFdlCmqWLSRTHY8FqZJnx0eOe1dA36SP9AZWM3/xJVRwVhfgkTrSXok5notDaR5yVq2IyFax946wp6NsYF0SnW6AfnXthyabbem+NdFHmQRRbrhRFaUZO76TXivil6ocKcWIUGJhbs1AiuRTjszrSUIPhFA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tw5Vk-00009B-5R; Sat, 22 Mar 2025 16:32:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77190] [PATCH 31/34] gnu: Add python-pint-pulsar. 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, 22 Mar 2025 20:32:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77190 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77190@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 77190-submit@debbugs.gnu.org id=B77190.1742675486344 (code B ref 77190); Sat, 22 Mar 2025 20:32:04 +0000 Received: (at 77190) by debbugs.gnu.org; 22 Mar 2025 20:31:26 +0000 Received: from localhost ([127.0.0.1]:45781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tw5V6-000057-L7 for submit@debbugs.gnu.org; Sat, 22 Mar 2025 16:31:26 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:43241) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tw5Tb-0008C0-Kg for 77190@debbugs.gnu.org; Sat, 22 Mar 2025 16:29:52 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43cf680d351so24899635e9.0 for <77190@debbugs.gnu.org>; Sat, 22 Mar 2025 13:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742675385; x=1743280185; 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=P35at/r/BHUUByerWVHeMxi75FNdrHqnDiIJm4oFRJE=; b=RjQd1y+GqJH7x5SRX2Cdq1e2dqASktBgV2PL1Pc1RfJenhycgY3moTN7YLLR5YN08j uWP8mpTpsEHCwTVKAnKncZwQcD7Ol7QZYAmvMTcsSFuH07nUmFbb8OMnftUmxgma8TLU D7vrdsS1Fa8nqpAeCe2nodWcxRY4MxmEbQOKZGzJL1J1BbNNMrAldFY8anMJhemsBaKW jaXpFdYyhnHuVnTJmg7h9OrgYtC7jdyBCdfhmLzSV6hONQPv6vu7ZwRaZwgi7f9QrTBQ rwwL7jyLSVAbH66PcrBOC/c5MElRY6kyRxB8/7epZyEogFPkQKGYz074BshE2s9U5+ih RutQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742675385; x=1743280185; 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=P35at/r/BHUUByerWVHeMxi75FNdrHqnDiIJm4oFRJE=; b=jRMqz/yoDpzJAwRfSdg3tzvwFvC+OUTzfSBpWM2zOTOPb4AueB9T2RwZ4zBnmwx1tb dWj9HVLcAgvz5cKbUN7k2WxUxH0CEVs0lUw7yUU4R00MBbgcy4BfE5zAPkhrFgvvWMyp HZPiW6ndJmMhpJu1NQcpvU4J7LT0rURCmz7V5IldwWgZhf76k0fBt+EbHHxlv9GYddeK e++J+XhJ5yCQWrAJM9zniLkWnOEn4LFMbDs0Fp9WRmvRWVZAXLyCOf7vYELU9OEohgUZ 49uoK++WfCarEVdJIBrOOtbYQ20RzT12kGbuKjj6mGl3cnkaEEfMXxZ5H+wENrLfoKNg 4xfg== X-Gm-Message-State: AOJu0YwdyjQzQynpX51/AttgpazBKwexH0mMWmL6fF+Jxtx8XZZRbrh6 BRmb0mb569wllio9RYzJxU8Pj7+T75W6Db92FBOBn8+ZmCTwXbxgKzWjLmKV X-Gm-Gg: ASbGncucAdLXgsHZTw+7lg2yOEdFXxFCi+9pFIVprSilgn9dyxeUHVE/w1HZLYa/FjW xMUHSUjwUiPwDPHNjy7I8X7wxySHDSePDoLZeIOQrb+8hCSZrzZc97gZHEUROaIHLE5KFnqadKf 1wJinV2RgWTl+o47t5tkH9m2vb1CtIK0iSg5EkYobSuiQHs0sCf7JTmvtDH4BZDpVvIYkDD2tNv jRLKTnpd3OnjnvqMDcxxWiTxfxyjPRVgV6n2cJievQapCH+AnYmg10rJKTwoCIW4Od3+7pvKCUZ 8glDC5drHATAzUr13F3suWK7/KtC6ge286wLPM65odViJnP1LexxDxaWISHS8gF6tVUAFYMvyQC QTmbDfHPC/p5ziLwCvWE/FFuEK3ohn1dscfbdkFFg X-Google-Smtp-Source: AGHT+IFHgGF9Cj4kGBwZTz2P3AV1DdJJ2alvpHH+6XrMKw9YFCoH8KADdK6/C2/NnPJ6lfjGmS8HRQ== X-Received: by 2002:a05:600c:a09:b0:439:5f04:4f8d with SMTP id 5b1f17b1804b1-43d50351974mr53954955e9.12.1742675385287; Sat, 22 Mar 2025 13:29:45 -0700 (PDT) Received: from localhost.localdomain (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fcea65fsm67875535e9.7.2025.03.22.13.29.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 13:29:44 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 22 Mar 2025 20:29:04 +0000 Message-ID: <46878c6d98af3cb1bd00cbee7528f3582618ce05.1742668052.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.48.1 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-pint-pulsar): New variable. Change-Id: Ib2a6bc537c641c3cddd2b05418c30b515db4aad3 --- gnu/packages/astronomy.scm | 113 +++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index de37d6b2e6..c1dd9a9b1e 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6809,6 +6809,119 @@ (define python-asdf-wcs-schemas install an implementation package such as gwcs.") (license license:bsd-3))) +(define-public python-pint-pulsar + (package + (name "python-pint-pulsar") + (version "1.1.1") + (source + (origin + (method git-fetch) ; no tests data in the PyPI tarball + (uri (git-reference + (url "https://github.com/nanograv/PINT") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i8vznjgbdhrfv6kcq33zvsn6q40r29sscy8fmk13vx2zfwl8nf0")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" (string-join + ;; Tests failing with assertion on not correct precision + ;; or missing data files. + (list "not test_astropy_observatory" + "test_copy_wideband_fitter_object" + "test_IERS_B_builtin_agree_with_IERS_Auto_dX" + "test_astropy_observatory" + "test_time_construction_jds_exact[tdb]" + "test_copy_toa_object" + "test_copy_residuals" + "test_copy_fitter_object") + " and not ") + ;; XXX: The most of the tests require additional data, select + ;; files where they may run without it and check how to enable + ;; more. + "tests/test_Galactic.py" + "tests/test_all_component_and_model_builder.py" + "tests/test_astrometry.py" + "tests/test_astropy_observatory.py" + "tests/test_astropy_times.py" + "tests/test_astropy_version.py" + "tests/test_binary_generic.py" + "tests/test_binconvert.py" + "tests/test_compare.py" + "tests/test_compare_model.py" + "tests/test_compare_model_ecl_vs_icrs.py" + "tests/test_convert_parfile.py" + "tests/test_copy.py" + "tests/test_covariance_matrix.py" + "tests/test_datafiles.py" + "tests/test_derived_quantities.py" + "tests/test_derivedparams.py" + "tests/test_dmxrange_add_sub.py" + "tests/test_erfautils.py" + "tests/test_eventstats.py" + "tests/test_funcpar.py" + "tests/test_kepler.py" + "tests/test_leapsec.py" + "tests/test_model_manual.py" + "tests/test_numpy.py" + "tests/test_observatory_envar.py" + "tests/test_observatory_metadata.py" + "tests/test_parfile.py" + "tests/test_parunits.py" + "tests/test_pb.py" + "tests/test_phase.py" + "tests/test_pickle.py" + "tests/test_plk_widget.py" + "tests/test_plot_utils.py" + "tests/test_plrednoise.py" + "tests/test_pmtransform_units.py" + "tests/test_precision.py" + "tests/test_prefix_param_inheritance.py" + "tests/test_priors.py" + "tests/test_process_parfile.py" + "tests/test_pulsar_mjd.py" + "tests/test_pulsar_position.py" + "tests/test_reduced_precision.py" + "tests/test_satobs.py" + "tests/test_t2binary2pint.py" + "tests/test_tcb2tdb.py" + "tests/test_templates.py" + "tests/test_variety_parfiles.py" + "tests/test_version.py"))) + (native-inputs + (list python-pytest + python-setuptools + python-versioneer + python-wheel)) + (propagated-inputs + (list python-astropy + python-corner + python-emcee + python-jplephem + python-loguru + python-matplotlib + python-nestle + python-numdifftools + python-numpy + python-pyerfa + python-scipy + python-uncertainties)) + (home-page "https://github.com/nanograv/PINT") + (synopsis "Software for high-precision pulsar timing") + (description + "PINT is not TEMPO3 - package providing a Pulsar Timing, written in +Python from scratch. +Features: +@itemize +@item a robust system to produce high-precision timing results that is +completely independent of TEMPO and Tempo2 +@item a system that is easy to extend and modify due to a good design +and the use of a modern programming language, techniques, and libraries +@end itemize") + (license license:bsd-3))) + (define-public python-rad (package (name "python-rad")