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 UuMzCb6BVF+cHgAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 06:29:18 +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 WKiMBL6BVF8YZAAAbx9fmQ (envelope-from ) for ; Sun, 06 Sep 2020 06:29:18 +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 C8A4D940390 for ; Sun, 6 Sep 2020 06:29:17 +0000 (UTC) Received: from localhost ([::1]:53484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEnX7-00037r-Gi for larch@yhetil.org; Sun, 06 Sep 2020 01:48:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnX2-00030n-F5 for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33016) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEnX2-0006rM-6O for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEnX2-0004e6-5X for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 08/10] gnu: Add python-trio-typing. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937127817792 (code B ref 43233); Sun, 06 Sep 2020 05:48:04 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:58 +0000 Received: from localhost ([127.0.0.1]:44553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWw-0004ct-8u for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWu-0004cY-4c for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 67F9C2400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371270; bh=9q8PIH9vR+7WTsdzYDHUJhcTiIwtaNIa+TRUyZdjPn8=; h=From:To:Cc:Subject:Date:From; b=UpR7KgSuvvXBsul1pJ2zqK7JFUMPdgEzprmJGjvUEabv94wZlEmXLSRm1oLygaN3i Qfgb1uW2OXHTc4JB5bnuE//S7KHrdulc1Sc/z3EsJxqxxgbsc844baJRYTrWvs6aSA T1hasGzl1C9P03V2wMWSkQ7Bn2g+VYTh0/sAKXp5FNvoSdpG+We4a0zb/CKz+ZDDOX lZhW0mnRZdMPuMuTuwMjjHGtoXqiehfoBFPbPSb0HWI4u2L29vnXE6PEUfCiSYSVhX +laOxrqFhrAsTj7EOKxetNK3WDXeHitwDBgaY3FUX6Z9FF5c9/gcEJC39qO3SHKJef GgXlmAjv0OZyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRn1Gt4z9rxM; Sun, 6 Sep 2020 07:47:48 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:51 -0300 Message-Id: <20200906054653.467-7-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=UpR7KgSu; 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: c4W5oZ82qxNM * gnu/packages/python-xyz.scm (python-trio-typing): New variable. --- gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c82d982372..e31e7f82fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19259,6 +19259,54 @@ programs that do multiple things at the same time with parallelized I/O.") ;; Either license applies. (license (list license:expat license:asl2.0)))) +(define-public python-trio-typing + (package + (name "python-trio-typing") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trio-typing" version)) + (sha256 + (base32 "1yvlj4vf3wyvp16dw6vyfm4i2idm8lvdc3fvjhi6mhm62zv7s07j")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-attrs" ,python-attrs) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-mypy" ,python-mypy) + ("python-mypy-extensions" + ,python-mypy-extensions) + ("python-trio" ,python-trio) + ("python-typing-extensions" + ,python-typing-extensions))) + (home-page "https://github.com/python-trio/trio-typing") + (synopsis "Static type checking support for Trio and related projects") + (description + "This package provides: + +@itemize +@item PEP 561 typing stubs packages for the Trio project packages: + +@itemize +@item trio (@code{trio-stubs}) +@item outcome (@code{outcome-stubs}) +@item async_generator (@code{async_generator-stubs}) +@end itemize + +@item A package @code{trio_typing} containing types that Trio programs often +want to refer to (@code{AsyncGenerator[Y, S]} and @code{TaskStatus[T])} and +a mypy plugin that smooths over some limitations in the basic type hints. +@end itemize") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-humanize (package (name "python-humanize") -- 2.20.1