From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wChZBBQRQmHq5gAAgWs5BA (envelope-from ) for ; Wed, 15 Sep 2021 17:28:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cAoXABQRQmFEZwAA1q6Kng (envelope-from ) for ; Wed, 15 Sep 2021 15:28:20 +0000 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 86B653E96 for ; Wed, 15 Sep 2021 17:28:19 +0200 (CEST) Received: from localhost ([::1]:47908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQWpe-0004zJ-ML for larch@yhetil.org; Wed, 15 Sep 2021 11:28:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQWpR-0004vy-PJ for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQWpR-00010R-HJ for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQWpQ-0001Qa-BF for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v2 01/13] 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: Wed, 15 Sep 2021 15:28:04 +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 Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.16317196655340 (code B ref 50505); Wed, 15 Sep 2021 15:28:04 +0000 Received: (at 50505) by debbugs.gnu.org; 15 Sep 2021 15:27:45 +0000 Received: from localhost ([127.0.0.1]:52924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQWp4-0001Np-5L for submit@debbugs.gnu.org; Wed, 15 Sep 2021 11:27:45 -0400 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:64058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQWoy-0001NM-SA for 50505@debbugs.gnu.org; Wed, 15 Sep 2021 11:27:41 -0400 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4H8kc25h9gz8SJZ; Wed, 15 Sep 2021 17:27:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1631719650; bh=MNeJP/rcnd4PwuU+yNPKofQzzEP9tt+XdXTMLnBLkFE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hA3zAmL3jt+qh/oOCke77SxFXVFSgzld/Hvpr6UuwW6tae2B4l3wGsirVYLYUE/cb v41qhOeqvvdQqTddGgxK7MLnzw6K8hxy1mnFK+rlEZQXcCw5zjM7q/PfSSbQ8pWU32 +1jZyg3ys+sHUu9i1ugMFNTc6F5ao1N0qKHeD/qo= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4H8kc251cRz8SGC; Wed, 15 Sep 2021 17:27:30 +0200 (CEST) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4H8kc21rKgz8SHw; Wed, 15 Sep 2021 17:27:30 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx2.mail.ruhr-uni-bochum.de Received: from xii-04.mg07.ruhr-uni-bochum.de (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4H8kc16HdvzDgyY; Wed, 15 Sep 2021 17:27:29 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de Date: Wed, 15 Sep 2021 17:25:07 +0200 Message-Id: <20210915152519.25572-2-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910112231.6411-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20210910112231.6411-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: , Daniel =?UTF-8?Q?Mei=C3=9Fner?= via Guix-patches From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631719699; 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=IWdYfa3wk4OXZGTzRkTqnG33v9b+xH6YI8D8XyB0fYo=; b=I+Nmigvt/YH9JhHsM2TqeMKTCU8fwbFBjwfhjAXwPQlQdwDXQKsuYSKtEViAFPqkUECVXS dKtEzfNWYPJBgUPRDm1nGXF6/rUK3V/s6HUKBLRjJS4DngWW45LtEvc2bRQR7B/zuTLDc8 Q9tN27EQXLPUMAhLr/R28DdBVS+p2663Y6dUYDB9knEXC3fUFMSa5sxL/iiw+FvrgTFElk q9cBNlim6alFF1dM/SlYQdNjAnbViyD7RoPFc1r8whegs3Hs+i27C0PoRh9Eg+QYTn6zTW ZnR1yOoWI4Djw8M/hMlgp20P89Jr4uGmRRjU8g6UfR/YAYviv47WRwaINjWuoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631719699; a=rsa-sha256; cv=none; b=uEslzXlMlHBDRhxdrbTlwaoRXwChsK6dzNof9XTa/F1YYfjln5v5xUSLVFaMojspDbY0+j t92U0KVj836AKmYh/ffblpRMZbs/nfYsdsq+y3RxDBeN8UvuHx8O6BEzkfhDMFXKC20PSz EutxY36EaLAK69kWczYXJ9jNfVjs1tsoIxdqKjWP6DPMoBJ86E0iD/cCUWdCuIcHRkAcfW Lt/C/uLzwA1QbtP2Ovxm5pe9EBmLkBprf/zetKAin8frijrVzFYvaGK08gqkyfHOFr4Eur 9Y1atSesGJ5rqbHa8AmZM30b/tZhnyd+svJ3TP5NWBaYHDsxB1SJd3PtPL9yfg== 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=hA3zAmL3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=hA3zAmL3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 86B653E96 X-Spam-Score: -2.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: ufcChX2lg2F+ * 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 | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 738b504e3b..d3730fadcc 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2021 Roel Janssen ;;; Copyright © 2021 Paul Garlick ;;; Copyright © 2021 Arun Isaac +;;; 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 e98eec19bc..202cf569d5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3308,6 +3308,41 @@ with sensible defaults out of the box.") (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337")))) (arguments `()))) +(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 + `(("python-click" ,python-click))) + (native-inputs + `(("python-setuptools" ,python-setuptools) + ("python-setuptools-scm" ,python-setuptools-scm/next) + ("python-pytest" ,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.33.0