From patchwork Thu Jul 8 20:50:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 31240 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 3B48327BC81; Thu, 8 Jul 2021 21:52:10 +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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,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 030F527BC78 for ; Thu, 8 Jul 2021 21:52:10 +0100 (BST) Received: from localhost ([::1]:60242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1b0D-0008Of-3B for patchwork@mira.cbaines.net; Thu, 08 Jul 2021 16:52:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1b06-0008O6-5c for guix-patches@gnu.org; Thu, 08 Jul 2021 16:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1b05-0002VR-Ub for guix-patches@gnu.org; Thu, 08 Jul 2021 16:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1b05-0006t9-Tn for guix-patches@gnu.org; Thu, 08 Jul 2021 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49470] [PATCH] gnu: Add python-beautysh. References: <200bebc1d00b6b39916ef66fe4992140@dismail.de> In-Reply-To: <200bebc1d00b6b39916ef66fe4992140@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jul 2021 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49470 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49470@debbugs.gnu.org Cc: jgart Received: via spool by 49470-submit@debbugs.gnu.org id=B49470.162577747426414 (code B ref 49470); Thu, 08 Jul 2021 20:52:01 +0000 Received: (at 49470) by debbugs.gnu.org; 8 Jul 2021 20:51:14 +0000 Received: from localhost ([127.0.0.1]:57673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1azK-0006rv-7f for submit@debbugs.gnu.org; Thu, 08 Jul 2021 16:51:14 -0400 Received: from mx1.dismail.de ([78.46.223.134]:29312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1azI-0006rV-9i for 49470@debbugs.gnu.org; Thu, 08 Jul 2021 16:51:12 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 43cef52b for <49470@debbugs.gnu.org>; Thu, 8 Jul 2021 22:51:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=+OOYO2xpDCFkzPgx39LgW6SpdHov2apwsIClZr1iJSg=; b= L+EDAyro8T+bdx8DojXgyAkPsdjgIbahwUPxu5MdZv575nc5s1E2oDX9rSf8f9Gb 96ZOLf0eGjOwdu28/Po6bMTGpfycwrge/VDkMFkAfgmxEPL0oBFxz7Td/Q13l4ON Dylq0MoU47mVOg8lRQeIzC98k/cmZ6AwYLxt0BJhwcYcmO68hOEMRSfSzBpCmtrP 6NAS2bZjTDwYYHBmLlVzEtqorPucXqA4ESiiOwV+aiRs4PphBzS469jH2kvh9vgK LeATUHlWfL+AYZCHjsBEnlL0goA3kcWsZE+SpChG6LSXTliAfqFqZ/1rZjMecYAd 4EfdasDL3dHY8chYniCTQw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 71df9750 for <49470@debbugs.gnu.org>; Thu, 8 Jul 2021 22:51:05 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 09cdf85b for <49470@debbugs.gnu.org>; Thu, 8 Jul 2021 22:51:05 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 7cf25677 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 8 Jul 2021 22:51:05 +0200 (CEST) Date: Thu, 8 Jul 2021 16:50:53 -0400 Message-Id: <20210708205053.6985-1-jgart@dismail.de> X-Mailer: git-send-email 2.31.1 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: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-beautysh): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2bb33dbd63..bde6ba851a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -357,6 +357,32 @@ features of the Python's built-in dict.") from a docstring rather than the other way around.") (license license:mpl2.0))) +(define-public python-beautysh + (package + (name "python-beautysh") + (version "6.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "beautysh" version)) + (sha256 + (base32 + "0i6mnxhl3v48fx4hnd2q03rxy3wg6v444kjjjrm61lvshz5llswn")))) + (build-system python-build-system) + ;; Pypi release does not include tests and github release does not include + ;; setup.py. + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-colorama" ,python-colorama))) + (home-page + "https://github.com/lovesegfault/beautysh") + (synopsis "Bash beautifier for the masses") + (description "@command{beautysh} beautifies bash scripts. @command{beautysh} +can be called from the command line or used as a module. In tests with large +Linux system Bash scripts, its error-free score was ~99%.") + (license license:expat))) + (define-public python-cachetools (package (name "python-cachetools")