From patchwork Sun Aug 14 01:09:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vagrant Cascadian X-Patchwork-Id: 41612 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 0C79927BBEA; Sun, 14 Aug 2022 02:11:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable 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 C534427BBE9 for ; Sun, 14 Aug 2022 02:11:18 +0100 (BST) Received: from localhost ([::1]:60648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN29t-0001hi-UR for patchwork@mira.cbaines.net; Sat, 13 Aug 2022 21:11:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN29e-0001ha-9n for guix-patches@gnu.org; Sat, 13 Aug 2022 21:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oN29d-0008Sz-Ve for guix-patches@gnu.org; Sat, 13 Aug 2022 21:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oN29d-0003jZ-Q2 for guix-patches@gnu.org; Sat, 13 Aug 2022 21:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57191] Add python-suntime. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Aug 2022 01:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57191 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57191@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166043940214258 (code B ref -1); Sun, 14 Aug 2022 01:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Aug 2022 01:10:02 +0000 Received: from localhost ([127.0.0.1]:35398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN28g-0003hu-9N for submit@debbugs.gnu.org; Sat, 13 Aug 2022 21:10:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:47932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN28c-0003hQ-Sv for submit@debbugs.gnu.org; Sat, 13 Aug 2022 21:10:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN28c-0001Zo-MW for guix-patches@gnu.org; Sat, 13 Aug 2022 21:09:58 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:35092) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN28a-00089C-E5 for guix-patches@gnu.org; Sat, 13 Aug 2022 21:09:58 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id A3E741ABFD for ; Sat, 13 Aug 2022 18:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1660439394; bh=ZNrnXztiXuhHgUo3SnQBHR1tLqsZmfUmvPWNxLt0J/4=; h=From:To:Subject:Date:From; b=UWLd2irphR9XHbr39DfyHSTuqdqESrxcOCDOP4stlwoL6ZQna30SupswVey/rTUx3 Kda3JWRU4++G+w+2sAP3Gf5KCpf7FYp93fr8uAlqifrBmfFOZln94rWQVyvfICG6zX KyS2n286VIv/EtsjC7BqtnYZIxRK6KF6ety+evkkXfFC57eLFKGvbcZMvHdQMyYQxp hNf+nkIVsEHYTDvt/eJwF2q0nMpR8n0bahd7g8CVv5jbWz2/MRtDIEa2tpVShwd2R7 L1Yvf/1BsvSMwijQzPCot8ce/2vszvatdGp5tvJGSiWgn3V3hSUV/JzE1J3ALoks1n IK9WweNvg8S7A== From: Vagrant Cascadian Date: Sat, 13 Aug 2022 18:09:49 -0700 Message-ID: <87r11jwrz6.fsf@contorta> MIME-Version: 1.0 Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches From 73f8a31fcaf8abab962e0f30407407b267222614 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sat, 13 Aug 2022 16:40:58 -0700 Subject: [PATCH] gnu: Add python-suntime. * gnu/packages/astronomy.scm (python-suntime): New variable. --- gnu/packages/astronomy.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 29f1e6fc36..87c290f58f 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1823,6 +1823,27 @@ (define-public python-sep (modify-inputs (package-inputs libsep) (prepend python-numpy))))) +(define-public python-suntime + (package + (name "python-suntime") + (version "1.2.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "suntime" version)) + (sha256 + (base32 + "0ja64w293wjx76q3z18ikx4rdihwkbj6pnjpbs82ycyyzhfnbpz4")))) + (build-system python-build-system) + (propagated-inputs (list python-dateutil)) + (home-page "https://github.com/SatAgro/suntime") + (synopsis "Sunset and sunrise time calculation python library") + (description + "Python library doing sunrise and sunset time calculation. + +Takes a WGS84 (GPS) latitude/longitude as input as well as an UTC or local +datetime object.") + (license license:lgpl3+))) + (define-public python-asdf (package (name "python-asdf") -- 2.35.1