From patchwork Sat May 29 20:38:41 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: 29671 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 12A0527BC81; Sat, 29 May 2021 21:39:11 +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 D85DB27BC78 for ; Sat, 29 May 2021 21:39:10 +0100 (BST) Received: from localhost ([::1]:44612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln5ji-0000H7-4t for patchwork@mira.cbaines.net; Sat, 29 May 2021 16:39:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln5ja-0000Ex-Dy for guix-patches@gnu.org; Sat, 29 May 2021 16:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln5ja-0002Rw-43 for guix-patches@gnu.org; Sat, 29 May 2021 16:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ln5ja-0000YQ-1D for guix-patches@gnu.org; Sat, 29 May 2021 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48427] [PATCH] gnu: Add python-aiostream. References: <20210514211746.143145-3-stefan@xsteve.at> In-Reply-To: <20210514211746.143145-3-stefan@xsteve.at> Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 May 2021 20:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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?= Received: via spool by 48427-submit@debbugs.gnu.org id=B48427.16223207302113 (code B ref 48427); Sat, 29 May 2021 20:39:01 +0000 Received: (at 48427) by debbugs.gnu.org; 29 May 2021 20:38:50 +0000 Received: from localhost ([127.0.0.1]:57778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ln5jN-0000Y0-Un for submit@debbugs.gnu.org; Sat, 29 May 2021 16:38:50 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:41330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ln5jM-0000Xs-E7 for 48427@debbugs.gnu.org; Sat, 29 May 2021 16:38:48 -0400 Received: from localhost (217-149-163-5.nat.highway.telekom.at [217.149.163.5]) by dd3624.kasserver.com (Postfix) with ESMTPA id DC3695D404D4; Sat, 29 May 2021 22:38:46 +0200 (CEST) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Sat, 29 May 2021 22:38:41 +0200 Message-Id: <20210529203841.157978-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-aiostream): New variable. --- Vinicius, thanks for your review. Here is my attempt to follow your hints gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9b9510f043..a465ecbda6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20232,6 +20232,35 @@ 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 git-fetch) + (uri (git-reference + (url "https://github.com/vxgmichel/aiostream") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest")) + (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")