From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OBYyB2xLMWYwPQEAqHPOHw:P1 (envelope-from ) for ; Tue, 30 Apr 2024 21:50:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OBYyB2xLMWYwPQEAqHPOHw (envelope-from ) for ; Tue, 30 Apr 2024 21:50:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=Bcz54eDX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714506602; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nJyj7O7Ju8V0za0uIir3sksNKdBkTvorozHwDWXdUd4=; b=otakemKF6gY59MfTUubsspin/AGPKZqjB2nI6RGUQnNP9FwrIbKvgPDWMQqsyOjhOr/R84 1UYRNFsK/cRxWZK1I1NZm2G/OE5unLnBASiw/a026A2cYGCG/YjS8SIGzrHvqF5hH+UK4+ AXO8nbwBbMTFVOXIFAGs/Fj83LtVwHS/HHAid13lrMWP2XB1GAd6foMHBSiUW/EUKWVSMV xARsi89ODX7wYDLFsFE/yznpe423wY8DnyAYMtngp6waxmzpxYJb/IzgMsXTBmReeuKehQ t2amQMAFHH92bz6QBseBBl7b+BGBJM8qVzTrUm6xzkWUHYBlDzKjecElZsP1xQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=Bcz54eDX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714506602; a=rsa-sha256; cv=none; b=QKuYy7cgkGtQ1YOI+KsW4CeHxcTKoVbh/fK8xnHAxiryiJGtTio6rdGoQuwkrkd1pyHtPn ZhQbdJzl6PnjiBavqCnqrsanNnGEFv9KlrtarFmOw3StPHduNKo1eD7ncmuJ4VpEIEHVfh XnOCKERnmBLuOSpoPwSe+YxhSXIvUn+HQrX2fcyoFIlaHqFPcnty6wtCB1kMTrZtqoO+sK c+pS0Rgu1Z4f4Igsmj0EWS7jc1ZyPKKl590HvKAvFFE84GE1rATIVliGeH6fiuBabWN1B/ bU9zfTTDZR0lnxCWGmvHdEH02ozVkK4ypWtIUDvrPgPOoOtBwDGtGaN8pttAqQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5865265CE5 for ; Tue, 30 Apr 2024 21:50:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1tU0-0006Px-Os; Tue, 30 Apr 2024 15:49:44 -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 1s1tTz-0006Ph-C5 for guix-patches@gnu.org; Tue, 30 Apr 2024 15:49:43 -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 1s1tTz-0007wM-4L for guix-patches@gnu.org; Tue, 30 Apr 2024 15:49:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1tUI-00088i-Sq; Tue, 30 Apr 2024 15:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70683] [PATCH] gnu: Add python-overpass. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 30 Apr 2024 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70683 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70683@debbugs.gnu.org Cc: Wilko Meyer , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by submit@debbugs.gnu.org id=B.171450660131276 (code B ref -1); Tue, 30 Apr 2024 19:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2024 19:50:01 +0000 Received: from localhost ([127.0.0.1]:32917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1tUG-00088O-Vw for submit@debbugs.gnu.org; Tue, 30 Apr 2024 15:50:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1tUC-00088G-Fu for submit@debbugs.gnu.org; Tue, 30 Apr 2024 15:49:59 -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 1s1tTm-0006N7-44 for guix-patches@gnu.org; Tue, 30 Apr 2024 15:49:30 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1tTk-0007q3-3r for guix-patches@gnu.org; Tue, 30 Apr 2024 15:49:29 -0400 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1714506565; bh=nJyj7O7Ju8V0za0uIir3sksNKdBkTvorozHwDWXdUd4=; h=From:To:Cc:Subject:Date; b=Bcz54eDXKLl3mUGujWrAZN2aKO4IyXyYkTa7nn0i+OiutClDsQ5//7+Nu/d2Kkly7 BGGHphFIeGOHLX1WI5faWMTPigBPmlZXST+6/LkCoEsqe6ffhUWHxV3F1IZYbihULG rWMJs9SS+6LjTPWupjpWQYoWyOOsrZJBhea2rWqU= Date: Tue, 30 Apr 2024 21:47:37 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; =?UTF-8?Q?charset=3D=1B[B=1B[B=1B[B=1B[B=1B[B?= Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=95.216.196.112; envelope-from=w@wmeyer.eu; helo=mail.wmeyer.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 4.11 X-Spam-Score: 4.11 X-Migadu-Queue-Id: 5865265CE5 X-Migadu-Scanner: mx13.migadu.com X-TUID: z1n/j5OX8lbU * 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 ;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2024 Wilko Meyer ;;; ;;; 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