From patchwork Tue Apr 5 19:00:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 38335 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 D2D4827BBEA; Tue, 5 Apr 2022 20:03:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 5C8BA27BBE9 for ; Tue, 5 Apr 2022 20:03:51 +0100 (BST) Received: from localhost ([::1]:54158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nboT0-0004TB-Gk for patchwork@mira.cbaines.net; Tue, 05 Apr 2022 15:03:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nboSE-0004Nn-Ge for guix-patches@gnu.org; Tue, 05 Apr 2022 15:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nboSE-0002Jj-7G for guix-patches@gnu.org; Tue, 05 Apr 2022 15:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nboSE-0006qZ-3L for guix-patches@gnu.org; Tue, 05 Apr 2022 15:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54735] gnu: Add python-ajsonrpc. Resent-From: Peter Polidoro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Apr 2022 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54735 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 54735@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164918532526224 (code B ref -1); Tue, 05 Apr 2022 19:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Apr 2022 19:02:05 +0000 Received: from localhost ([127.0.0.1]:56224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nboRD-0006oV-SK for submit@debbugs.gnu.org; Tue, 05 Apr 2022 15:02:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:40970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nboRC-0006oO-8i for submit@debbugs.gnu.org; Tue, 05 Apr 2022 15:01:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nboRC-0003qN-28 for guix-patches@gnu.org; Tue, 05 Apr 2022 15:01:58 -0400 Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]:19915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nboR9-0002Bs-Un for guix-patches@gnu.org; Tue, 05 Apr 2022 15:01:57 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9C3E47612DB for ; Tue, 5 Apr 2022 19:01:52 +0000 (UTC) Received: from pdx1-sub0-mail-a291.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6C11D76126B for ; Tue, 5 Apr 2022 19:01:51 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1649185311; a=rsa-sha256; cv=none; b=oMZX+7H8hme9X/PIBZ1yPJPrNdB/eUhbF44zZsc6SJDsSebDJ2JDLeTDB7o9bHfTiRu3mx +W3To5dH79jeoX56elAdtEQ1ZbvwVMbP6Klllw2y+DyCCfM4nw8v2w0SJT9OijJ3kcdKXW sIO19ZwE9rnJabzNRuVbDzEPw9BBPGM4Zzuc4fVY28IPSC0V7WL1dAg564NN2B9l/Wf+23 pSpKSgHXD1L3ODEuToHvQAJCJrL8IcfE9Pe9y5szpVRVGzdn5LaFNwteZCS8vKgFdNMLMl Yiei+LX46anCEhqCI3nRU5NYrzrn4uA1XZ2QYwLyxaRBEZZQGYOz52m9uXpfpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1649185311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=ZWwexOH00YRNhWNuL9MU8VDAB+MVLXlA9alLYvq9ntI=; b=S9sO7XUT6xjB+jU4fsJWwy/8PkqnO6NBah+YVPH9+R67Ky7tf9kJR9x812KsAAaMc4unq3 4SpA0QOoYrrBZPL3E0z14kM2xVYcFBBh5T7v4ZcTJ0SmpoddRNllAuO3iBE/PiuMHRC3UT e0PC4O51C/koYTVjH73yCWWRsV9tkPgJWU8NRcPeI7Xzjj1RUqBLyb7+vpMvod3hZkETcb q8u3IHJUnJmsO13iYU4rUhLRUqWH8Xpw0aZk8FnRaEc7Xbn0xyxqSyml/GVWNw3KMq/bIu pc/JhNij4rd4hvc6VUefz+bsxJlQzjGzOsLA2wdgCeZXSONLrFKoSTjmS4MRMg== ARC-Authentication-Results: i=1; rspamd-f76767c84-fvrdq; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from pdx1-sub0-mail-a291.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.127.95.91 (trex/6.7.1); Tue, 05 Apr 2022 19:01:52 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Thread-Stretch: 06194fce4b805eae_1649185311870_1309984769 X-MC-Loop-Signature: 1649185311870:1916079322 X-MC-Ingress-Time: 1649185311869 Received: from knave (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a291.dreamhost.com (Postfix) with ESMTPSA id 4KXxp66BB3z1Pt for ; Tue, 5 Apr 2022 12:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1649185311; bh=ZWwexOH00YRNhWNuL9MU8VDAB+MVLXlA9alLYvq9ntI=; h=From:To:Subject:Date:Content-Type:Content-Transfer-Encoding; b=ZYipuP/Pajg+cTuvI9qfK39kcfLcLXlWQVqIgEuz6fGqWpxt79CAzL+k4Gdiid20J wnxAXzfDFJCJ8v6ssB/Z5QnOQZPUO11UlyjSE2Rd6zwFTKXVEQdX6gOUWGMUURdyhy 1QmVavUZLL3tQNdrlJ5xI5lkdJuEuYAoGuztt8lU4NpxEGv+GVF713oWHrauNuUASf /gMWgJ109i7b/UuKeBq2N7NjP71IdqmUtyXNTQvEKnVsXHnwfC+RvcY7i0+SWFFX74 9r98QLnAJIsKGymKhtaBESuM1Ytts9hwH8looV2lBH2Q/3XRlkkVEm4FBkW3YbEiJG 0xKD3Ap4OqjjA== User-agent: mu4e 1.6.10; emacs 27.2 From: Peter Polidoro Date: Tue, 05 Apr 2022 15:00:26 -0400 Message-ID: <86pmlvwe0c.fsf@polidoro.io> MIME-Version: 1.0 Content-Disposition: attachment; filename=0001-gnu-Add-python-ajsonrpc.patch Received-SPF: pass client-ip=23.83.212.47; envelope-from=peter@polidoro.io; helo=cyan.elm.relay.mailchannels.net 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 67805b99176ddac138046dbf0f6ebac0c2dbf866 Mon Sep 17 00:00:00 2001 From: Peter Polidoro Date: Tue, 5 Apr 2022 14:57:16 -0400 Subject: [PATCH] gnu: Add python-ajsonrpc. * gnu/packages/python-web.scm (python-ajsonrpc): New variable. --- gnu/packages/python-web.scm | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 41e0d1c3d6..432ff6a97a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2021 Alice Brenon ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2022 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -6387,3 +6388,52 @@ (define-public python-tweepy (description "This package provides @code{Tweepy}, an easy-to-use Python library for accessing the Twitter API.") (license license:expat))) + +(define-public python-quart + (package + (name "python-quart") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Quart" version)) + (sha256 + (base32 "0h4n2dwzmqifya1razp9s7ppr4ra23ljac9v7sl039rzp3c17wic")))) + (build-system python-build-system) + (propagated-inputs + (list hypercorn + python-aiofiles + python-blinker + python-click + python-itsdangerous + python-jinja2 + python-markupsafe + python-toml + python-werkzeug)) + (home-page "https://gitlab.com/pgjones/quart/") + (synopsis "Python ASGI web microframework with the same API as Flask") + (description + "This package provides a Python ASGI web microframework with the same API as +Flask") + (license license:expat))) + +(define-public python-ajsonrpc + (package + (name "python-ajsonrpc") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ajsonrpc" version)) + (sha256 + (base32 "17x1a4r4l428mhwn53abki9gzdzq3halyr4lj48fw3dzy0caq6vr")))) + (build-system python-build-system) + (propagated-inputs + (list python-quart + python-sanic + python-tornado + )) + (home-page "https://github.com/pavlov99/ajsonrpc") + (synopsis "Async JSON-RPC 2.0 protocol + server powered by asyncio") + (description "Async JSON-RPC 2.0 protocol + server powered by asyncio") + (license license:expat))) -- 2.35.1