From patchwork Fri Nov 19 23:41:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 34666 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 715EC27BBE4; Fri, 19 Nov 2021 23:42:10 +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_H2,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 3343027BBE1 for ; Fri, 19 Nov 2021 23:42:10 +0000 (GMT) Received: from localhost ([::1]:40478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moDWD-0001QF-D1 for patchwork@mira.cbaines.net; Fri, 19 Nov 2021 18:42:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moDW6-0001PO-Kc for guix-patches@gnu.org; Fri, 19 Nov 2021 18:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moDW6-0002Kr-CQ for guix-patches@gnu.org; Fri, 19 Nov 2021 18:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moDW6-0007zg-6j for guix-patches@gnu.org; Fri, 19 Nov 2021 18:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49834] [PATCH 1/4] gnu: Add python-dotenv. References: <20210802181359.10695-1-goodoldpaul@autistici.org> In-Reply-To: <20210802181359.10695-1-goodoldpaul@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Nov 2021 23:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49834 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49834@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 49834-submit@debbugs.gnu.org id=B49834.163736530430671 (code B ref 49834); Fri, 19 Nov 2021 23:42:02 +0000 Received: (at 49834) by debbugs.gnu.org; 19 Nov 2021 23:41:44 +0000 Received: from localhost ([127.0.0.1]:40858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moDVn-0007yc-R5 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 18:41:44 -0500 Received: from latitanza.investici.org ([82.94.249.234]:57439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moDVm-0007yF-As for 49834@debbugs.gnu.org; Fri, 19 Nov 2021 18:41:42 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4HwtVF6JP5zGp5H; Fri, 19 Nov 2021 23:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1637365301; bh=KILsP5b7gyRKIMgotJdRoUuRdqPN0UtNhNa5oLkty7A=; h=From:To:Cc:Subject:Date:From; b=mXkl/aLZkYK4Jz5CYMpXtVe29yStc6YhmQOYOKU74n3ALz2m+DRb+gBAIYWen0BOO Hvc+SdlbpJVhmCn9pR/a/OIYM/eRFSKncS6O8IHYPYfQxvXauQKVtb5iki9kdaszYB Y1bYuoJ3OoUWbYw9Lg90PIhlO39n/r+By91xYAYg= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4HwtVF5VK9zGp59; Fri, 19 Nov 2021 23:41:41 +0000 (UTC) Date: Sat, 20 Nov 2021 00:41:22 +0100 Message-Id: <20211119234125.2344-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 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" Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-dotenv): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) base-commit: 7cad4466533f14ec7e9d8744b26a8d5211ff39d4 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a6f8b10bf7..0ec800b9ee 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27558,6 +27558,32 @@ (define-public python-minikanren systems in Python.") (license license:bsd-3))) +(define-public python-dotenv + (package + (name "python-dotenv") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-dotenv" version)) + (sha256 + (base32 + "0wk1kfzbpqk9swvmpa9z3q170ffqql2id4b2dxrkrq58r4mbq8gm")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click))) + (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))) (define-public date2name (let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")