From patchwork Sat Mar 29 23:14:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 40988 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 2619727BBEA; Sat, 29 Mar 2025 23:17:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 7C16127BBE2 for ; Sat, 29 Mar 2025 23:17:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyfQH-0004cG-CD; Sat, 29 Mar 2025 19:17:05 -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 1tyfQE-0004bt-QQ for guix-patches@gnu.org; Sat, 29 Mar 2025 19:17:03 -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 1tyfQE-0005LY-Gb for guix-patches@gnu.org; Sat, 29 Mar 2025 19:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=JoLlDhMQw4my64JkAK2tNotaiyVcPsvXE7DQyONraeE=; b=aLieOd3G4i+x1K8fIGTKGaQAiJc1krikcVMZir/Jt5U7v8uZeCC+5x3EfhzR2nVkQBYSsJv6zTx7rcE21K+nyav9+fz4x+kL+IuO50dTPQFnR2fgEizorhhccDSSRtVESty4DviuLzLhwPR1MftHZreKjo+iJiA2qlxaOtmpM2o3bGcLx00yVeui+kDgKIp2n3yJAY/+qqnBt2ZKBd1/3mcCJygS59TsR0YwVGUenr6pzJ4TySzpYLnOYfPz1aOyNJ0konnsL17H97P6jGkEfTV61io2sS1uVk3aOawi7lAgw046+b3U5QwZOmSd/fGJaO1QQKt9ISfZqzHqvFOqLw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyfQE-0007GR-6d for guix-patches@gnu.org; Sat, 29 Mar 2025 19:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77372] [PATCH] gnu: Add python-obspy. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Mar 2025 23:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77372 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77372@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174329018927862 (code B ref -1); Sat, 29 Mar 2025 23:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2025 23:16:29 +0000 Received: from localhost ([127.0.0.1]:33433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyfPc-0007F8-3l for submit@debbugs.gnu.org; Sat, 29 Mar 2025 19:16:29 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34734) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tyfPY-0007Et-RP for submit@debbugs.gnu.org; Sat, 29 Mar 2025 19:16:21 -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 1tyfPS-0004WD-TQ for guix-patches@gnu.org; Sat, 29 Mar 2025 19:16:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tyfPQ-0005Ez-Bn for guix-patches@gnu.org; Sat, 29 Mar 2025 19:16:14 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 958EB240101 for ; Sun, 30 Mar 2025 00:16:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743290169; bh=xsH8XTEx8CMWQt0q0jaBSZ62YrhHaPSFR5dQLXw+T6A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=k1WB/HZ65as1yo2M+LlCTLGGXOGnyNwSNU+5Ung+ej1RlrjA7KsvpiMf3WLIU366h /YhXvwT0SEpuj1q1y9+rHGzA9HKoDd3/SXRodcnNoelH5qHuQHFyWxAxwME+Nd43R9 I1pgypqhW/P2dlGxiCnT5vkwzutsKkscmLY1TpbxDfkXX+9cSOoQEENDw4ATmFRt6k 7Je3BRJUmveY1/fA35DmmrHy9ckAh4XnHEgamqxOO6oPXe4sm2SH2jAqduKNncnUsQ 1UZXk0aNSiv9mEmUF9ocLSIwDN6J8tvBrJcf/Bsr9g1BYL29940dBQuaJqmTjOkWQa xkwneb9a6p+bA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQCtw4Q81z6tvx; Sun, 30 Mar 2025 00:16:08 +0100 (CET) From: Vinicius Monego Date: Sat, 29 Mar 2025 23:14:59 +0000 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (python-obspy): New variable. Change-Id: I116d39d02f8b42c8b4ea3aaef75c388744d7f58d --- gnu/packages/geo.scm | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) base-commit: a3674c059abf16256f549c4d558a0140b9cd8945 diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 8682d29e0e..022bb45d1e 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2020 Christopher Baines ;;; Copyright © 2020–2024 Felix Gruber ;;; Copyright © 2021, 2023-2025 Sharlatan Hellseher -;;; Copyright © 2021, 2023, 2024 Vinicius Monego +;;; Copyright © 2021, 2023, 2024, 2025 Vinicius Monego ;;; Copyright © 2021 Clément Lassieur ;;; Copyright © 2021, 2022 Nikolay Korotkiy ;;; Copyright © 2022 Patrick Noll @@ -960,6 +960,47 @@ (define-public proj.4 ;; cmake/* license:boost1.0)))) +(define-public python-obspy + (package + (name "python-obspy") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "obspy" version)) + (sha256 + (base32 "0izpsfcgjzdj0ja0lip86agp1gfxpw3c00w77603vr1xw067pwww")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; Rebuild shared libraries to run tests + (add-before 'check 'rebuild-ext + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (propagated-inputs (list python-decorator + python-lxml + python-matplotlib + python-numpy + python-requests + python-scipy + python-setuptools + python-sqlalchemy)) + (native-inputs (list python-packaging python-pyproj python-pytest + python-setuptools python-wheel)) + (home-page "https://www.obspy.org") + (synopsis "Python framework for seismological observatories") + (description + "@code{ObsPy} is a project dedicated to provide a Python framework for +processing seismological data. It provides parsers for common file formats, +clients to access data centers and seismological signal processing routines +which allow the manipulation of seismological time series. + +The goal of the ObsPy project is to facilitate rapid application development +for seismology.") + (license license:lgpl3))) + (define-public python-pyogrio (package (name "python-pyogrio")