From patchwork Wed Nov 24 16:20:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luis Felipe X-Patchwork-Id: 34793 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 D91FD27BBE9; Wed, 24 Nov 2021 16:22:15 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 5A36F27BBE9 for ; Wed, 24 Nov 2021 16:22:15 +0000 (GMT) Received: from localhost ([::1]:59216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpv2E-0001OE-Cl for patchwork@mira.cbaines.net; Wed, 24 Nov 2021 11:22:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpv23-0001IU-Eg for guix-patches@gnu.org; Wed, 24 Nov 2021 11:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpv23-0006Us-4U for guix-patches@gnu.org; Wed, 24 Nov 2021 11:22:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpv23-0006F8-15 for guix-patches@gnu.org; Wed, 24 Nov 2021 11:22:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52064] [PATCH] gnu: Add python-sodapy. References: In-Reply-To: Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Nov 2021 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52064 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "52064@debbugs.gnu.org" <52064@debbugs.gnu.org> Received: via spool by 52064-submit@debbugs.gnu.org id=B52064.163777087323913 (code B ref 52064); Wed, 24 Nov 2021 16:22:02 +0000 Received: (at 52064) by debbugs.gnu.org; 24 Nov 2021 16:21:13 +0000 Received: from localhost ([127.0.0.1]:54774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpv1E-0006Dd-SV for submit@debbugs.gnu.org; Wed, 24 Nov 2021 11:21:13 -0500 Received: from mail-40138.protonmail.ch ([185.70.40.138]:64067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpv1B-0006DM-4i for 52064@debbugs.gnu.org; Wed, 24 Nov 2021 11:21:11 -0500 Date: Wed, 24 Nov 2021 16:20:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1637770862; bh=KG9NrD5OUz2CXGPF8K0wrlwBuYQzHhUwYKVUI7XbLjQ=; h=Date:To:From:Reply-To:Subject:From; b=i6AJVZVP6Y7MSHrM2jRIdvDQndtrQ+0KnF0foaDEezp6PVwTqbSvorf4SsPIOamwV MVjQanOvteE37IUpax+zfzgHWoNsJEKCLeY218q6ephft5a7VjYrH/FDLMehJvq+Sf OP/CXeNcLGVCUKMflTtKtcK8D/iGjiquX0T7x2ew= Message-ID: MIME-Version: 1.0 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" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe via Guix-patches X-Patchwork-Original-From: Luis Felipe via Guix-patches via From: Luis Felipe X-getmail-retrieved-from-mailbox: Patches I wrote my email incorrectly in the initial patch. This new patch fixes that. --- Luis Felipe López Acevedo From b2fbb0f91fe4bcddb50ebd7accdd9c239b03a3b1 Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Tue, 23 Nov 2021 13:30:04 -0500 Subject: [PATCH] gnu: Add python-sodapy. * gnu/packages/python-web.scm (python-sodapy): New variable. --- gnu/packages/python-web.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4ddf89c207..867a00a1bb 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -46,6 +46,7 @@ ;;; Copyright © 2021 Pradana Aumars ;;; Copyright © 2021 Arun Isaac ;;; Copyright © 2021 jgart +;;; Copyright © 2021 Luis Felipe López Acevedo ;;; ;;; This file is part of GNU Guix. ;;; @@ -6348,3 +6349,20 @@ (define-public python-flask-combo-jsonapi Flask-RESTful to quickly build APIs that fit the complexity of existing real-life projects with legacy data and diverse storage providers.") (license license:expat))) + +(define-public python-sodapy + (package + (name "python-sodapy") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sodapy" version)) + (sha256 + (base32 "03ywf14fplgrz15ci6lvj1kmbrd0sghvcmjbnarx4036q7ph3rs4")))) + (build-system python-build-system) + (propagated-inputs `(("python-requests" ,python-requests))) + (home-page "https://github.com/xmunoz/sodapy") + (synopsis "Python library for the Socrata Open Data API") + (description "Python library for the Socrata Open Data API.") + (license license:expat))) -- 2.33.0