From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4b67Nu9lEF/UZgAA0tVLHw (envelope-from ) for ; Thu, 16 Jul 2020 14:36:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SD0qMu9lEF8lGgAA1q6Kng (envelope-from ) for ; Thu, 16 Jul 2020 14:36:31 +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 82389940225 for ; Thu, 16 Jul 2020 14:36:31 +0000 (UTC) Received: from localhost ([::1]:36582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jw4zp-00085W-0Z for larch@yhetil.org; Thu, 16 Jul 2020 10:36:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw4zT-0007qL-VI for guix-patches@gnu.org; Thu, 16 Jul 2020 10:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jw4zT-0007BV-9d for guix-patches@gnu.org; Thu, 16 Jul 2020 10:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jw4zT-000768-7t for guix-patches@gnu.org; Thu, 16 Jul 2020 10:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42396] [PATCH 2/2] gnu: Add python-mypy. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jul 2020 14:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42396 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42396@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159491011027203 (code B ref -1); Thu, 16 Jul 2020 14:36:03 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2020 14:35:10 +0000 Received: from localhost ([127.0.0.1]:55627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw4yc-00074h-Jd for submit@debbugs.gnu.org; Thu, 16 Jul 2020 10:35:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:50450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw4yZ-00074R-Iy for submit@debbugs.gnu.org; Thu, 16 Jul 2020 10:35:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw4yZ-0007F8-BZ for guix-patches@gnu.org; Thu, 16 Jul 2020 10:35:07 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:45973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw4yX-0006rv-Ex for guix-patches@gnu.org; Thu, 16 Jul 2020 10:35:07 -0400 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 06A4E1BF214; Thu, 16 Jul 2020 14:35:03 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 16 Jul 2020 16:34:44 +0200 Message-Id: <20200716143444.26423-2-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200716143444.26423-1-tanguy@bioneland.org> References: <20200716143444.26423-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.201; envelope-from=tanguy@bioneland.org; helo=relay8-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/16 10:34:59 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.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=none; dmarc=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: 3.99 X-TUID: AmM+r6ZEAHJ9 * gnu/packages/python-check.scm (python-mypy): New variable. --- gnu/packages/python-check.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 819ce21e09..ee3e9fe76a 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -471,3 +471,29 @@ Python software under test, when they make an HTTP query.") (description "The @code{python-mypy-extensions} module defines experimental extensions to the standard 'typing' module that are supported by the mypy typechecker.") (license license:expat))) + +(define-public python-mypy + (package + (name "python-mypy") + (version "0.782") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mypy" version)) + (sha256 + (base32 + "030kn709515452n6gy2i1d9fg6fyrkmdz228lfpmbslybsld9xzg")))) + (build-system python-build-system) + (arguments `(#:tests? #f)); no tests + (propagated-inputs + `(("python-mypy-extensions" ,python-mypy-extensions) + ("python-typing-extensions" ,python-typing-extensions) + ("python-typed-ast" ,python-typed-ast))) + (home-page "http://www.mypy-lang.org/") + (synopsis "Optional static type checker for Python") + (description "Mypy is an optional static type checker for Python that aims +to combine the benefits of dynamic (or 'duck') typing and static typing. Mypy combines +the expressive power and convenience of Python with a powerful type system and +compile-time type checking. Mypy type checks standard Python programs; run them using +any Python VM with basically no runtime overhead.") + (license license:expat))) -- 2.27.0