GNU bug report logs - #77372
[PATCH] gnu: Add python-obspy.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sat, 29 Mar 2025 23:17:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77372 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77372; Package guix-patches. (Sat, 29 Mar 2025 23:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vinicius Monego <monego <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 29 Mar 2025 23:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add python-obspy.
Date: Sat, 29 Mar 2025 23:14:59 +0000
* gnu/packages/geo.scm (python-obspy): New variable.

Change-Id: I116d39d02f8b42c8b4ea3aaef75c388744d7f58d
---
 gnu/packages/geo.scm | 43 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

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 <mail <at> cbaines.net>
 ;;; Copyright © 2020–2024 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2021, 2023-2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
-;;; Copyright © 2021, 2023, 2024 Vinicius Monego <monego <at> posteo.net>
+;;; Copyright © 2021, 2023, 2024, 2025 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2021 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2021, 2022 Nikolay Korotkiy <sikmir <at> disroot.org>
 ;;; Copyright © 2022 Patrick Noll <patrick <at> patricknoll.com>
@@ -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")

base-commit: a3674c059abf16256f549c4d558a0140b9cd8945
-- 
2.49.0





This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.