From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uC5CNrIEPWF3HwEAgWs5BA (envelope-from ) for ; Sat, 11 Sep 2021 21:34:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aBfqMbIEPWHIIgAAB5/wlQ (envelope-from ) for ; Sat, 11 Sep 2021 19:34:10 +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 3967F2C61F for ; Sat, 11 Sep 2021 21:34:10 +0200 (CEST) Received: from localhost ([::1]:36082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP8lN-0001q3-9z for larch@yhetil.org; Sat, 11 Sep 2021 15:34:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP8lG-0001pk-Nb for guix-patches@gnu.org; Sat, 11 Sep 2021 15:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mP8lG-00082F-GW for guix-patches@gnu.org; Sat, 11 Sep 2021 15:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mP8lG-00030v-75 for guix-patches@gnu.org; Sat, 11 Sep 2021 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH 01/12] gnu: Add python-cloup. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Sep 2021 19:34: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?= X-Debbugs-Original-To: Daniel =?UTF-8?Q?Mei=C3=9Fner?= via Guix-patches via , 50505@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163138880711542 (code B ref -1); Sat, 11 Sep 2021 19:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2021 19:33:27 +0000 Received: from localhost ([127.0.0.1]:41449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP8kc-000302-MT for submit@debbugs.gnu.org; Sat, 11 Sep 2021 15:33:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:39490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP8kb-0002zo-Ck for submit@debbugs.gnu.org; Sat, 11 Sep 2021 15:33:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP8kb-0001p1-5x for guix-patches@gnu.org; Sat, 11 Sep 2021 15:33:21 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39156 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP8kZ-0007Lb-1c for guix-patches@gnu.org; Sat, 11 Sep 2021 15:33:20 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631388790; bh=9+HCOdsvRVmPyT8Hi0nHkf7vo2xYXpgw58x6Vr+4wgg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=TKzQLu3lag137Tpze9MiEk6Aq1svazpO8AsSYcsQA0TvwJd3RfDjOtifxr2xvxp01 K+fu17igryf9QO8e+qMQWJyIMFCcN1w5ROoAJ0TI+xdolg5yUfJFkhCwqsROxV8WqV Asq6UBvT8qOP9FStUrvG0fiPow3KEv/D45tPmrjA= In-Reply-To: <20210910112502.6466-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20210910112231.6411-1-daniel.meissner-i4k@ruhr-uni-bochum.de> <20210910112502.6466-1-daniel.meissner-i4k@ruhr-uni-bochum.de> Date: Sat, 11 Sep 2021 21:33:08 +0200 Message-ID: <87zgsiucuj.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631388850; 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: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=f7q1fAhjiMq9bCdc3VzQ75uG7MsXwAk+4qNZE8XrBLA=; b=VLIN1gCsS7EIpjazQ7fMszBh1Qoode8ofv3LTaU/PBMiG4aNM4aZMdOpvtY8HxzybeDrww lnlmIVaqek1dgL3jH/4g8Rg+d5OmJuVAaZdoQIGVjDH36BKEZQ0/qnWvCHipQobEv8Xjz0 YYWD4CxcYR2S96mY8bJDJ9J6Iq+8ym5s6yVjyI2UTQyIS1Al9klUryZO65MQx6z1uWtSwt zG5eTYZFXJCNzQRo7MVsNWI/BuPg8LA2iY6qQ8XQbmeuILPmfc/UxqJOVvDw1zz6znTV/A 6GKrluxTcqw1raDF/MoKBVWAtO2T2F2ohQo1TsEbpnyyM/9pML0N/8okpeSP5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631388850; a=rsa-sha256; cv=none; b=Bvzx7bmx46wR+fny7O7swr6KOPdjR4TBKvF5EzQnwoblkZxWLhhfNHbHrunRoV2ssBhADx pCkjRl0MAtPN02kX3FQk0WEaVPg6naokFnEuswSF1VOKJDMkGOkx6gee5DDitwVPTsa1QR B4CQIrF3afTl1U0Wj4SLJqjnKaRP1VaBgPHIPxCGp3J/HFMd4m0SFHJpaCIE7mIE95mUk3 XoE8iZmKvFpJ+EVvbeBj2qzME+gwJ448fCB1s9OW7PK+ccBjV41117/z6uLIvzagL/s77c 2h6hhv4Vk2t0TngWfKDwIJwMlU1I2wdvqX7ngSQWYurWcM/gkFdFRO6Nbpwj7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=TKzQLu3l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); 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: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=TKzQLu3l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); 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: 3967F2C61F X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3Kh25UoUi2hw --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Sep 10 2021, Daniel Mei=C3=9Fner via Guix-patches via wrote: > * gnu/packages/python-xyz.scm (python-cloup): New variable. > --- > gnu/packages/python-science.scm | 1 + > gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 32 insertions(+) > > diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-scienc= e.scm > index 738b504e3b..d3730fadcc 100644 > --- a/gnu/packages/python-science.scm > +++ b/gnu/packages/python-science.scm > @@ -14,6 +14,7 @@ > ;;; Copyright =C2=A9 2021 Roel Janssen > ;;; Copyright =C2=A9 2021 Paul Garlick > ;;; Copyright =C2=A9 2021 Arun Isaac > +;;; Copyright =C2=A9 2021 Daniel Mei=C3=9Fner > ;;; > ;;; This file is part of GNU Guix. > ;;; > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index e98eec19bc..6c7ab10216 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -3308,6 +3308,37 @@ with sensible defaults out of the box.") > (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337"))= )) > (arguments `()))) >=20=20 > +(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 > + ;; test phase fails with "error: invalid command pytes= t" > + (delete 'check)))) The tests run after applying the attached patch. I also took the liberty of fixing the formatting of the synopsis and description. :-) > + (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 python-click") > + (description > + "Cloup =E2=80=94 originally from \"Click + option groups\" =E2=80= =94 enriches Click with > +several features that make it more expressive and configurable: option g= roups, > +constraints, subcommand aliases, subcommands sections and a themeable > +HelpFormatter.") > + (license license:bsd-3))) > + > (define-public python-vcversioner > (package > (name "python-vcversioner") > --=20 > 2.33.0 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-python-cloup.patch Content-Transfer-Encoding: quoted-printable From=20574d6706ee0472b2e5e10a42af9bf9ded017a3f1 Mon Sep 17 00:00:00 2001 Message-Id: <574d6706ee0472b2e5e10a42af9bf9ded017a3f1.1631388580.git.public= @yoctocell.xyz> From: =3D?UTF-8?q?Daniel=3D20Mei=3DC3=3D9Fner=3D20via=3D20Guix-patches=3D20= via?=3D Date: Fri, 10 Sep 2021 13:24:51 +0200 Subject: [PATCH] gnu: Add python-cloup. * gnu/packages/python-xyz.scm (python-cloup): New variable. Co-authored-by: Xinglu Chen =2D-- 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 =2D-- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2021 Roel Janssen ;;; Copyright =C2=A9 2021 Paul Garlick ;;; Copyright =C2=A9 2021 Arun Isaac +;;; Copyright =C2=A9 2021 Daniel Mei=C3=9Fner ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c70829de9..2db7ccc0ee 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3307,6 +3307,41 @@ with sensible defaults out of the box.") (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337")))) (arguments `()))) =20 +(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") =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmE9BHQVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5XGYP/AmQVufraMhDB2RLCA/4Ya94JdZ2 NouBcpnqA+EjBqsEGDffpUaZfTYJjWkqC0BLuo4rioFmaMydPtD6xSbYDyH2cvds P9D6mID5HyG6DVCfz2olpsbDapV2m7fgAccVSJjGP27BfEEYpWpABRPaSOHmCFNA 934WAe004wzMbv+brF3bK7O08ipoQD1o5KII4m5vWrgriDTKZr3JtX8Z4CHQ34C2 JHZaOEjzZyMb0V2HsqofK7cMha1y2Blfjk3IRqLfFaqC967YDrUGzTKz++wXnPQH SFkFB/LKj3CvbO8dwKO9xuTZfgtDbFAnVBSgCKGdmcj63x8zCVRETq3/PUux5byy sJxdVOxZqpL5dYcKYbWngksnr4CMfC0CeMPwQ5o+WignRER+evizeT8DDUFUhQC6 wQcSEECiMLc8G/3Dv/XE9wQAGDm2LQ14mERcu+u0KTt219zmVQm5hNY0wL8rKGRi 1ZFfr1OlB1Jhrli9OwCI5dpyYLDM8LU/W55rPJTE7U7opYjYhtOf35Mq/dlKLm46 DJfE1jbemrAP24Ac2zFIayT9v+rFkVh/DEcdob6VLsAff4aqHpYM+WqFDV5sjhSl 6w20IVITSKSFUAp95uncK8dN9JLMKJDHGv43WcI0srJyveQMUeHkYk3ABq7ADtNR 0EHiHyMDX/RWzIxh =OF5k -----END PGP SIGNATURE----- --==-=-=--