GNU bug report logs - #70683
[PATCH] gnu: Add python-overpass.

Previous Next

Package: guix-patches;

Reported by: Wilko Meyer <w <at> wmeyer.eu>

Date: Tue, 30 Apr 2024 19:50:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

To reply to this bug, email your comments to 70683 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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

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


Report forwarded to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#70683; Package guix-patches. (Tue, 30 Apr 2024 19:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wilko Meyer <w <at> wmeyer.eu>:
New bug report received and forwarded. Copy sent to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org. (Tue, 30 Apr 2024 19:50:02 GMT) Full text and rfc822 format available.

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

From: Wilko Meyer <w <at> wmeyer.eu>
To: guix-patches <at> gnu.org
Cc: Wilko Meyer <w <at> wmeyer.eu>
Subject: [PATCH] gnu: Add python-overpass.
Date: Tue, 30 Apr 2024 21:47:37 +0200
* gnu/packages/geo.scm (python-overpass): New variable.
* gnu/packages/geo.scm: Add copyright.

Change-Id: Icd7a66ec6acd2e213bfd6920a1d71c1e0e815695
---

Hi Guix,

this patch adds python-overpass, a python wrapper for the OSM overpass
API. I had to disable tests as they all rely on network
functionality/on being able to talk to a web API.

 gnu/packages/geo.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 985fa77231..6ab2312385 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2022 Roman Scherer <roman.scherer <at> burningswell.com>
 ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
+;;; Copyright © 2024 Wilko Meyer <w <at> wmeyer.eu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -986,6 +987,30 @@ (define-public python-geopandas
 require a spatial database such as PostGIS.")
     (license license:bsd-3)))
 
+(define-public python-overpass
+  (package
+    (name "python-overpass")
+    (version "0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "overpass" version))
+       (sha256
+        (base32 "0l2n01j0vslag8cf3sp7jif0d4ql6i99fvfv2mgc3ajws69aqzr6"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; tests disabled, as they require network
+     (list  #:tests? #f))
+    (propagated-inputs (list python-geojson
+                             python-requests
+                             python-shapely))
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/mvexel/overpass-api-python-wrapper")
+    (synopsis "Python wrapper for the OpenStreetMap Overpass API")
+    (description "This package provides python-overpass, a Python wrapper
+for the @code{OpenStreetMap} Overpass API.")
+    (license license:asl2.0)))
+
 (define-public python-ogr2osm
   (package
     (name "python-ogr2osm")

base-commit: 6effb89fc401cf34505aeef1833f10100311e7c7
prerequisite-patch-id: 689bdf5170b3bf27aac818d97108eef8213dad6b
-- 
2.41.0





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Sun, 12 May 2024 18:46:01 GMT) Full text and rfc822 format available.

Notification sent to Wilko Meyer <w <at> wmeyer.eu>:
bug acknowledged by developer. (Sun, 12 May 2024 18:46:01 GMT) Full text and rfc822 format available.

Message #10 received at 70683-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: Eric Bavier <bavier <at> posteo.net>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>, 70683-done <at> debbugs.gnu.org
Subject: Re: [bug#70683] [PATCH] gnu: Add python-overpass.
Date: Sun, 12 May 2024 20:45:08 +0200
Hello,

I have just pushed your patch, thanks a lot!

Am Tue, Apr 30, 2024 at 09:47:37PM +0200 schrieb Wilko Meyer:
> * gnu/packages/geo.scm (python-overpass): New variable.
> * gnu/packages/geo.scm: Add copyright.

The second line is not needed. And if you have two changes in the
same file, there would not be a need to repeat the "* path/to/file" part.

Andreas





This bug report was last modified 4 days ago.

Previous Next


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