From patchwork Sun May 28 23:44:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fredrik Salomonsson X-Patchwork-Id: 50409 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 1D1C527BBE9; Mon, 29 May 2023 00:45:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0BA3727BBE2 for ; Mon, 29 May 2023 00:45:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3Q4T-0005D2-2R; Sun, 28 May 2023 19:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3Q4S-0005Co-8A for guix-patches@gnu.org; Sun, 28 May 2023 19:45:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3Q4R-0004eU-Vk for guix-patches@gnu.org; Sun, 28 May 2023 19:45:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3Q4O-0006sa-T1; Sun, 28 May 2023 19:45:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42682] [PATCH v3 5/9] gnu: Add python-milc. Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 28 May 2023 23:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42682@debbugs.gnu.org Cc: Fredrik Salomonsson , Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 42682-submit@debbugs.gnu.org id=B42682.168531748826310 (code B ref 42682); Sun, 28 May 2023 23:45:04 +0000 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:48 +0000 Received: from localhost ([127.0.0.1]:56616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q47-0006qI-A7 for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q44-0006pm-5k for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A2843240027 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317478; bh=9er+UxVx3kUzAfpvgdzUeBCuO2A3B3DqtmhLdXC+auY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=GZBSp2dk8Ei/hsfIanrDP8syA75S1N9IW56YkkQ4A9Rk0hEOVj5V440ZZEMN4V2TU wvuJq9RuucZiP7mEysOMGyNJ6xVXzMSUtbl5Q2fGmcQUtEVcIFjWIBTiJtQTD1fZ3O APeWSi53LpcdpfUIWHVTDQ/7qdszqP1MTenUjt8+CXkD1V0co8dJ4VODEBI4KGB5jK VqB4rnhdjZvbZ3cw9JMz64y8Ou6DQeHgzSlgwJDX5zWkH4xskkJHW9BaNnDsz+ptiu XCPkdJfSAwfDgBIyv8DuyzPeCmcbNM9hFchX93/TiHMF6/kIltnDoS2ybkwOYwSKkT gQtHCIDt4nR/Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHT75P2z9rxD; Mon, 29 May 2023 01:44:37 +0200 (CEST) From: Fredrik Salomonsson Date: Sun, 28 May 2023 23:44:03 +0000 Message-Id: In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-milc): New variable. --- gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5df4e30e83..9b71ba1872 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17685,6 +17685,51 @@ (define-public python-magic the same purpose: to provide Python bindings for libmagic.") (license license:expat))) +(define-public python-milc + (package + (name "python-milc") + (version "1.6.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "milc" version)) + (sha256 + (base32 + "007hdwp659s1wfld92pxdgjz9ijvh949wyf1cbmyzkma30vng8d4")))) + (build-system python-build-system) + (propagated-inputs + (list + python-appdirs + python-argcomplete + python-colorama + python-halo + python-spinners)) + (home-page "https://milc.clueboard.co/") + (synopsis "Opinionated Batteries-Included Python 3 CLI Framework") + (description "MILC is a framework for writing @acronym{CLI, Command Line Interface} +applications in Python 3.6+. It gives you all the features users +expect from a modern CLI tool out of the box: +@itemize @bullet +@item +CLI Argument Parsing, with or without subcommands. +@item +Automatic tab-completion support through argcomplete. +@item +Configuration file which can be overridden by CLI options. +@item +ANSI color support- even on Windows- with colorama. +@item +Logging to stderr and/or a file, with ANSI colors. +@item +Easy method for printing to stdout with ANSI colors +@item +Labeling log output with colored emoji to easily distinguish message types. +@item +Thread safety. +@item +More than 60 built-in spinners with the ability to add your own. +@end itemize") + (license license:expat))) + (define-public s3cmd (package (name "s3cmd")