From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MLVkM5Hp0GHK8QAAgWs5BA (envelope-from ) for ; Sun, 02 Jan 2022 00:53:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oBC/MJHp0GF4gQEA9RJhRA (envelope-from ) for ; Sun, 02 Jan 2022 00:53:53 +0100 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 729403F1E8 for ; Sun, 2 Jan 2022 00:53:53 +0100 (CET) Received: from localhost ([::1]:42276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3oC8-0005ud-LR for larch@yhetil.org; Sat, 01 Jan 2022 18:53:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3oBK-0005S4-SD for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3oBK-0008A7-JA for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3oBK-00037k-IS for guix-patches@gnu.org; Sat, 01 Jan 2022 18:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 01/12] gnu: Add python-cloup. Resent-From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jan 2022 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?UTF-8?Q?Mei=C3=9Fner?= , Xinglu Chen , Liliana Marie Prikler Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108113811807 (code B ref 50505); Sat, 01 Jan 2022 23:53:02 +0000 Received: (at 50505) by debbugs.gnu.org; 1 Jan 2022 23:52:18 +0000 Received: from localhost ([127.0.0.1]:59577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAY-000348-7T for submit@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:18 -0500 Received: from out1.mail.ruhr-uni-bochum.de ([134.147.53.149]:55193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3oAW-00033g-R9 for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 18:52:13 -0500 Received: from mx1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out1.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JRJhR2l85z8SFB; Sun, 2 Jan 2022 00:52:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1641081127; bh=sD02ZEWOGXuYI1fqtI23q52W5OD6FCGDP3wiTa2z1N0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VhjWGU6LaltUdG4UREToxq4gG8lEloZzDn1cOidocN5ZV2B6cSol4MDaz3eBz+fb5 0rakIG0Ug8AneKQ61VmwqwyB2shSqDt2Dd7xJnKoLQCUWANIRwi3FKo6bMBJVnF9bz WTFck/vebtVSrlTJgOyIAwTb5GaAIUayUuwg9pdM= Received: from out1.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx1.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JRJhR1vKvz8SDD; Sun, 2 Jan 2022 00:52:07 +0100 (CET) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out1.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JRJhR0jxHz8SCP; Sun, 2 Jan 2022 00:52:07 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx1.mail.ruhr-uni-bochum.de Received: from think.local (dslb-002-204-223-044.002.204.pools.vodafone-ip.de [2.204.223.44]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JRJhQ4p3mzDgxf; Sun, 2 Jan 2022 00:52:06 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de Date: Sun, 2 Jan 2022 00:51:44 +0100 Message-Id: <20220101235155.5754-2-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" Reply-to: Daniel =?UTF-8?Q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641081233; h=from:from:sender:sender:reply-to: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=+dTQZSn5Cxe/+0RMy0y/zLTLlq9LArpg249NNX+GA9I=; b=PM1MV3k+jaLGeV5tJ6VI2Pevw6cqPtkHZWUetuMQT/cDfmfpXOICyaRuB5eHF9W4OKEOco B058XpWUrFK7CNfOzUvPiAnt+8RSijdozMCnp5/VHgpErkd/N5VHE6VRzPp0wgZ/Dk45x8 +3j7xSkDjnRfeANHWzsKFWsg0u0J7rnkINEV1G1t7aFn4WSVeG9s8ETOR1sBmVlLtcVG7s suSqiNA4vimY9M8OdWUWe2X5tmyRr6hoIhUhaH39Q5tEPfxpEjs5UGfqRM5+n55blXKg4N 2nO9aJLAZmhvFILO86YDfCiLh60xP8evKIP6pQfcY/BzljouTWgxmELfQ6aTjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641081233; a=rsa-sha256; cv=none; b=hbwnfujKjUkzBaHqjdK1XsdGsuKdda/e63Ps5uZyJ8U2VFiUFUPAp45J/Jm0zRLhxhzvT2 7R7Qe6QNcZZCGC5/zV1kVefvRM0akej1RqQX014E4L39xTwq/1AfwAhG9PeLoxT5fzc8gS 1g/g821qYC1nLIGow7VW66Anh4cLiVo7g5yplypqCbyec+Hhi6XEbbhl+TR9SNSOYzk0DC Fgcq+80MJZNPVPUwpSYewmWehwsgfv59pv/SCGIh1fo3PrCJZqJ613pwDo/ImrfzO2RnrK dn2nWpTbzeADJJ1+Wp3S6t4CWp9jW26JHVOCzpQl1UTUj70+X+Vp7MHvkvWaDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=VhjWGU6L; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=VhjWGU6L; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 729403F1E8 X-Spam-Score: -3.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: jUWBBkxDn+bA * gnu/packages/python-xyz.scm (python-cloup): New variable. Co-authored-by: Xinglu Chen --- gnu/packages/python-science.scm | 1 + gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 1311fbad0c..65f1dbf014 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2021 Paul Garlick ;;; Copyright © 2021 Arun Isaac ;;; Copyright © 2021 Felix Gruber +;;; Copyright © 2021 Daniel Meißner ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 27f8c11c9c..db511a178f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3430,6 +3430,39 @@ (define-public python-cligj well-tested and interoperable CLIs for handling GeoJSON.") (license license:bsd-3))) +(define-public python-cloup + (package + (name "python-cloup") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cloup" version)) + (sha256 + (base32 + "07kxw81bml137w9bfmwkjbdzbldkk1k1lws82wffz9244pp7k8ib")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (propagated-inputs + (list python-click)) + (native-inputs + (list python-setuptools python-setuptools-scm python-pytest)) + (home-page "https://github.com/janLuke/cloup") + (synopsis "Extension library for @code{python-click}") + (description + "Cloup---originally from ``Click + option groups''---enriches +@code{python-click} with several features that make it more expressive and +configurable: option groups, constraints, subcommand aliases, subcommands +sections, and a themeable @code{HelpFormatter}.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner") -- 2.34.0