From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GLtHHPz+0WCP1gAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 17:17:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sOcOGPz+0WCMTgAAB5/wlQ (envelope-from ) for ; Tue, 22 Jun 2021 15:17:16 +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 9911526B26 for ; Tue, 22 Jun 2021 17:17:15 +0200 (CEST) Received: from localhost ([::1]:37770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvi9J-0007Zy-UC for larch@yhetil.org; Tue, 22 Jun 2021 11:17:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvhqk-0007va-4o for guix-patches@gnu.org; Tue, 22 Jun 2021 10:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvhqj-0007nf-SL for guix-patches@gnu.org; Tue, 22 Jun 2021 10:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvhqj-0001Es-So for guix-patches@gnu.org; Tue, 22 Jun 2021 10:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49170] [PATCH] New package: python-fire Resent-From: Danial Behzadi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Jun 2021 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49170 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49170@debbugs.gnu.org Cc: Danial Behzadi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16243738264693 (code B ref -1); Tue, 22 Jun 2021 14:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2021 14:57:06 +0000 Received: from localhost ([127.0.0.1]:39653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvhpq-0001Dd-Da for submit@debbugs.gnu.org; Tue, 22 Jun 2021 10:57:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:56070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgXX-0006oz-J8 for submit@debbugs.gnu.org; Tue, 22 Jun 2021 09:34:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvgXX-00055R-Bl for guix-patches@gnu.org; Tue, 22 Jun 2021 09:34:07 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:34509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvgXV-0003Dj-Bu for guix-patches@gnu.org; Tue, 22 Jun 2021 09:34:07 -0400 Received: by mail-ej1-x62b.google.com with SMTP id hz1so12015017ejc.1 for ; Tue, 22 Jun 2021 06:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HEdSzmJ+9sjfqF3Y8ut+J7NKVBGOcn4rM7sccf0GOOc=; b=Fmzfvy/I5SsRBYhCEy1AI+Fbvk6eciooE5X62IH7xw6UCnOZlQiEQSAoZwF5OyzdsW 4MIfpSFYVRJYaAYpjq/Wdhl08XvCAEyFAQKPMVpVhVjMZUdea3jk8BZYznaLl55zDXxy gHYiLb8iWT2plW7jV634Ms8OB6Rj/266uCYIBpyl4fyv521tQPgtRAgZSdtYP6cGg9u3 RmfFhr4JIAdKZLT4ZRvEUlMvGfu0YbFI7XKUTUZUKRsq6lblTDsYFt6K4EVk75woBdnV OjWDDOV7xy28YWU7Smms0P5n43vnVlzbZ8CvmiqdYoXLhFjdu8vmzomoPtVaPFybN9pl XfyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=HEdSzmJ+9sjfqF3Y8ut+J7NKVBGOcn4rM7sccf0GOOc=; b=hdIwABUK7fcGrS4emPCFlIm4IPPM5+IqkDvpBtwm1C384zzBfVL0G9GHIRs8QjUBVq 7o3NjqL36iJnoHwBGfaorAUmrfUYZ7ulP777PBy9aZ5QV6H4+7S97cXpKrmLYan5NdUb izHIRWrMJUFouUsTGJynvdi3SdEfTQ4Yx0gSRmouh06+/eB0E/Hberiydzn4vrECI53z y7oe9AqKc7fTIkan0J1yDaIwDYQqMoW3BwG14AX0lguQPY2U7KII+nQhQCOcO1P4sR6G 4eNWFlLJhdavCVucrJprcxTH+9yZldHaPaA/FtwHVZNfrnMuC1oXEruiWud9PQXWmyZP i7Uw== X-Gm-Message-State: AOAM5304j9UAimqUmnrDeYhN3/jVPvIiIzGVPNy5+O6o1Cp+JP2LxxrA ViZxLUp+D+zuopukDK/zAL+qVIiP5+zu9g== X-Google-Smtp-Source: ABdhPJwCsuVQ00mUX9awzuwPYVYiAJmiInGD6xzlTiTFPtcYlYAk/wCTED5aZf1lJwwSQDbhuluVTA== X-Received: by 2002:a17:906:f285:: with SMTP id gu5mr4097026ejb.226.1624368840511; Tue, 22 Jun 2021 06:34:00 -0700 (PDT) Received: from ThinkPad-T430.lan ([87.247.180.125]) by smtp.googlemail.com with ESMTPSA id t5sm6173511eje.29.2021.06.22.06.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 06:34:00 -0700 (PDT) From: Danial Behzadi Date: Tue, 22 Jun 2021 18:03:26 +0430 Message-Id: <20210622133326.346547-1-dani.behzi@ubuntu.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=dani.behzi@gmail.com; helo=mail-ej1-x62b.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 22 Jun 2021 10:57:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 22 Jun 2021 11:17:09 -0400 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624375036; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HEdSzmJ+9sjfqF3Y8ut+J7NKVBGOcn4rM7sccf0GOOc=; b=gkeD2f8ybgxXUTVBr8XkOSCI2B0g5SdaLINI4y5GERViQHxsiX5hhImMqXohgHqpXmtkc8 UngXq13HcRNMO0/g7Hq22qOthYX/fDGcGk6oL1MZOTTw7eSmPIZrxNxTLyNMfLuwwQNvdc zYzbPlwoUyWD/TZ90UBGRHUbO4Ccful0q9Hjrt7fj0AHj1h/1zN7CKuqLqaXP9igWLblIU Pdq3iZuEBacoZ9Sfr0mFv9aGurAWjcgqsD0BnwyxVqr3/r9W87J2wDqLtlpdrUYMWUD3q8 DRLi11N3iZQJEROP2oxE8l3ZdW81VNiFpmqEfY5zbyMsVTIZnNqUE3sfZTwwcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624375036; a=rsa-sha256; cv=none; b=msLCAHStoVqqSzdnX0CpwWQRuHbtzND/1n6uVQXm0CA4RBOVfRnonlT67A6AjcaMokf2To xtETh5JqkvpnWwaPncO/ZfVl+iGJdLr8GYfCJDY6e87j0BgzhnT3iIaxSYs9W4EtQDjNgx txVd7vFFbjaU+yO4+/hxS9Ft3+GEqnBn+rzToCEMRH+g9rI34f5trdKGFHEfhx7GN6u2UB qctO3f2e69MDOQ0IWvXUPmFmP7TzGS/YqY+xuQIDeln5wIworxQScO7jbpFI49xHBRL32V mC3pOOaMTqxMjIXiYSEhBdcYa7rybZ/+keTGQFBzI41JWRiRUsbr9n2W1YpQeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="Fmzfvy/I"; dmarc=none; 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: 3.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="Fmzfvy/I"; dmarc=none; 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: 9911526B26 X-Spam-Score: 3.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4ymGkGek/ZPB --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1268ff257a..7ce0ada5ea 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1410,6 +1410,43 @@ the version levels, and check whether any given string is a proper semantic version identifier.") (license license:bsd-3))) +(define-public python-fire + (package + (name "python-fire") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fire" version)) + (sha256 + (base32 + "0qka44n88y3qcj7xz0k0f3qb4phcg4z0wvd4jcii9lcr6rvbiqn5")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest", python-pytest))) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ (invoke "pytest")))))) + (inputs + `(("python-six", python-six) + ("python-termcolor", python-termcolor))) + (synopsis "Library for automatically generating command line interfaces") + (description + "Python Fire is a library for automatically generating command line interfaces + (CLIs) from absolutely any Python object. + + * Python Fire is a simple way to create a CLI in Python. + * Python Fire is a helpful tool for developing and debugging Python code. + * Python Fire helps with exploring existing code or turning other people's + code into a CLI. + * Python Fire makes transitioning between Bash and Python easier. + * Python Fire makes using a Python REPL easier by setting up the REPL with + the modules and variables you'll need already imported and created.") + (home-page "https://github.com/google/python-fire") + (license license:asl2.0))) + (define-public python2-semantic-version (package-with-python2 python-semantic-version)) -- 2.31.1