From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ECPRACS1J2HHYwEAgWs5BA (envelope-from ) for ; Thu, 26 Aug 2021 17:37:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +MH5NyO1J2FQEQAAbx9fmQ (envelope-from ) for ; Thu, 26 Aug 2021 15:37:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BFA2820512 for ; Thu, 26 Aug 2021 17:37:07 +0200 (CEST) Received: from localhost ([::1]:40580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJHRC-00050v-O0 for larch@yhetil.org; Thu, 26 Aug 2021 11:37:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJHR8-00050Y-6l for guix-patches@gnu.org; Thu, 26 Aug 2021 11:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJHR7-0008BN-Vi for guix-patches@gnu.org; Thu, 26 Aug 2021 11:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJHR7-00026Z-TX for guix-patches@gnu.org; Thu, 26 Aug 2021 11:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50213] [PATCH 15/19] gnu: Add python-dotenv. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Aug 2021 15:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50213@debbugs.gnu.org Cc: jgart Received: via spool by 50213-submit@debbugs.gnu.org id=B50213.16299921988052 (code B ref 50213); Thu, 26 Aug 2021 15:37:01 +0000 Received: (at 50213) by debbugs.gnu.org; 26 Aug 2021 15:36:38 +0000 Received: from localhost ([127.0.0.1]:50160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJHQg-00025i-M9 for submit@debbugs.gnu.org; Thu, 26 Aug 2021 11:36:38 -0400 Received: from mx1.dismail.de ([78.46.223.134]:5316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJH76-0001TM-Hn for 50213@debbugs.gnu.org; Thu, 26 Aug 2021 11:16:21 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1fccfb9d for <50213@debbugs.gnu.org>; Thu, 26 Aug 2021 17:16:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=ZEdLY6SKSCZe4Pc74yBuW BiP1B0bdevrM2LPVE3R8IE=; b=mouRGZT+yEvZTAtvapUUi45dcfXP9FqSZHJMx lgVL03kLi27tY92hwt32lVCpLfO4aD2gStGawOX0g4A9xkVliwM9uUZCNOogTmDa ZUvBuczH+fwBoTf6vb7CX13ndxK6vFDC1jyLY0PxqOioY23wnOYgr1mL0WX767Vn wcGkCQSeJ1QPzBm0+eOzDYYA5d+6TkXaHX45inDaFDN913767/9ManF+tHWBILKW VY5t7d6gbTc4s6067Ek989++Sdn0l8cDvuTEqijYHSnddlSkLJQy89f8qlGA+CAV dfOUbazdyFhz7DITLkYiTgDWSsenUjI5Ju/TOSnxvHb/9t+CA== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id efe0155a for <50213@debbugs.gnu.org>; Thu, 26 Aug 2021 17:16:16 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id e471f327 for <50213@debbugs.gnu.org>; Thu, 26 Aug 2021 17:16:16 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c608e598 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 26 Aug 2021 17:16:15 +0200 (CEST) Date: Thu, 26 Aug 2021 11:15:49 -0400 Message-Id: <20210826151553.10127-15-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210826151553.10127-1-jgart@dismail.de> References: <20210826151553.10127-1-jgart@dismail.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629992227; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qaoXRjZaetF7QMS/vVhhmJQq+ab/5jAZJ3FeZ680S80=; b=sTKLTQQQ1hQDx216X5BYargcIgMgDhZVRZ8XGktxGFtjTpZb1MHFDtjlg9rvI6SpkI4wPS MtgPm5KV4wMAlKxyfLzRXl62sCHWvr2+7b38lbLvKpIfL6g7p6U8hxu1PWFsM2EJWHMYZF KNkEQ+vxD4MkpOOKbSpI6QGP/k4QhMuz9J8k+Sm7/4S/j9YkAApomygNp5xopOBiVbg8M6 AbxL3vwqCeQCeFWYl7wtGLKnDWTrF6LA+wo/ze7YqIGrGFik5WkIYJcIusc927JYSyjtNY 2gcgFzndy2uUqBd4gkhiqf2vTZ8wYpOgfiAu4dFk61sprEZGX+PZZnk/URzPYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629992227; a=rsa-sha256; cv=none; b=VBq9HHjPBYsahIh7glkQFoZBtC8qFWhW3joGeOsRH0hf4gdqsbYFjBTToUjI0TVgZ+cAdq /sAgB0+8N1GJ/O8VOH+r10R5/CLEkxv+YFO/rPqxEf9Lut6pB7LKpR/WlLZNc/MAVyWeTd ZVjw3RMFaolDla9/HBsqTV20F3gafzprLMMs21mhyiJuAK3XakWA1a0dRhykaG0LK3l5in 8hX28kHhijt8vINv2m9OnuAsDhf75qwhOrLM4OOfIOqkFEZS0R6rcePeOK4yy8BuquNRn0 jy915Uc3lefiy5S+Ocn6GrMDNBCGjBJxUa38rKJVLL77HzMOCxRPEabDyF2hGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=mouRGZT+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=mouRGZT+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BFA2820512 X-Spam-Score: 1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: jQZbSXlry9FS * gnu/packages/python-xyz.scm (python-dotenv): New variable. --- gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f379c54164..a63ee98dab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1931,6 +1931,49 @@ a library.") (description "DiskCache is a disk and file backed persistent cache.") (license license:asl2.0))) +(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) + (native-inputs + `(("python-sh" ,python-sh) + ("python-ipython" ,python-ipython) + ("python-pytest" ,python-pytest) + ("python-mock" ,python-mock))) + (propagated-inputs + `(("python-click" ,python-click))) + (home-page + "https://github.com/theskumar/python-dotenv") + (synopsis + "Read key-value pairs from a .env file and set them as environment variables") + (description +"Python-dotenv reads key-value pairs from a .env file and can set them as environment +variables. It facilitates the development of applications following the 12 factors for +building software-as-a-service apps as detailed by Adam Wiggins: +@enumerate +@item One codebase tracked in revision control, many deploys +@item Explicitly declare and isolate dependencies +@item Store config in the environment +@item Treat backing services as attached resources +@item Strictly separate build and run stages +@item Execute the app as one or more stateless processes +@item Export services via port binding +@item Scale out via the process model +@item Maximize robustness with fast startup and graceful shutdown +@item Keep development, staging, and production as similar as possible +@item Treat logs as event streams +@item Run admin/management tasks as one-off processes +@end enumerate") + (license license:bsd-4))) + (define-public python-bitstruct (package (name "python-bitstruct") -- 2.33.0