From patchwork Mon Aug 2 18:13:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31750 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 9412627BC78; Mon, 2 Aug 2021 19:16:38 +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, SPF_HELO_PASS,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 ESMTPS id 4673027BC6B for ; Mon, 2 Aug 2021 19:16:38 +0100 (BST) Received: from localhost ([::1]:34368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUP-0006ED-7E for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:16:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTt-0006Bn-Bj for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTt-0007xb-4I for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTt-0000GG-1V for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49834] [PATCH 1/7] gnu: Add python-flake8-debugger. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49834 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49834@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928116859 (code B ref -1); Mon, 02 Aug 2021 18:16:04 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:16 +0000 Received: from localhost ([127.0.0.1]:39241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcT0-0000DS-Sp for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:49998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSz-0000D9-3K for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSy-0005yO-TF for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from latitanza.investici.org ([82.94.249.234]:49901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSv-00076i-Vw for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPW4sQ4zGp5p; Mon, 2 Aug 2021 18:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928095; bh=OHM9J0BT0qTyXYI5JxCPTBngwfB8ixPOizW0TuAj+fo=; h=From:To:Cc:Subject:Date:From; b=WhsbILntB54/o6Xk4/GOAlYVllrQh8sOee5tzNFmyfyGsImLe2U++vbJ9k5ChYkqf rqgBo6shCxLTMhGNA0NP5egd48CVGO6FhLkynf53ZKXt1J4Ed7ZUzA4XhpMevq0zng oVKlnW5LTBO6AXQuJBtbzqvDzGsO2sVFk1z1qXMU= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPW43xCzGp4Q; Mon, 2 Aug 2021 18:14:55 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:53 +0200 Message-Id: <20210802181359.10695-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-debugger): New variable. --- gnu/packages/python-xyz.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) base-commit: f12a35cfa22092a7e3157c94abfef8335f86ac1c diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 61db9febb8..fc7f08a720 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -64,7 +64,7 @@ ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020 Pierre Langlois ;;; Copyright © 2019 Jacob MacDonald -;;; Copyright © 2019, 2020 Giacomo Leidi +;;; Copyright © 2019, 2020, 2021 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019, 2020, 2021 Tanguy Le Carrour ;;; Copyright © 2019, 2021 Mădălin Ionel Patrașcu @@ -9456,6 +9456,31 @@ These should be used in preference to using a backslash for line continuation. @end quotation") (license license:asl2.0))) +(define-public python-flake8-debugger + (package + (name "python-flake8-debugger") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-debugger" version)) + (sha256 + (base32 + "19pdfx0rb3k1i8hxfjdi8ndd6ayzq8g1041j8zdq256vyxvwfgg4")))) + (build-system python-build-system) + (propagated-inputs + `(("python-flake8" ,python-flake8) + ("python-pycodestyle" ,python-pycodestyle) + ("python-six" ,python-six))) + (home-page + "https://github.com/jbkahn/flake8-debugger") + (synopsis + "Ipdb/pdb statement checker plugin for flake8") + (description + "This package provides the @code{flake8-debugger} Python module, +an ipdb/pdb statement checker plugin for flake8.") + (license license:expat))) + (define-public python-flake8-implicit-str-concat (package (name "python-flake8-implicit-str-concat") From patchwork Mon Aug 2 18:13:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31748 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 0224B27BC78; Mon, 2 Aug 2021 19:16:36 +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, SPF_HELO_PASS,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 ESMTPS id BE99B27BC6B for ; Mon, 2 Aug 2021 19:16:35 +0100 (BST) Received: from localhost ([::1]:34306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUM-0006AJ-N7 for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:16:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTq-00069X-PM for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTq-0007vP-H2 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTq-0000F9-Ds for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49830] [PATCH 2/7] gnu: Add python-flake8-todo. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49830 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49830@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928105779 (code B ref -1); Mon, 02 Aug 2021 18:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:05 +0000 Received: from localhost ([127.0.0.1]:39228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSu-0000CQ-N2 for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:49970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSt-0000CB-M7 for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSt-0005wd-FA for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:03 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:50993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSp-00076k-RB for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:03 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPW612lzGp6c; Mon, 2 Aug 2021 18:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928095; bh=l6OytpJtPlNu8Ces71wMj436Wyw5lbWr0W0IdoLmRGU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fz2a8fTe2RfPynKVqQB6WIdO7kYRO3/sfVt+QxuqvGdu8V5OPXEK7icUXZ3Gpb7CG jfc7mp6hkmLPQ39gvKDZ5c0kjt3x1EqD7T179WTVaLRQ59edqEkW7mx3ZUukGz+iym T1pHowvW3GgKghOWipNAKng3hb/gvR/zBm9c3heA= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPW5GKgzGp4Q; Mon, 2 Aug 2021 18:14:55 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:54 +0200 Message-Id: <20210802181359.10695-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-todo): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fc7f08a720..cdfc78478c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9638,6 +9638,29 @@ lints.") (description "This package provides a Flake8 lint for quotes.") (license license:expat))) +(define-public python-flake8-todo + (package + (name "python-flake8-todo") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-todo" version)) + (sha256 + (base32 + "05arm0sch3r8248035kilmf01z0mxsahw6vpbbz0d343zy8m8k3f")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pycodestyle" ,python-pycodestyle))) + (home-page + "https://github.com/schlamar/flake8-todo") + (synopsis + "TODO notes checker, plugin for flake8") + (description + "This package provides the @code{flake8-todo} Python module, a +TODO notes checker plugin for flake8.") + (license license:expat))) + (define-public python-autoflake (package (name "python-autoflake") From patchwork Mon Aug 2 18:13:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31753 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 6491C27BC78; Mon, 2 Aug 2021 19:17:41 +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, SPF_HELO_PASS,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 ESMTPS id 263D427BC6B for ; Mon, 2 Aug 2021 19:17:41 +0100 (BST) Received: from localhost ([::1]:35596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcVP-00077v-54 for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:17:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTs-0006Af-NP for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTs-0007xT-Fd for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTs-0000G2-BY for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49833] [PATCH 3/7] gnu: Add python-dotenv. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49833@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928110837 (code B ref -1); Mon, 02 Aug 2021 18:16:04 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:10 +0000 Received: from localhost ([127.0.0.1]:39239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcT0-0000DI-Iq for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:49990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSy-0000D3-NO for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSy-0005yF-HG for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from latitanza.investici.org ([82.94.249.234]:53611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSw-00076j-Jl for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPW74R5zGp6p; Mon, 2 Aug 2021 18:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928095; bh=CV5Y1F936x+tWcRElEnAZetgi0IeN5IWoMSGb2jQeYg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TYlDB9lQnDozOHZLn8XJYmtdLD3naweDD6If06HE0/EdlzmKn+JDnnz8vYhkNAzPH wWgyYk582+6X43elvpCOfmYDM9PGSQlwNvERQGIR87BmK0wKSttrIZgBWTZW57dUmD uTlXIhddwjQH9U+vcZmevlj/p5Q1zJSbVpRyoWK4= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPW6LbJzGp4Q; Mon, 2 Aug 2021 18:14:55 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:55 +0200 Message-Id: <20210802181359.10695-3-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-dotenv): New variable. --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cdfc78478c..f415d8b2c8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26239,3 +26239,30 @@ enabling you to write CommonMark inside of Docutils & Sphinx projects.") Qhull} for the computation of the convex hull, Delaunay triangulation, and Voronoi diagram.") (license license:expat))) + +(define-public python-dotenv + (package + (name "python-dotenv") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-dotenv" version)) + (sha256 + (base32 + "0b90br3f48ykx5ddfpx2zmsh4vmdqw6s812drcy9pn2q3qyarypg")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click-5))) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-sh" ,python-sh))) + (home-page + "https://github.com/theskumar/python-dotenv") + (synopsis + "Setup environment variables according to .env files") + (description + "This package provides the @code{python-dotenv} Python module to +read key-value pairs from a .env file and set them as environment variables") + (license license:bsd-3))) From patchwork Mon Aug 2 18:13:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31751 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 59AB127BC78; Mon, 2 Aug 2021 19:17:08 +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, SPF_HELO_PASS,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 ESMTPS id 1DD1127BC6B for ; Mon, 2 Aug 2021 19:17:08 +0100 (BST) Received: from localhost ([::1]:35172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUt-0006nN-1l for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTs-0006AN-Fv for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTs-0007wn-8T for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTr-0000Fn-Mf for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49832] [PATCH 4/7] gnu: Add python-box. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49832 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49832@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928110827 (code B ref -1); Mon, 02 Aug 2021 18:16:03 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:10 +0000 Received: from localhost ([127.0.0.1]:39237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcT0-0000DG-8R for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:49988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSy-0000Cv-Ac for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSy-0005y9-4V for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:31007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSw-00076m-01 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:07 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPX1DmxzGp6t; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928096; bh=sAh/YHBEqWilXDIyq8AiP7J802xn5FGizUUuXdxGRVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pmRdEwIdfknf/bzeZAv2bZ46z5yZUK2sjyWig2W3YQSHSBLO8CqsLzsCuhDTjOaak YAnGN/YrMCELbW67jicGUPbWRLQfVGNkW7UNhuC21lyF5bXpLi3iIzvsylFkwy3W3v X/2sGdL+Tof3XzII9ji6m4lyHnohCQfN+UShCPP8= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPX0KYhzGp4Q; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:56 +0200 Message-Id: <20210802181359.10695-4-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-box): 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 f415d8b2c8..b3d0f535c4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26266,3 +26266,27 @@ Voronoi diagram.") "This package provides the @code{python-dotenv} Python module to read key-value pairs from a .env file and set them as environment variables") (license license:bsd-3))) + +(define-public python-box + (package + (name "python-box") + (version "5.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-box" version)) + (sha256 + (base32 + "0jhrdif57khx2hsw1q6a9x42knwcvq8ijgqyq1jmll6y6ifyzm2f")))) + (build-system python-build-system) + (propagated-inputs + `(("python-msgpack" ,python-msgpack) + ("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-toml" ,python-toml))) + (home-page "https://github.com/cdgriffith/Box") + (synopsis + "Advanced Python dictionaries with dot notation access") + (description + "This package provides the @code{python-box} Python module. +It implements advanced Python dictionaries with dot notation access.") + (license license:expat))) From patchwork Mon Aug 2 18:13:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31747 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 06E3327BC78; Mon, 2 Aug 2021 19:16:35 +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, SPF_HELO_PASS,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 ESMTPS id CC17827BC6B for ; Mon, 2 Aug 2021 19:16:34 +0100 (BST) Received: from localhost ([::1]:34298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUL-00069i-Ns for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:16:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTq-00069N-3O for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTp-0007vF-S2 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTp-0000Es-P6 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49829] [PATCH 5/7] gnu: python-ruamel.yaml: Update to 0.17.10. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49829 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49829@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928104773 (code B ref -1); Mon, 02 Aug 2021 18:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:04 +0000 Received: from localhost ([127.0.0.1]:39226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSu-0000CN-Dt for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:49968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSt-0000CA-7o for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSt-0005wY-1n for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:03 -0400 Received: from latitanza.investici.org ([82.94.249.234]:39649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSp-00076n-RD for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:02 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPX2PPRzGp77; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928096; bh=2n41UmWSMbHDfjqIZjwhEH3kCemVLcEsedVPBE2MzdM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UNoq4+nThHVjbfqqOiCNesT+iaGh72Y+r+Eq3W15HH93z1B8DNlc+D2LcB64Jpht4 4kpya/TV38vvR1CJTqQ0okwxM/tqydC1mN/UeWDxn9nGBhdgpxg9mkchsC51wZA5LM bjWIHZkf346Iy/VHPNHhsN6dL8i/EblO1vGJn0no= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPX1ctPzGp4Q; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:57 +0200 Message-Id: <20210802181359.10695-5-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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/serialization.scm (python-ruamel.yaml): Update to 0.17.10. --- gnu/packages/serialization.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 19fbafa338..fedcd21e12 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -532,14 +532,14 @@ it is comparable to protobuf.") (define-public python-ruamel.yaml (package (name "python-ruamel.yaml") - (version "0.15.83") + (version "0.17.10") (source (origin (method url-fetch) (uri (pypi-uri "ruamel.yaml" version)) (sha256 (base32 - "0p4i8ad28cbbbjja8b9274irkhnphhvhap3aym6yb8xfp1d72kpw")))) + "0rwywdbmy20qwssccydpaval2vq36825fiva374zf3vavkbchsqh")))) (build-system python-build-system) (native-inputs `(("python-pytest" ,python-pytest))) From patchwork Mon Aug 2 18:13:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31749 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 0703F27BC78; Mon, 2 Aug 2021 19:16:37 +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, SPF_HELO_PASS,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 ESMTPS id C972727BC6B for ; Mon, 2 Aug 2021 19:16:36 +0100 (BST) Received: from localhost ([::1]:34316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUN-0006BG-Of for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:16:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTr-00069j-Cx for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTr-0007wc-54 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTr-0000FT-26 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49831] [PATCH 6/7] gnu: Add python-pep8-naming. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49831 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49831@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928108799 (code B ref -1); Mon, 02 Aug 2021 18:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:08 +0000 Received: from localhost ([127.0.0.1]:39232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSy-0000Cp-0v for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:49984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSw-0000Cg-I0 for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSw-0005xV-6y for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:06 -0400 Received: from latitanza.investici.org ([82.94.249.234]:58829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSt-0007CM-Q9 for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:05 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPX3kpYzGp7V; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928096; bh=RRGIF6SaJnvaD+warKQ5I6oyNja5UGIh9oUgOHStQzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BjLdP6ryWACkab1sO83lCBvBLE4+RyHGaF9JEg4Macz3hkYMfh+/J3jb+sWhW5dYd ilc0uf+zMmsZKv6AoqInP6Eb/JdXRGdBWBlE41u4CkCN2RaRDJQRO1H79tSoxeGP6T cNEnVVVELvjXRjgxGR2m+Xz1s0TJL3oyyHcaSoLE= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPX2kdbzGp7G; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:58 +0200 Message-Id: <20210802181359.10695-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-pep8-naming): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b3d0f535c4..b7e20d8358 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9242,6 +9242,31 @@ PEP 8.") (define-public python2-pep8 (package-with-python2 python-pep8)) +(define-public python-pep8-naming + (package + (name "python-pep8-naming") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pep8-naming" version)) + (sha256 + (base32 + "04kyh9hkpyc8jzj16d1kkk29b5n8miqdvbs0zm035n1z5z5kx6hz")))) + (build-system python-build-system) + (propagated-inputs + `(("python-flake8" ,python-flake8) + ("python-flake8-polyfill" + ,python-flake8-polyfill))) + (home-page + "https://github.com/PyCQA/pep8-naming") + (synopsis + "Check PEP-8 naming conventions") + (description + "This package provides the @code{pep8-naming} Python module, a +plugin for flake8 to check PEP-8 naming conventions.") + (license license:expat))) + (define-public python-pep517 (package (inherit python-pep517-bootstrap) From patchwork Mon Aug 2 18:13:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 31752 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 8B54A27BC78; Mon, 2 Aug 2021 19:17: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.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,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 ESMTPS id 9E66827BC6B for ; Mon, 2 Aug 2021 19:17:10 +0100 (BST) Received: from localhost ([::1]:35198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAcUv-0006pP-Gi for patchwork@mira.cbaines.net; Mon, 02 Aug 2021 14:17:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcTt-0006Cq-VX for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcTt-0007yf-Of for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcTt-0000GV-Lw for guix-patches@gnu.org; Mon, 02 Aug 2021 14:16:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49835] [PATCH 7/7] gnu: Add dynaconf. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49835@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1627928124873 (code B ref -1); Mon, 02 Aug 2021 18:16:05 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 18:15:24 +0000 Received: from localhost ([127.0.0.1]:39243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcT6-0000Do-Qu for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:49986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcSx-0000Cm-2R for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:15:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSw-0005xh-Mt for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:06 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]:48143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAcSt-0007CO-Sx for guix-patches@gnu.org; Mon, 02 Aug 2021 14:15:06 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4GdmPX4pl3zGp4Q; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1627928096; bh=BSOHLi60j6HpAi/ALyahiRJD3MBJCfU77ViiMPt7na8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ddzFEdiSgVXqsF7IKgqjh/6LVHoxP26e4c2ujoN991yX16K1zR+fo1NBndmvhOl2D ZAEpeec2dWcHIXQ0hWORv001gkZtW6ur7pKOQEBGaLeN/ZlAhVwlwAGtnzgl8sTbWh aRCwERacdTvm43c+Yx4z5uDOE6p8dlxpcbFJyY7I= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4GdmPX41cSzGp7G; Mon, 2 Aug 2021 18:14:56 +0000 (UTC) From: Giacomo Leidi Date: Mon, 2 Aug 2021 20:13:59 +0200 Message-Id: <20210802181359.10695-7-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> References: <20210802181359.10695-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-colorama-0.4.1): New variable, (python-dotenv-0.13.0): New variable, (dynaconf): New variable. * gnu/packages/patches/dynaconf-Unvendor-dependencies.patch: New file. * local.mk (dist_patch_DATA): Register it. --- gnu/local.mk | 1 + .../dynaconf-Unvendor-dependencies.patch | 161 ++++++++++++++++++ gnu/packages/python-xyz.scm | 95 +++++++++++ 3 files changed, 257 insertions(+) create mode 100644 gnu/packages/patches/dynaconf-Unvendor-dependencies.patch diff --git a/gnu/local.mk b/gnu/local.mk index 9e8f2d702d..847137b77c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -972,6 +972,7 @@ dist_patch_DATA = \ %D%/packages/patches/dstat-skip-devices-without-io.patch \ %D%/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch \ %D%/packages/patches/dvd+rw-tools-add-include.patch \ + %D%/packages/patches/dynaconf-Unvendor-dependencies.patch \ %D%/packages/patches/ecl-16-format-directive-limit.patch \ %D%/packages/patches/ecl-16-ignore-stderr-write-error.patch \ %D%/packages/patches/ecl-16-libffi.patch \ diff --git a/gnu/packages/patches/dynaconf-Unvendor-dependencies.patch b/gnu/packages/patches/dynaconf-Unvendor-dependencies.patch new file mode 100644 index 0000000000..10b72d5013 --- /dev/null +++ b/gnu/packages/patches/dynaconf-Unvendor-dependencies.patch @@ -0,0 +1,161 @@ +From 3558d30d5916ec6a91ce0d9c201ff9a11675d7c3 Mon Sep 17 00:00:00 2001 +From: Giacomo Leidi +Date: Mon, 2 Aug 2021 19:29:07 +0200 +Subject: [PATCH] Use system dependencies. + +Box was not unvendored because it appears to be heavily patched. +--- + dynaconf/cli.py | 4 ++-- + dynaconf/default_settings.py | 2 +- + dynaconf/loaders/env_loader.py | 2 +- + dynaconf/loaders/toml_loader.py | 2 +- + dynaconf/loaders/yaml_loader.py | 2 +- + dynaconf/utils/parse_conf.py | 2 +- + dynaconf/vendor/box/converters.py | 6 +++--- + dynaconf/vendor/box/from_file.py | 6 +++--- + tests/test_cli.py | 2 +- + 9 files changed, 14 insertions(+), 14 deletions(-) + +diff --git a/dynaconf/cli.py b/dynaconf/cli.py +index 2d45e52..7df767a 100644 +--- a/dynaconf/cli.py ++++ b/dynaconf/cli.py +@@ -20,8 +20,8 @@ from dynaconf.utils.functional import empty + from dynaconf.utils.parse_conf import parse_conf_data + from dynaconf.validator import ValidationError + from dynaconf.validator import Validator +-from dynaconf.vendor import click +-from dynaconf.vendor import toml ++import click ++import toml + + + CWD = Path.cwd() +diff --git a/dynaconf/default_settings.py b/dynaconf/default_settings.py +index 66601b0..9605fc5 100644 +--- a/dynaconf/default_settings.py ++++ b/dynaconf/default_settings.py +@@ -8,7 +8,7 @@ from dynaconf.utils import upperfy + from dynaconf.utils import warn_deprecations + from dynaconf.utils.files import find_file + from dynaconf.utils.parse_conf import parse_conf_data +-from dynaconf.vendor.dotenv import load_dotenv ++from dotenv import load_dotenv + + + def try_renamed(key, value, older_key, current_key): +diff --git a/dynaconf/loaders/env_loader.py b/dynaconf/loaders/env_loader.py +index e7b13bd..b034c8a 100644 +--- a/dynaconf/loaders/env_loader.py ++++ b/dynaconf/loaders/env_loader.py +@@ -2,7 +2,7 @@ from os import environ + + from dynaconf.utils import upperfy + from dynaconf.utils.parse_conf import parse_conf_data +-from dynaconf.vendor.dotenv import cli as dotenv_cli ++from dotenv import cli as dotenv_cli + + + IDENTIFIER = "env" +diff --git a/dynaconf/loaders/toml_loader.py b/dynaconf/loaders/toml_loader.py +index 07b973f..d81d675 100644 +--- a/dynaconf/loaders/toml_loader.py ++++ b/dynaconf/loaders/toml_loader.py +@@ -5,7 +5,7 @@ from dynaconf import default_settings + from dynaconf.constants import TOML_EXTENSIONS + from dynaconf.loaders.base import BaseLoader + from dynaconf.utils import object_merge +-from dynaconf.vendor import toml ++import toml + + + def load(obj, env=None, silent=True, key=None, filename=None): +diff --git a/dynaconf/loaders/yaml_loader.py b/dynaconf/loaders/yaml_loader.py +index 33c6532..3ef419a 100644 +--- a/dynaconf/loaders/yaml_loader.py ++++ b/dynaconf/loaders/yaml_loader.py +@@ -7,7 +7,7 @@ from dynaconf.constants import YAML_EXTENSIONS + from dynaconf.loaders.base import BaseLoader + from dynaconf.utils import object_merge + from dynaconf.utils.parse_conf import try_to_encode +-from dynaconf.vendor.ruamel import yaml ++from ruamel import yaml + + # Add support for Dynaconf Lazy values to YAML dumper + yaml.SafeDumper.yaml_representers[ +diff --git a/dynaconf/utils/parse_conf.py b/dynaconf/utils/parse_conf.py +index 5fc8234..6509c35 100644 +--- a/dynaconf/utils/parse_conf.py ++++ b/dynaconf/utils/parse_conf.py +@@ -8,7 +8,7 @@ from dynaconf.utils import extract_json_objects + from dynaconf.utils import multi_replace + from dynaconf.utils import recursively_evaluate_lazy_format + from dynaconf.utils.boxing import DynaBox +-from dynaconf.vendor import toml ++import toml + + try: + from jinja2 import Environment +diff --git a/dynaconf/vendor/box/converters.py b/dynaconf/vendor/box/converters.py +index 93cdcfb..c81877a 100644 +--- a/dynaconf/vendor/box/converters.py ++++ b/dynaconf/vendor/box/converters.py +@@ -7,9 +7,9 @@ _B='utf-8' + _A=None + import csv,json,sys,warnings + from pathlib import Path +-import dynaconf.vendor.ruamel.yaml as yaml ++import ruamel.yaml as yaml + from dynaconf.vendor.box.exceptions import BoxError,BoxWarning +-from dynaconf.vendor import toml ++import toml + BOX_PARAMETERS='default_box','default_box_attr','conversion_box','frozen_box','camel_killer_box','box_safe_prefix','box_duplicates','ordered_box','default_box_none_transform','box_dots','modify_tuples_box','box_intact_types','box_recast' + def _exists(filename,create=_E): + A=filename;B=Path(A) +@@ -75,4 +75,4 @@ def _to_csv(box_list,filename,encoding=_B,errors=_C): + for G in A:D.writerow(G) + def _from_csv(filename,encoding=_B,errors=_C): + A=filename;_exists(A) +- with open(A,_G,encoding=encoding,errors=errors,newline='')as B:C=csv.DictReader(B);return[A for A in C] +\ No newline at end of file ++ with open(A,_G,encoding=encoding,errors=errors,newline='')as B:C=csv.DictReader(B);return[A for A in C] +diff --git a/dynaconf/vendor/box/from_file.py b/dynaconf/vendor/box/from_file.py +index daa1137..4a2739d 100644 +--- a/dynaconf/vendor/box/from_file.py ++++ b/dynaconf/vendor/box/from_file.py +@@ -1,8 +1,8 @@ + from json import JSONDecodeError + from pathlib import Path + from typing import Union +-from dynaconf.vendor.toml import TomlDecodeError +-from dynaconf.vendor.ruamel.yaml import YAMLError ++from toml import TomlDecodeError ++from ruamel.yaml import YAMLError + from .exceptions import BoxError + from .box import Box + from .box_list import BoxList +@@ -31,4 +31,4 @@ def box_from_file(file,file_type=None,encoding='utf-8',errors='strict'): + if A.suffix in('.json','.jsn'):return _to_json(B) + if A.suffix in('.yaml','.yml'):return _to_yaml(B) + if A.suffix in('.tml','.toml'):return _to_toml(B) +- raise BoxError(f"Could not determine file type based off extension, please provide file_type") +\ No newline at end of file ++ raise BoxError(f"Could not determine file type based off extension, please provide file_type") +diff --git a/tests/test_cli.py b/tests/test_cli.py +index 9338851..726b009 100644 +--- a/tests/test_cli.py ++++ b/tests/test_cli.py +@@ -11,7 +11,7 @@ from dynaconf.cli import main + from dynaconf.cli import read_file_in_root_directory + from dynaconf.cli import WRITERS + from dynaconf.utils.files import read_file +-from dynaconf.vendor.click.testing import CliRunner ++from click.testing import CliRunner + + + runner = CliRunner() + +base-commit: 952e713353356ea701196ac5ad204c72fd097e58 +-- +2.32.0 + diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b7e20d8358..f4f3b7fb3f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -137,6 +137,7 @@ #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) + #:use-module (gnu packages django) #:use-module (gnu packages djvu) #:use-module (gnu packages docker) #:use-module (gnu packages enchant) @@ -12473,6 +12474,16 @@ text.") (home-page "https://pypi.org/project/colorama/") (license license:bsd-3))) +(define-public python-colorama-0.4.1 + (package (inherit python-colorama) + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "colorama" version)) + (sha256 + (base32 "0ba247bx5pc60hcpbf3rjsqk0whilg241i9qdfnlcwij5qgdgvh5")))))) + (define-public python2-colorama (package-with-python2 python-colorama)) @@ -26292,6 +26303,18 @@ Voronoi diagram.") read key-value pairs from a .env file and set them as environment variables") (license license:bsd-3))) +(define-public python-dotenv-0.13.0 + (package (inherit python-dotenv) + (name "python-dotenv") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-dotenv" version)) + (sha256 + (base32 + "0x5dagmfn31phrbxlwacw3s4w5vibv8fxqc62nqcdvdhjsy0k69v")))))) + (define-public python-box (package (name "python-box") @@ -26315,3 +26338,75 @@ read key-value pairs from a .env file and set them as environment variables") "This package provides the @code{python-box} Python module. It implements advanced Python dictionaries with dot notation access.") (license license:expat))) + +(define-public dynaconf + (package + (name "dynaconf") + (version "3.1.4") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/rochacbruno/dynaconf") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0dafd7hb691g6s3yjfvl5gph5md73n6g9j44kjpbnbbilr5pc85g")) + (patches (search-patches "dynaconf-Unvendor-dependencies.patch")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove vendored dependencies + (let ((unvendor '("click" "dotenv" "ruamel" "toml"))) + (with-directory-excursion "dynaconf/vendor" + (for-each delete-file-recursively unvendor)) + (with-directory-excursion "dynaconf/vendor_src" + (for-each delete-file-recursively unvendor))))))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? outputs #:allow-other-keys) + (when tests? + (setenv "PATH" + (string-append (assoc-ref outputs "out") "/bin:" + (getenv "PATH"))) + ;; These tests depend on hvac and a + ;; live Vault process. + (delete-file "tests/test_vault.py") + (invoke "make" "test_only")) + #t))))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-dotenv" ,python-dotenv-0.13.0) + ("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-toml" ,python-toml))) + (native-inputs + `(("make" ,gnu-make) + ("python-codecov" ,python-codecov) + ("python-configobj" ,python-configobj) + ("python-colorama" ,python-colorama-0.4.1) + ("python-django" ,python-django) + ("python-flake8" ,python-flake8) + ("python-flake8-debugger" ,python-flake8-debugger) + ("python-flake8-print" ,python-flake8-print) + ("python-flake8-todo" ,python-flake8-todo) + ("python-flask" ,python-flask) + ("python-future" ,python-future) + ("python-pep8-naming" ,python-pep8-naming) + ("python-pytest" ,python-pytest-6) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-forked" ,python-pytest-forked) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest-xdist" ,python-pytest-xdist) + ("python-radon" ,python-radon))) + (home-page + "https://github.com/rochacbruno/dynaconf") + (synopsis + "The dynamic configurator for your Python Project") + (description + "This package provides @code{dynaconf} the dynamic configurator for +your Python Project.") + (license license:expat)))