From: Wilko Meyer <w@wmeyer.eu>
To: 70683@debbugs.gnu.org
Cc: Wilko Meyer <w@wmeyer.eu>, Andreas Enge <andreas@enge.fr>,
Eric Bavier <bavier@posteo.net>,
Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#70683] [PATCH] gnu: Add python-overpass.
Date: Tue, 30 Apr 2024 21:47:37 +0200 [thread overview]
Message-ID: <c7d31cd7dcad61991810a541cc29c210f7599690.1714506457.git.w@wmeyer.eu> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=^[[B^[[B^[[B^[[B^[[B, Size: 2142 bytes --]
* 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@burningswell.com>
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2024 Wilko Meyer <w@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
next reply other threads:[~2024-04-30 19:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 19:47 Wilko Meyer [this message]
2024-05-12 18:45 ` bug#70683: [PATCH] gnu: Add python-overpass Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c7d31cd7dcad61991810a541cc29c210f7599690.1714506457.git.w@wmeyer.eu \
--to=w@wmeyer.eu \
--cc=70683@debbugs.gnu.org \
--cc=andreas@enge.fr \
--cc=bavier@posteo.net \
--cc=sharlatanus@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.