From: Vagrant Cascadian <vagrant@debian.org>
To: 57191@debbugs.gnu.org
Subject: [bug#57191] Add python-suntime.
Date: Sat, 13 Aug 2022 18:09:49 -0700 [thread overview]
Message-ID: <87r11jwrz6.fsf@contorta> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: 0001-gnu-Add-python-suntime.patch --]
[-- Type: text/x-diff, Size: 1526 bytes --]
From 73f8a31fcaf8abab962e0f30407407b267222614 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next reply other threads:[~2022-08-14 1:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-14 1:09 Vagrant Cascadian [this message]
2022-09-21 20:10 ` bug#57191: Add python-suntime Björn Höfling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r11jwrz6.fsf@contorta \
--to=vagrant@debian.org \
--cc=57191@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).