From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MPosMN5tYl86SAAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 19:56:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6GL3K95tYl+lVgAAbx9fmQ (envelope-from ) for ; Wed, 16 Sep 2020 19:56:14 +0000 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 21BA39401D0 for ; Wed, 16 Sep 2020 19:56:14 +0000 (UTC) Received: from localhost ([::1]:42022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIdXH-0001DP-NE for larch@yhetil.org; Wed, 16 Sep 2020 15:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIdXA-0001D5-0u for guix-patches@gnu.org; Wed, 16 Sep 2020 15:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIdX8-0003xT-IM for guix-patches@gnu.org; Wed, 16 Sep 2020 15:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIdX8-0008FE-HG for guix-patches@gnu.org; Wed, 16 Sep 2020 15:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43454] [PATCH 1/2] gnu: Add python-apiron. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Sep 2020 19:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43454@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160028612731647 (code B ref -1); Wed, 16 Sep 2020 19:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 19:55:27 +0000 Received: from localhost ([127.0.0.1]:35942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIdWZ-0008EN-7K for submit@debbugs.gnu.org; Wed, 16 Sep 2020 15:55:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:36686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIdWX-0008EF-3U for submit@debbugs.gnu.org; Wed, 16 Sep 2020 15:55:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIdWW-0001By-1H for guix-patches@gnu.org; Wed, 16 Sep 2020 15:55:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIdWT-0003eS-Fm for guix-patches@gnu.org; Wed, 16 Sep 2020 15:55:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 78E302400FB for ; Wed, 16 Sep 2020 21:55:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1600286118; bh=eA3516s+l6FGWj0ypH7XedYccoKc3yUgn8AfQ/muCqk=; h=From:To:Cc:Subject:Date:From; b=UCvAxBnsWhaOl4RVkerSLwcLigCRh4L9aFbWqh2a8guegvYDeBMwJO7+Qyqt0B7br fzl51PFpPZHNZ9eY9juo5D1H6vs8aLDDjCpe7dloSpuQCctvN+l7gvRHn3o9Q15BDY EidtftsgZXpmeEmKLpPZUIKUuxe3zjmTCcfo8ziYqNEzQIIxYez0qZHwP8g1OYTjVU bX1lhFBb8w5twaQa1BTSiDD3SM72RWs1zZVVv6C8Vu5RVO3n+HM7wgDlGJ7qY720Vm a7uMXTyj+C0FBvfr9nmwWD07duDVNAZl93ZOR1OCSYkmaf+csBKjxDIcKnLWBGgtQh Q3z0BBAdw+e1Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bs9n05XSPz6tmH; Wed, 16 Sep 2020 21:55:16 +0200 (CEST) From: Vinicius Monego Date: Wed, 16 Sep 2020 16:54:41 -0300 Message-Id: <20200916195441.25323-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 15:26:36 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=UCvAxBns; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: ViembXuwshpH * gnu/packages/python-web.scm (python-apiron): New variable. --- gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7926539233..aaa406d547 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1879,6 +1879,39 @@ WebSocket usage in Python programs.") "Purl is a Python package for handling URLs.") (license license:expat))) +(define-public python-apiron + (package + (name "python-apiron") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "apiron" version)) + (sha256 + (base32 "1qwbqn47sf0aqznj1snbv37v8ijx476qqkjf5l9pac7xjkxsr8qk")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "--cov" "-k" + ;; This test tries to connect to the internet. + "not test_call")))))) + (propagated-inputs + `(("python-requests" ,python-requests))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/ithaka/apiron") + (synopsis "Python wrapper for interacting with RESTful APIs") + (description + "@code{apiron} provides a declarative, structured configuration of +services and endpoints with a unified interface for interacting with RESTful +APIs.") + (license license:expat))) + (define-public python-requests (package (name "python-requests") -- 2.20.1