From unknown Sat Aug 16 11:41:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60507 <60507@debbugs.gnu.org> To: bug#60507 <60507@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-haversine. Reply-To: bug#60507 <60507@debbugs.gnu.org> Date: Sat, 16 Aug 2025 18:41:35 +0000 retitle 60507 [PATCH] gnu: Add python-haversine. reassign 60507 guix-patches submitter 60507 jgart severity 60507 normal tag 60507 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 02 20:24:38 2023 Received: (at submit) by debbugs.gnu.org; 3 Jan 2023 01:24:38 +0000 Received: from localhost ([127.0.0.1]:44377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCW2g-00022Y-26 for submit@debbugs.gnu.org; Mon, 02 Jan 2023 20:24:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:36098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCW2d-00022Q-S6 for submit@debbugs.gnu.org; Mon, 02 Jan 2023 20:24:36 -0500 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 1pCW2c-00053A-DY for guix-patches@gnu.org; Mon, 02 Jan 2023 20:24:34 -0500 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCW2a-00061b-5j for guix-patches@gnu.org; Mon, 02 Jan 2023 20:24:34 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 985309e4 for ; Tue, 3 Jan 2023 02:24:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=tuUsTr1UOh3OxD6YF4eJq9D7hHY6mo3IGqn9r1MhjDs=; b= X/4f+1SpXdrPQAyrWs0Ru1VFMX3tm0jD4MXal8MGnViUwsIH6R16jCZkXUJ6oMwT 2MbJWxcE03BNwPzR69JfCtMurlI/fPoWopLpbzB37aATEYQ3Ai2uzpas4h/EtbPj PxWZSxA22ZUv9ehI1hFcmYPBVXKkuGzc1dUdeax9epGn4vLpL60+F8Ohj4bpAw4M XZi+fqtgqlOqi5jpuQ0eHUtTofshm2a2zw3Qn/0Z/LNeSHeX1tIEx5ExSr6jksYT A9v/rpLNCy7/fBNEusbemwD57XuZ8BYuL018VAzznLynnG2IA1eoEYIlBsdcCVCq A4qlSe+ZXvChP6fQ/IunYA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id a47f51c2 for ; Tue, 3 Jan 2023 02:24:29 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id cd424250 for ; Tue, 3 Jan 2023 02:24:29 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 75c6eeea (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 3 Jan 2023 02:24:28 +0100 (CET) From: jgart To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-haversine. Date: Mon, 2 Jan 2023 19:24:11 -0600 Message-Id: <20230103012411.27915-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/geo.scm (python-haversine): New variable. --- gnu/packages/geo.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 2185af7a98..3b80b3e1e3 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -2788,6 +2788,34 @@ (define-public python-geopy using third-party geocoders and other data sources.") (license license:expat))) +(define-public python-haversine + (package + (name "python-haversine") + (version "2.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + ;; There are no tests in the PyPi archive. + (url "https://github.com/mapado/haversine") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0inxyj5n4jzgg5xiadqx9sk83gdx5ff989l9s04smdzbd3b8c0c8")))) + (build-system python-build-system) + (native-inputs (list python-pytest python-numpy)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (home-page "https://github.com/mapado/haversine") + (synopsis "Calculate the distance between 2 points on Earth.") + (description "Calculate the distance between 2 points on Earth.") + (license license:expat))) + (define-public gplates (package (name "gplates") -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 02 20:40:07 2023 Received: (at 60507) by debbugs.gnu.org; 3 Jan 2023 01:40:08 +0000 Received: from localhost ([127.0.0.1]:44384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCWHf-0002Ra-JP for submit@debbugs.gnu.org; Mon, 02 Jan 2023 20:40:07 -0500 Received: from mx1.dismail.de ([78.46.223.134]:31974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCWHZ-0002Qv-S1 for 60507@debbugs.gnu.org; Mon, 02 Jan 2023 20:40:05 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a4fbe01e for <60507@debbugs.gnu.org>; Tue, 3 Jan 2023 02:39:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=FK0VvyOLOEUKovd8Y/kfmzc33NFJqsb1832g0qWuzzM=; b= bzQ3Gy0fH+RMd6kGs368mOoZl7baYIbEMyvsA3OfxVtKjFpljAKDkfQEhegUREng 1fjK0mm1ZPQpNnQHYwhgqQhCuKxURV163R6AsrMFxh1gufITNX9h4V8RJDn56jWz L3PwJiRkmnPu0dPNBLLYe9/36OXBZzFOT/2yZGhg3QFTcxhPmB/ZahKkDAThbgHO SLOD93GikC1bCJSNr4CyE0GVxEdvG7dkIv93YQ/hiCUy7po3Gx1CjeppPczkXkn/ JZm4ZSbo2aD1Yc9gNeIkhDOyQHV88NukMnI1oZaapsDoMhfxfqmdWGGhFfSizT+h ZVXzOtHU6K3RXBpSWJEWDQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 387496c2 for <60507@debbugs.gnu.org>; Tue, 3 Jan 2023 02:39:49 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id cc6af86e for <60507@debbugs.gnu.org>; Tue, 3 Jan 2023 02:39:48 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id a4e04746 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 3 Jan 2023 02:39:43 +0100 (CET) From: jgart To: 60507@debbugs.gnu.org Subject: [PATCH] gnu: Add python-haversine. Date: Mon, 2 Jan 2023 19:39:05 -0600 Message-Id: <20230103013904.30007-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 60507 Cc: jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/geo.scm (python-haversine): New variable. hi, v2 improves the description. all best, jgart --- gnu/packages/geo.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 2185af7a98..37c0dcbd63 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -2788,6 +2788,36 @@ (define-public python-geopy using third-party geocoders and other data sources.") (license license:expat))) +(define-public python-haversine + (package + (name "python-haversine") + (version "2.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + ;; There are no tests in the PyPi archive. + (url "https://github.com/mapado/haversine") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0inxyj5n4jzgg5xiadqx9sk83gdx5ff989l9s04smdzbd3b8c0c8")))) + (build-system python-build-system) + (native-inputs (list python-pytest python-numpy)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (home-page "https://github.com/mapado/haversine") + (synopsis "Calculate the distance between 2 points on Earth.") + (description "This package provides functions to calculate the +distance in various units between two points on Earth using their +latitude and longitude.") + (license license:expat))) + (define-public gplates (package (name "gplates") -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 17:40:14 2023 Received: (at 60507-done) by debbugs.gnu.org; 30 Jan 2023 22:40:14 +0000 Received: from localhost ([127.0.0.1]:50830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMcow-00011N-9T for submit@debbugs.gnu.org; Mon, 30 Jan 2023 17:40:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMcot-000118-R8 for 60507-done@debbugs.gnu.org; Mon, 30 Jan 2023 17:40:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMcon-0007Ro-1x; Mon, 30 Jan 2023 17:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=n2/lVs6uqv18PXoRs8ifSBUx1+ACruBlaADTmVD1SYg=; b=fTbcxFL/FaJsAzGI3ypL 7dTxAekZEPnIDWBYqa5mvi7soxGfU3RXqZJtUPGBmMUSLBaHHsXWzFx/xaXhkOdhVkP3S1L1BcVFZ HMm3jOhskE6DAlkpkoCi6ocwwbhdpPNDtIJlKukWGaUvorhUKVBtZ6hEZc5KXMS//UIIbxgxu//1V KckWpVx1DMCETRK2R5W4YZsnv19cLqfKlt3ze/r6lTZJAeQwcBzRsDgtGr9VFaZnFnJWEQ/K/wzTG phyUKuCTcfFzxRu/3T0IRVNINzIMcVO6ssmh8rUjK28O47A1J+3zg+Mx6SFHHwxBDyOJ744U5h72V 0sWacmvhBYxQIA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMcol-00069p-K4; Mon, 30 Jan 2023 17:40:04 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: jgart Subject: Re: bug#60507: [PATCH] gnu: Add python-haversine. References: <20230103012411.27915-1-jgart@dismail.de> <20230103013904.30007-1-jgart@dismail.de> Date: Mon, 30 Jan 2023 23:40:01 +0100 In-Reply-To: <20230103013904.30007-1-jgart@dismail.de> (jgart@dismail.de's message of "Mon, 2 Jan 2023 19:39:05 -0600") Message-ID: <87edrbwsse.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60507-done Cc: 60507-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) jgart skribis: > * gnu/packages/geo.scm (python-haversine): New variable. Applied, thanks! Ludo=E2=80=99. From unknown Sat Aug 16 11:41:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Feb 2023 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator