From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qPp3HD3fJGfkHwEAe85BDQ:P1 (envelope-from ) for ; Fri, 01 Nov 2024 14:01:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qPp3HD3fJGfkHwEAe85BDQ (envelope-from ) for ; Fri, 01 Nov 2024 15:01:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="nT3F/wwM"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jexjSbUP; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730469693; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=HmnVyIVpOK9h6n54IF0Szer7W8bb9JMKpEsKURIIaAs=; b=DuNTn/zXdTG9b2gIb60MoxeH8aZNi+1P8ZY17A06J88kNZAVwIc+rf7sUCqMRWNehDj3VB xte4Zq8pn1b1IPpEKxemabhSbBJXceSodEsSyjNte8jnvlgA4ewuBPQW3AHEU1WBCjuuWB WwjJiWpREPPhdznal4OaZ0N/XFrP7cd/87lqT0dUE3rlnnzw6nIdE0h2LNVGPjj9V+oEsu vhu5ALWzraVPNFa2LpMg8yZ2PYtnXBF67E/6RQKS9mne8bb1VEZWFg4Afh4bVTMCo5w2Hv TwM0Uzm63u76RYsCapN/rwXlgY9dWSNsYiPEv8b6+fbt274wCP7lN7XPbCuxjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730469693; a=rsa-sha256; cv=none; b=UNVCYHpbm7qvB/rINbiSTjaV44x+oonRwqrvTfgCFTcQJdXIZp4TJ26ZQa89g8Y0Lq4O9e XquilI9s19EWpeN8upiiKktqZqDpL39SRotDiO+NEuV9MANF3pMHjD/uj68PS9QNNs4VAU rJBMFu1hrKdnuvDQSMHUeK3Bvq8g8TNYrXyqD2w8ttDlw8L3seaH51gcn0tWZiCjOz9ph5 blhxQX3mG5PzKLeLOne3B2S42byGRJDwssuaZ2C13yKXnAhZvUgoclbZw8bl2aincpGfj5 Wwyq22guYPQ2Cdo6k8ij/Ljd7Ntvrwp6bqY0zmmexr8DDES0aCJFmEoQ9os2Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="nT3F/wwM"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jexjSbUP; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 4A7E0516B3 for ; Fri, 01 Nov 2024 15:01:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6sDE-0007TL-8E; Fri, 01 Nov 2024 10:01:17 -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 1t6sD1-0007Ss-NA for guix-patches@gnu.org; Fri, 01 Nov 2024 10:01:05 -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 1t6sD1-0004VB-E6 for guix-patches@gnu.org; Fri, 01 Nov 2024 10:01:03 -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:References:In-Reply-To:From:To:Subject; bh=HmnVyIVpOK9h6n54IF0Szer7W8bb9JMKpEsKURIIaAs=; b=nT3F/wwMQ97LXFHRaWqlKGlzOph8brtsSX4O00y4jW/daK79pZVLMwfDlJQmU7LEbPa8krQPPbcK5VPWMrZ2tdsNUasvVmXiVbv1JaDzWhnRwTyK8M2ZWjnhJO9vNTYKhCOxpUPGNkt3KJFqFDZsaKnsQvEyDMutjKKmrZg9z6+euoWP9a5K7bSf5AmgAavyVObjo20B3njfjrwXs38LkteyJvzqYhmjrKTJDB1tmRd1oIM48yt79ss4C5CcC8cpjDVhEc143GyAeU90AZEbhdARjscW93jzhqHshV40VT1rCLPUTRd9OLU2yMRvJmGfyyrJ8BhGtijxdARDWuc0EA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6sD0-000292-5n; Fri, 01 Nov 2024 10:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74057] [PATCH v2 1/1] gnu: Add python-green. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org, "Mazin Alhaddad" Resent-Date: Fri, 01 Nov 2024 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: get-state Cc: Wiktor =?UTF-8?Q?=C5=BBelazny?= , Sharlatan Hellseher , Munyoki Kilyungi , 74057-done@debuggs.gnu.org, Lars-Dominik Braun , 74057@debbugs.gnu.org, =guix-patches@gnu.org, Marius Bakke , Tanguy Le Carrour , jgart Received: via spool by 74057-submit@debbugs.gnu.org id=B74057.17304696037792 (code B ref 74057); Fri, 01 Nov 2024 14:01:02 +0000 Received: (at 74057) by debbugs.gnu.org; 1 Nov 2024 14:00:03 +0000 Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6sC2-00021R-Ek for submit@debbugs.gnu.org; Fri, 01 Nov 2024 10:00:03 -0400 Received: from mail-pl1-f173.google.com ([209.85.214.173]:44378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6sBy-00020j-OZ for 74057@debbugs.gnu.org; Fri, 01 Nov 2024 10:00:01 -0400 Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-20cdbe608b3so21708955ad.1 for <74057@debbugs.gnu.org>; Fri, 01 Nov 2024 06:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730469533; x=1731074333; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HmnVyIVpOK9h6n54IF0Szer7W8bb9JMKpEsKURIIaAs=; b=jexjSbUPl2YnTK3BvnOC3+90Q1gnK+VqSaMc17MYLrPHR5wqHWNBD5KhaPOzPcwI6Z XfCDJl0bblyhsEHe/RXTXxtCvoq3BvPpVhrqe8rZJByxsWZt8tgCnbSXf+6La4EhzWc5 zpW0LjZCt7IVdMjbSw7InGUUiU0oo1zbJ7rPFmVqIQsR4Tppa8x221aOOgPEmGLFK7O5 WETDN7unMt+XYguiPpIP//tAf/Vw4PTY/baI5MIoYRr1FbuIawpmZ5I9LJ5R7qMrvkkC PnwwKBy6nXXgAmmX6c70Pp2WmmDgYonhBDS7zVXrsck8Soi7JgpyIbBW4bN5gvjtw8bg C/Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730469533; x=1731074333; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HmnVyIVpOK9h6n54IF0Szer7W8bb9JMKpEsKURIIaAs=; b=MuHNGpbJKv7IEBcROgMuSz7bf5J5WKvdOtZcE06CnR+VkXNroRUkefzF/trHAyPHm+ QiszhZZKurm96xktGUEh29k5mhrNjF52PT+wd2vo+TCZP41lIrpLTi1na+Vyh3Lfv3dB eZT8SIonnkw0EZAmfvTqkSFltNp2djSsBzxiM29hfyFHqs14l7X2ZsklimmZHeoDZ3PQ 20bFIeyCOBmcszfVXUYScf1CNPux0y4/LP9JxAxhf+NGZ5wcZNV5m68fKvtOceYED39S ooW+eCo53G5/1y7hj8ImMWqof8Z1mESqmLN/d3UNWetxnnJudiysvNFLipdkhm5IJAOw IIHQ== X-Forwarded-Encrypted: i=1; AJvYcCWjQgbbce7zy3cGDlwncmZCFdHenON+0VE1MWzomgfHoIcGtFS7WuZxHEF9rJ0JTBNDi8AOUg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz7Iofwc2d1UwCJ0eXl8X45DL25bT7lCHnm8qHZzyGKiw0MeFTG w+9cdy/pK6CShLNoglNOG/Mg8MqvRU+Yblrxqce4+utsrwnvIRJO X-Google-Smtp-Source: AGHT+IH0Ln3O1A8dD1y2kcQvnDZ2hnygfZay0aE8IHJ7hbnUhQ3I0LWci3158CWdWpn6SapP8w/hTw== X-Received: by 2002:a17:902:ec8c:b0:20e:5777:1b83 with SMTP id d9443c01a7336-210f75339d6mr142621915ad.24.1730469532825; Fri, 01 Nov 2024 06:58:52 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21105706979sm21668025ad.73.2024.11.01.06.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 06:58:52 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: (get-state's message of "Fri, 1 Nov 2024 04:27:14 +0300") References: <1ae7b1ecab0ddc6f3629de1f63b55d94cbc2aa3b.1730111347.git.wz@freeshell.de> Date: Fri, 01 Nov 2024 22:58:46 +0900 Message-ID: <8734kb12eh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.18 X-Spam-Score: 0.18 X-Migadu-Queue-Id: 4A7E0516B3 X-Migadu-Scanner: mx13.migadu.com X-TUID: 2q6ELepvmiXb Hi, get-state writes: > From: Wiktor =C5=BBelazny > > * gnu/packages/python-check.scm (python-green): New variable. > > Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b > Signed-off-by: get-state This is a cool collaboration :-). I believe the correct trailer to denote a review should be 'Reviewed-by: ...'. > --- > gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm > index ba66b081a5..3d181c8f7e 100644 > --- a/gnu/packages/python-check.scm > +++ b/gnu/packages/python-check.scm > @@ -3003,3 +3003,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))) I've capitalized Python, adjusted the trailer and did a few improvements to the description/style: --8<---------------cut here---------------start------------->8--- 1 file changed, 32 insertions(+), 9 deletions(-) gnu/packages/python-check.scm | 41 ++++++++++++++++++++++++++++++++--------- modified gnu/packages/python-check.scm @@ -3015,15 +3015,38 @@ (define-public python-green (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)) + (native-inputs + (list python-black + python-django + python-mypy + python-testtools)) + ;; The python-coverage dependency appears both in requirements.txt and + ;; requirements-dev.txt. + (propagated-inputs + (list python-colorama + python-coverage + python-lxml + python-unidecode)) (home-page "https://github.com/CleanCut/green") - (synopsis "Clean, colorful, fast python test runner") + (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.") + "@code{green} is a Python test runner that describes itself as: +@table @emph +@item Clean +Low redundancy in output. Result statistics for each test is vertically a= ligned. +@item Colorful +Terminal output makes good use of color when the terminal supports it. +@item Fast +Tests run in independent processes (one per processor by default). +@item Powerful +Multi-target and auto-discovery support. +@item Traditional +It uses the normal @code{unittest} classes and methods. +@item Descriptive +Multiple verbosity levels, from just dots to full docstring output. +@item Convenient +Bash-completion and ZSH-completion of options and test targets. +@item Thorough +Built-in integration with @url{http://nedbatchelder.com/code/coverage/, co= verage}. +@end table") (license license:expat))) [back] --8<---------------cut here---------------end--------------->8--- And pushed as commit 08dc72473b. Thanks to both of you! Closing. --=20 Maxim