From patchwork Mon Oct 28 10:31:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 69588 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 C6BF827BBEA; Mon, 28 Oct 2024 10:33:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 545E827BBE2 for ; Mon, 28 Oct 2024 10:33:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5N44-0005VR-E0; Mon, 28 Oct 2024 06:33:36 -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 1t5N42-0005V0-FC for guix-patches@gnu.org; Mon, 28 Oct 2024 06:33:34 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5N42-0007sC-6W; Mon, 28 Oct 2024 06:33:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=v+dKm8pe94YK3jSp0Xuk+a9peQXwnNyRn0Rv5aWVRW8=; b=PtSzhzSHLNUHronskCJXUCpWTQ8eFsRq2ECjY62B7mWueZ1wCd8qqoq6m8fLJnAeuTHJ/FENIhvKlACrjjTd/KohN019FuAE1goYcko2fZPEPcVPrbZkVdUyBtNisZs/Xpw9mESRViPwuNFe1FfEWKt/92E8c+gSbJD4F7k40KtCIffvOZoXK3hkv9PcxM98oC7/FPKj7oIsZ67R42NRR71XPojlz+upMaY70erpI48ID0nsCKWA4P1FZspQg0ftXwZQex8mBiKN2yP157xahTegWcRl73n0uOW5RYAVy0PwFKbujxej6anP9wUQIz7C4Oqskn5/9qM0KxFYGWsCbg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5N4U-0000QV-O1; Mon, 28 Oct 2024 06:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74057] [PATCH] gnu: Add python-green. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74057@debbugs.gnu.org Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.17301115911552 (code B ref -1); Mon, 28 Oct 2024 10:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2024 10:33:11 +0000 Received: from localhost ([127.0.0.1]:52641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5N3f-0000Oy-Fs for submit@debbugs.gnu.org; Mon, 28 Oct 2024 06:33:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:39688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5N3e-0000Oq-BY for submit@debbugs.gnu.org; Mon, 28 Oct 2024 06:33:10 -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 1t5N32-0004oL-J6 for guix-patches@gnu.org; Mon, 28 Oct 2024 06:32:33 -0400 Received: from freeshell.de ([2a01:4f8:231:482b::2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5N30-0007oJ-QO for guix-patches@gnu.org; Mon, 28 Oct 2024 06:32:32 -0400 Received: from localhost.localdomain (cst-prg-18-151.cust.vodafone.cz [46.135.18.151]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id D7273B4B09E1 for ; Mon, 28 Oct 2024 11:32:24 +0100 (CET) From: Wiktor =?utf-8?q?=C5=BBelazny?= Date: Mon, 28 Oct 2024 11:31:52 +0100 Message-ID: <1ae7b1ecab0ddc6f3629de1f63b55d94cbc2aa3b.1730111347.git.wz@freeshell.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:4f8:231:482b::2; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-check.scm (python-green): New variable. Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b --- gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: 4a46758aee863cc31815865cdac4c16fb6a0a879 diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index efd192ad2c..6cbb7e26e7 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -3001,3 +3001,27 @@ (define-public python-vulture dead code. Also, code that is only called implicitly may be reported as unused.") (license license:expat))) + +(define-public python-green + (package + (name "python-green") + (version "4.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "green" version)) + (sha256 + (base32 "1cd62nbn5dvlpnsyplp6cb24wd230san8dpm6pnl99n2kwzpq1m4")))) + (build-system pyproject-build-system) + ;; python-coverage both in requirements.txt and requirements-dev.txt + (propagated-inputs (list python-colorama python-coverage python-lxml + python-unidecode)) + (native-inputs (list python-black python-django python-mypy + python-testtools)) + (home-page "https://github.com/CleanCut/green") + (synopsis "Clean, colorful, fast python test runner") + (description + "@code{green} is a python test runner which in addition to +being clean, colorful and fast describes itself as powerful, traditional, +descriptive, convenient, thorough, embedded, modern, portable and living.") + (license license:expat)))