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)))