From patchwork Fri May 14 21:17:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 29307 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 D7A9227BC83; Fri, 14 May 2021 22:19:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 185C127BC81 for ; Fri, 14 May 2021 22:19:12 +0100 (BST) Received: from localhost ([::1]:59596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhfDD-00041x-9c for patchwork@mira.cbaines.net; Fri, 14 May 2021 17:19:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhfD5-0003yd-CN for guix-patches@gnu.org; Fri, 14 May 2021 17:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhfD5-0000Vp-4N for guix-patches@gnu.org; Fri, 14 May 2021 17:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhfD5-0003sz-07 for guix-patches@gnu.org; Fri, 14 May 2021 17:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48427] [PATCH 3/5] gnu: Add python-aiostream. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 May 2021 21:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48427 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48427@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162102708714829 (code B ref -1); Fri, 14 May 2021 21:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2021 21:18:07 +0000 Received: from localhost ([127.0.0.1]:47191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhfCB-0003r6-6l for submit@debbugs.gnu.org; Fri, 14 May 2021 17:18:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:60108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhfC7-0003qY-2F for submit@debbugs.gnu.org; Fri, 14 May 2021 17:18:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhfC6-00039s-Tj for guix-patches@gnu.org; Fri, 14 May 2021 17:18:02 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:55818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhfC5-0008GO-Ea for guix-patches@gnu.org; Fri, 14 May 2021 17:18:02 -0400 Received: from localhost (37-186-9-252.ip.as39912.net [37.186.9.252]) by dd3624.kasserver.com (Postfix) with ESMTPA id 6F7775D405CB; Fri, 14 May 2021 23:17:59 +0200 (CEST) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Fri, 14 May 2021 23:17:44 +0200 Message-Id: <20210514211746.143145-3-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210514211746.143145-1-stefan@xsteve.at> References: <20210514211746.143145-1-stefan@xsteve.at> MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-aiostream): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 98368129ed..8e769c08f2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20187,6 +20187,36 @@ generators and Python 3.7's context managers into Python 3.5.") manager compatible with @code{asyncio}.") (license license:asl2.0))) +(define-public python-aiostream + (package + (name "python-aiostream") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aiostream" version)) + (sha256 + (base32 + "1k33bxrp24pa7c3hygzkv0lqvjil689aj442hzhgzv8vsbqmwd1n")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; tests fail, not sure why + ;; (native-inputs + ;; `(("python-pytest" ,python-pytest) + ;; ("python-pytest-asyncio" ,python-pytest-asyncio) + ;; ("python-pytest-cov" ,python-pytest-cov) + ;; ("python-pytest-runner" ,python-pytest-runner))) + (home-page + "https://github.com/vxgmichel/aiostream") + (synopsis + "Generator-based operators for asynchronous iteration") + (description + "aiostream provides a collection of stream operators that can be +combined to create asynchronous pipelines of operations. It can be seen as an +asynchronous version of itertools, although some aspects are slightly +different.") + (license license:gpl3+))) + (define-public python-glob2 (package (name "python-glob2")