From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yDsAHwA+nGbNQAAAqHPOHw:P1 (envelope-from ) for ; Sat, 20 Jul 2024 22:45:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yDsAHwA+nGbNQAAAqHPOHw (envelope-from ) for ; Sun, 21 Jul 2024 00:45:20 +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=LopOb1QI; dmarc=fail reason="SPF 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=1721515520; 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=73RHbLQusBW3rqjxM1pnQteuvY9rMJpx+KiXuH5uUD8=; b=INRfbD8uxG8PG3tS7dfa110MDk0lv6ncKUqpCiIJHSw7jCRLmcFmrFxxJTHj1cfHVQEJu3 +AjDOuMyg+XPoM0DLKRE0e7i2O2boD69msLQmLgMKdW+WW7mQI3AprAGkymTQGxe7t71VC VAB8lKq87JN3kVKUcJumXYpc08id7gsujgxKUFCEv7cylMTaDkNKz+dtLx8a9CxerGBdbr t21uhIrQWSX0FXKP/yyu1brKG6eXzbhWvw9nQxvSfhIA21jlfQayFiZSIbXBX5MUeVS/6l phqojvjONxy7FPwEy4IqPZof0FuMRqR6yQAf2N6DmtkMXf3w0drJZc93sCCUfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721515520; a=rsa-sha256; cv=none; b=Hs3/juB0EkJyeA5Qs6bdu8OeQRNdQ1bM/NMKGfaJ2RCyjCMSmlZaBoWrPEp8bqq3Vn5Z9d qoUhXuzh0h0ttxWV24UzBiK7z6qIdJnUQcXAfQ/ygh5Ymu66N/OcU2oxYG5RaHXnVTGbUx 7NZVJgFHR5XrbzasZ93K8bHA+DdFH86Njzvt+bBBPgYx2s+Pi4HV5bcNkvdKkZg+iAMu0X 7IpVnEPfaw36okezCalrHRbPbbZ4eTJmS3x+kXvvbgTanyhtc2FW5o9NxCm5niFUZR0dTy Ivy6PuOGKx7f39HLfn0VpW6ecTdanpFaT404XLBt6xYRyCJGWaHHufNH94gFVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LopOb1QI; dmarc=fail reason="SPF 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" 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 4888316559 for ; Sun, 21 Jul 2024 00:45:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVInT-0004m7-HO; Sat, 20 Jul 2024 18:43:23 -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 1sVInL-0004ZW-8T for guix-patches@gnu.org; Sat, 20 Jul 2024 18:43:15 -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 1sVInK-0004N6-Id for guix-patches@gnu.org; Sat, 20 Jul 2024 18:43:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVInL-0001oG-Bo; Sat, 20 Jul 2024 18:43:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72219] [PATCH 27/34] gnu: Add python-kanon. 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:15 +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.17215153716602 (code B ref 72219); Sat, 20 Jul 2024 22:43:15 +0000 Received: (at 72219) by debbugs.gnu.org; 20 Jul 2024 22:42:51 +0000 Received: from localhost ([127.0.0.1]:54116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVImx-0001iK-8w for submit@debbugs.gnu.org; Sat, 20 Jul 2024 18:42:51 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:51263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVImf-0001fE-M0 for 72219@debbugs.gnu.org; Sat, 20 Jul 2024 18:42:34 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42797bcfc77so22437655e9.2 for <72219@debbugs.gnu.org>; Sat, 20 Jul 2024 15:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721515287; x=1722120087; 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=73RHbLQusBW3rqjxM1pnQteuvY9rMJpx+KiXuH5uUD8=; b=LopOb1QI3zW1ZKPpJ21/XatLnVuRsuKLWKWjTFbSsztf/I8TkmEkaCzyvrJLIWjB1/ N2B6uKvEdLK4PpqL4WECIxvUE9Axisjs6jp8TBunTgDNLrAofTx08AJoPlDoIGdjy87/ DzKHKoiTKkuHezALmtxZIL+5G2kovXhoMSQnCD2cOuu0+Fqo7+MDfFUcs8HsiQxJxXs5 3mrgqrFu3zmoq5pY99xZHKeM/5fQTmrtZFWjGXVycPRAFkMycZtZDKz7DNwKsfOQxWEG Nz2B4DC8iWcZvxonB9nSikLaBEX7xY7ZTSyII9Hwkp9SqgdOJynVu/nQGN9IXXgeZqRy txcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721515287; x=1722120087; 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=73RHbLQusBW3rqjxM1pnQteuvY9rMJpx+KiXuH5uUD8=; b=v1jqojgvaSHYnFsXShW9fsbl7uoOKYry/m3LOOeNmlQcUcyPWzMJNHKB2X19W0hjJn fUCXug6MV1MYLc1SUWRvLMEZW9AdljIb4BtcnjhDPB8wcLadYVv/d9cdGaUi1Tm00FtQ vob8fGa8Cl+nhK3rbSwaXxK2gb3jDpN/tjAI7Bmmtttxkt/7DbLol5OiYZDVrhZhhufj KQqzEWU3qzzviATxs1HzPxLY1JMPqH7lUWO2/OaqvA+E6epaNtcGnBaS0BKrM2II70zD c5qhPr3Wmi4YqRWD78U2pj6xdiPin3tBlBL7ALrQMiQ/u69OWoSPHBJ8VU9zt6rfePSv 1WpQ== X-Gm-Message-State: AOJu0Yww691kF8OPm3Do6BYohFiG5t3uiKlD0PQMcXjObJUBcebEXiF9 HtcHIg7OjxlbGS4AF/R+6UgdOwggdPuSTYu/DzHBtkLrXIyxLihlcNeqwpQR X-Google-Smtp-Source: AGHT+IGA/ZWUpFNZWzTH/aqQ9rOP24kCCP8WUkUf6mqVY8AMVQt3Sp/QIMO5yzWEGWBzsydtnigrNg== X-Received: by 2002:a5d:4a4a:0:b0:368:38ab:65f4 with SMTP id ffacd0b85a97d-369bbbd87famr1382349f8f.38.1721515286998; Sat, 20 Jul 2024 15:41:26 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jul 2024 15:41:26 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 20 Jul 2024 23:40:50 +0100 Message-ID: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4888316559 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.81 X-Spam-Score: -3.81 X-TUID: j8n+IUqktl9R * gnu/packages/astronomy.scm (python-kanon): New variable. Change-Id: Ibff5d7b92f819c41bfb7f6b76e73c5815c8f3cae --- gnu/packages/astronomy.scm | 83 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index e8a1f52f26..fa832ee93f 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2381,6 +2381,89 @@ (define-public python-hvpy @url{Helioviewer API, https://api.helioviewer.org/docs/v2/}.") (license license:bsd-2))) +(define-public python-kanon + (package + (name "python-kanon") + (version "0.6.6") + (source + (origin + (method git-fetch) ; no release in PyPI + (uri (git-reference + (url "https://github.com/ALFA-project-erc/kanon") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sg9yrsas5xmhbw6mhfyxsxh9i060af6v02whr9fqgv687fiyrhc")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list ;"--numprocesses" "auto" + ;; XXX: This tests failing a lot. + "-k" (string-append "not test_attribute_forwardin" + " and not test_declination" + " and not test_init_basedquantity" + " and not test_ptolemy_viz" + " and not test_ptolemy_viz" + " and not test_quantity" + " and not test_read" + " and not test_shifting" + " and not test_sun_true_position" + " and not test_sun_true_position") + "--ignore=kanon/tables/__init__.py") + #:phases + #~(modify-phases %standard-phases + ;; See . + (delete 'sanity-check) + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + (("version = \"0.0.0\"") (string-append "version = \"" #$version "\"")) + ;; RuntimeError: Unable to detect version control + ;; system. Checked: Git. Not installed: Mercurial, Darcs, + ;; Subversion, Bazaar, Fossil, Pijul. See + ;; . + (("enable = true") "enable = false")))) + (add-before 'check 'prepare-test-environment + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs + (list git-minimal + python-poetry-core + python-poetry-dynamic-versioning + python-pytest-astropy + python-pytest-xdist + python-requests-mock)) + (propagated-inputs + (list python-astropy + python-matplotlib + python-numpy + python-pandas-1 + python-requests + python-scipy + ;; Optional + python-ipykernel + python-papermill)) + (home-page "https://dishas.obspm.fr") + (synopsis "History of astronomy") + (description "This package provides a history of astronomy library. +Current Features: +@itemize +@item define standard positional numeral systems with standard arithmetics +(BasedReal) +@item set your own precision contexts and algorithms on arithmetical +operations (PrecisionContext) +@item keep track of all operations +@item build or import ancient astronomical tables +@item perform arithmetical and statistical operations +@item support for BasedReal values +@item define new calendar types +@item date conversions +@item collection of mathematical models used for all kinds of geocentric +astronomical tables +@end itemize") + (license license:bsd-3))) + (define-public python-mpl-animators (package (name "python-mpl-animators") -- 2.41.0