From patchwork Wed Mar 10 09:00:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 27587 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 BC1B627BC52; Wed, 10 Mar 2021 09:03:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,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 5793727BC50 for ; Wed, 10 Mar 2021 09:03:31 +0000 (GMT) Received: from localhost ([::1]:51630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJukc-0005SO-JB for patchwork@mira.cbaines.net; Wed, 10 Mar 2021 04:03:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJujG-0003fW-Ab for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJujF-0007Oz-W7 for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJujF-00047c-TH for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#42885] [PATCH 09/27] gnu: Add python-pyannotate. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Mar 2021 09:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42885@debbugs.gnu.org Received: via spool by 42885-submit@debbugs.gnu.org id=B42885.161536689515549 (code B ref 42885); Wed, 10 Mar 2021 09:02:05 +0000 Received: (at 42885) by debbugs.gnu.org; 10 Mar 2021 09:01:35 +0000 Received: from localhost ([127.0.0.1]:48656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJuik-00042f-Rl for submit@debbugs.gnu.org; Wed, 10 Mar 2021 04:01:35 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:15978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJuih-00041d-9e for 42885@debbugs.gnu.org; Wed, 10 Mar 2021 04:01:31 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4DwQzn5w1tzQjmh for <42885@debbugs.gnu.org>; Wed, 10 Mar 2021 10:01:25 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1615366883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tT1YIPNxh8c6oXH22B3U3AALmqOykjHO8d1usG0VLak=; b=DNujkylCYkUep+vLvovysPuJ98vcIM205MwBuvaNXvsk7oqQqY5yL54iy2n4yRaWy4Vf3Q 4M6xYa6ClvFeBEXHR1r/HXl4NzbdzkMX+XlWqurEcDoAWHPLSeNh7vG1Gi+5abwlj5+NeB Gd/K5f5PSFf08bMMQRgvnenKq4nX1Xf3hVXM0j3qHZ2l76cMAGAUfcQGI8CFWdoKpHMPx4 wZC9BZEG+pTQ+kALNQSnDmuptC0vJv25skb8cRKdOvUVxmToT3iE6ZNFI+gJ2Dwg6j1Rlg TLzKlttljSnxJ/t0hl/2MBTWcDZQAHUtCGuOYLRSBppR7ZV5o91C12scxYZ96w== Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id 3wI3wAOWDoDl for <42885@debbugs.gnu.org>; Wed, 10 Mar 2021 10:01:21 +0100 (CET) From: Brendan Tildesley Date: Wed, 10 Mar 2021 20:00:35 +1100 Message-Id: <20210310090053.21612-9-mail@brendan.scot> In-Reply-To: <20210310090053.21612-1-mail@brendan.scot> References: <20210310090053.21612-1-mail@brendan.scot> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -9.71 / 15.00 / 15.00 X-Rspamd-Queue-Id: 669941889 X-Rspamd-UID: 5be270 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-check.scm (python-pyannotate): New variable. --- gnu/packages/python-check.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 15efdd3297..0de3a779b6 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Tanguy Le Carrour ;;; Copyright © 2021 Sharlatan Hellseher +;;; Copyright © 2021 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -1156,6 +1157,28 @@ any Python VM with basically no runtime overhead.") ;; mypyc/lib-rt/getargs.c (license (list license:expat license:psfl)))) +(define-public python-pyannotate + (package + (name "python-pyannotate") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyannotate" version)) + (sha256 + (base32 + "16bm0mf7wxvy0lgmcs1p8n1ji8pnvj1jvj8zk3am70dkp825iv84")))) + (build-system python-build-system) + (propagated-inputs + `(("python-mypy-extensions" ,python-mypy-extensions) + ("python-six" ,python-six))) + (home-page + "https://github.com/dropbox/pyannotate") + (synopsis + "PyAnnotate: Auto-generate PEP-484 annotations") + (description + "PyAnnotate: Auto-generate PEP-484 annotations") + (license license:asl2.0))) (define-public python-eradicate (package (name "python-eradicate")