From patchwork Sun Aug 14 01:12:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vagrant Cascadian X-Patchwork-Id: 41613 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 AC1D427BBEA; Sun, 14 Aug 2022 02:13: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,URIBL_BLOCKED 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 2EBDC27BBE9 for ; Sun, 14 Aug 2022 02:13:19 +0100 (BST) Received: from localhost ([::1]:33108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN2Bq-0001vK-7F for patchwork@mira.cbaines.net; Sat, 13 Aug 2022 21:13:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN2Bb-0001uo-0U for guix-patches@gnu.org; Sat, 13 Aug 2022 21:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oN2Ba-0000CV-ON for guix-patches@gnu.org; Sat, 13 Aug 2022 21:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oN2Ba-0003ml-Jl for guix-patches@gnu.org; Sat, 13 Aug 2022 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57192] Add python-ephem. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Aug 2022 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57192 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57192@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166043957614537 (code B ref -1); Sun, 14 Aug 2022 01:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Aug 2022 01:12:56 +0000 Received: from localhost ([127.0.0.1]:35404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN2BT-0003mO-SC for submit@debbugs.gnu.org; Sat, 13 Aug 2022 21:12:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:48650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN2BR-0003mG-Jj for submit@debbugs.gnu.org; Sat, 13 Aug 2022 21:12:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN2BR-0001uf-Fd for guix-patches@gnu.org; Sat, 13 Aug 2022 21:12:53 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:47076) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN2BK-0000BN-Di for guix-patches@gnu.org; Sat, 13 Aug 2022 21:12:53 -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 40A541ABFD for ; Sat, 13 Aug 2022 18:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1660439565; bh=j6Jc2lQ/qSU+r7f0BIEXj1284NLYA8RYeHGwyw8cjEs=; h=From:To:Subject:Date:From; b=CKDxeFSi6Gty/+3RnUf1Ke275jM+sC1ecUVVZTRQQcbLXPVGsBExXOyLXb3MJDmf5 S+2mxB7eBx0R0AZFS16kekl8ql3M0Fsyy0RuGA2qD8qaPwy9y+q984KYPSXUnvj3fc 1hLUmJAFC56zwzmP3uaBLiOjsmnWz73Bsz3OnE8oQ8GG4tw+stgIvothwkY2Z7d6dy qtyh2ei6j3ym6q0+WYGk97y4Hb3lNfmQ1M19Y9CSUl8sSUMA01l0rm6dUTYclPhoY6 3alzomSJF8TDV8keFLrDONZa699xk2W84YWRKSSMNjW/MyDdvNbpR/yE0db6j+UEyR YuJh9maGycrwA== From: Vagrant Cascadian Date: Sat, 13 Aug 2022 18:12:40 -0700 Message-ID: <87o7wnwruf.fsf@contorta> MIME-Version: 1.0 Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; 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 This is arguably replaced by python-skyfield, though there are projects that use the older python-ephem interfaces still. From c4c9fbc6c6ac5a0b65203b60aa0353e0f047fddf Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sat, 13 Aug 2022 16:25:31 -0700 Subject: [PATCH 2/3] gnu: Add python-ephem. * gnu/packages/astronomy.scm (python-ephem): New Variable. --- gnu/packages/astronomy.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 87c290f58f..13ffdd74d3 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -29,6 +29,7 @@ (define-module (gnu packages astronomy) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -1054,6 +1055,29 @@ (define-public python-cdflib @end itemize\n") (license license:expat))) +(define-public python-ephem + (package + (name "python-ephem") + (version "4.1.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "ephem" version)) + (sha256 + (base32 + "0smmm3l8csnw9rrimh8mpyjrm80jaafjl184spnji98vk22qd8bz")))) + (build-system python-build-system) + (native-inputs (list tzdata)) + (home-page "https://rhodesmill.org/pyephem/") + (synopsis "Compute positions of the planets and stars") + (description + "PyEphem provides an @code{ephem} Python package for performing +high-precision astronomy computations. + +The name ephem is short for the word ephemeris, which is the traditional term +for a table giving the position of a planet, asteroid, or comet for a series +of dates.") + (license license:expat))) + (define-public python-photutils (package (name "python-photutils") -- 2.35.1