From patchwork Thu Jun 11 15:13:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 22669 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 BF06427BBE3; Thu, 11 Jun 2020 16:29:48 +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.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,URIBL_BLOCKED autolearn=no 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 ESMTP id 8469327BBE1 for ; Thu, 11 Jun 2020 16:29:48 +0100 (BST) Received: from localhost ([::1]:48878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjP9H-0003Qv-SX for patchwork@mira.cbaines.net; Thu, 11 Jun 2020 11:29:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjOv6-00079e-KA for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjOv6-0004CN-6a for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjOv6-0005Ku-1a for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41807] [PATCH 16/26] gnu: Add python-flake8-pyi. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jun 2020 15:15:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41807 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41807@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 41807-submit@debbugs.gnu.org id=B41807.159188846520255 (code B ref 41807); Thu, 11 Jun 2020 15:15:08 +0000 Received: (at 41807) by debbugs.gnu.org; 11 Jun 2020 15:14:25 +0000 Received: from localhost ([127.0.0.1]:37736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuP-0005GX-A4 for submit@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:25 -0400 Received: from latitanza.investici.org ([82.94.249.234]:64491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuI-0005D4-Ir for 41807@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:18 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 64509120969; Thu, 11 Jun 2020 15:14:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1591888458; bh=GX/buKK3K1BIdfR90jbs3Kkxhda7Nn63ugMCyq06Wp0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u8OXgo1lDPlpmCwLsr41tYEsnDSxlubWSwWU1IvS2Bt6C9v/0Q2IA8AUZK3SzRdxM 8BUPsYK9NevAdE+DUkdz+lul4iLHI54dP37iAzPvAp3ZEZ+1d04/sfrUus6XPnekn9 b7hQIAWXpj55svg4c1inrasI+MxnhVghakAAEMN0= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 2C21112015C; Thu, 11 Jun 2020 15:14:18 +0000 (UTC) From: Giacomo Leidi Date: Thu, 11 Jun 2020 17:13:47 +0200 Message-Id: <20200611151357.18843-16-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200611151357.18843-1-goodoldpaul@autistici.org> References: <20200611151357.18843-1-goodoldpaul@autistici.org> 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-flake8-pyi): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 66fb284eec..7c78a6e4be 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20329,3 +20329,27 @@ disk files in asyncio applications.") to the standard @code{typing} module that are supported by the @code{mypy} typechecker.") (license license:expat))) + +(define-public python-flake8-pyi + (package + (name "python-flake8-pyi") + (version "20.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-pyi" version)) + (sha256 + (base32 + "1zpq4s9kp8w95pccmhhyyx1ff2zhnidcf1zb3xs46lzcx9plvnzk")))) + (build-system python-build-system) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8) + ("python-pyflakes" ,python-pyflakes))) + (home-page "https://github.com/ambv/flake8-pyi") + (synopsis + "Flake8 plugin to enable linting .pyi files") + (description + "@{python-flake8-pyi} is a plugin for Flake8 that provides specializations +for type hinting stub files, especially interesting for linting @code{typeshed}.") + (license license:expat)))