From patchwork Thu Jun 22 14:24:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 51187 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 39F7027BBE9; Thu, 22 Jun 2023 15:26:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 2011A27BBE2 for ; Thu, 22 Jun 2023 15:26:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCLGA-0002DS-PD; Thu, 22 Jun 2023 10:26:06 -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 1qCLG8-0002DA-QO for guix-patches@gnu.org; Thu, 22 Jun 2023 10:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCLG8-0001R9-IB for guix-patches@gnu.org; Thu, 22 Jun 2023 10:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCLG6-0006nd-HS; Thu, 22 Jun 2023 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64224] [PATCH v2] gnu: Add python-cloup. References: <20230622113605.24625-1-daniel.meissner-i4k@rub.de> In-Reply-To: <20230622113605.24625-1-daniel.meissner-i4k@rub.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64224 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64224@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= , jgart , Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 64224-submit@debbugs.gnu.org id=B64224.168744393026100 (code B ref 64224); Thu, 22 Jun 2023 14:26:02 +0000 Received: (at 64224) by debbugs.gnu.org; 22 Jun 2023 14:25:30 +0000 Received: from localhost ([127.0.0.1]:36447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCLFa-0006mt-3G for submit@debbugs.gnu.org; Thu, 22 Jun 2023 10:25:30 -0400 Received: from mx1.dismail.de ([78.46.223.134]:46948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCLFX-0006mY-Bl for 64224@debbugs.gnu.org; Thu, 22 Jun 2023 10:25:29 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 4bcc7b61; Thu, 22 Jun 2023 16:25:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=zwEuz53qSs9KiIoy3sBGf fGQuGPDqplFc4chJMqELNI=; b=gJL4pFolNYhCRgT3dQrE3RoNKHlqzQvyDC4ju HN9IWb4dQSve7PSWzVMPjFvzOVr2riMZLBBlBBT2Ot9HGMJAQpx4AmqIkRiadYRH 3ubh4TfkYawn6FIW0Rfl7zJgOojPYzz9i/2GZXDnbzr02JcMjmkWdB2Rw2F6zPAK yykW+0QAxZNSoWPafqaVtSHm00ZWZQ4gu4FrjvxY1EGpb321uUpHwckd8Y/O0F8B HfrWZM4dXTNwBdu/0OxbCW1M3g/UeNZkDSUfblL0YxASV6vcsJlxU35eod/M6Im5 3Dk56B10pKphaQsjfMjHDpgzgsnoR94Ttqf7XY/AgkaNbqzWQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id fae29451; Thu, 22 Jun 2023 16:25:19 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 62226aa2; Thu, 22 Jun 2023 16:25:19 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 39ac0844 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 22 Jun 2023 16:25:17 +0200 (CEST) Date: Thu, 22 Jun 2023 09:24:48 -0500 Message-Id: <1a87b17d99ee76b1e8bc96d53f1d1eda21311447.1687443680.git.jgart@dismail.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 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: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart 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 From: Daniel Meißner * gnu/packages/python-xyz.scm (python-cloup): New variable. Co-authored-by: jgart --- Hi, Thanks for the patch. Here is a v2 that simplifies the home-page description a bit and removes the native-input of setuptools, since it is not needed. Lars, Do you happen to know why pytest is still required here even though we are using pyproject-build-system? Is there a thread you can point me to that explains that? Not sure I understand why this is the case yet from reading the code for that build-system. all best, jgart gnu/packages/python-xyz.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) base-commit: 8b6bc4b2aa579193306cdc7a28f788c9afb4e039 prerequisite-patch-id: b40ddb3f1c2f780c18f34b826b1229bb10358ec7 prerequisite-patch-id: 35ea140df746960cf9b020cb8abb74e6889b056c diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b650b71f3b..5dcd6b9138 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -106,7 +106,7 @@ ;;; Copyright © 2021 Franck Pérignon ;;; Copyright © 2021, 2022 Petr Hodina ;;; Copyright © 2021 Simon Streit -;;; Copyright © 2021 Daniel Meißner +;;; Copyright © 2021, 2022, 2023 Daniel Meißner ;;; Copyright © 2021, 2022 Pradana Aumars ;;; Copyright © 2021, 2022 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique @@ -4578,6 +4578,27 @@ (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 "2.1.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "cloup" version)) + (sha256 + (base32 + "05c6cjpnf9s72gyn5dckxbmd8rf2kgdzfsl7pqzrnc1lcdl13zmv")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-click)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/janLuke/cloup") + (synopsis "Extension library for python-click") + (description + "Cloup enriches Click with several features that make it more expressive +and configurable such as option groups, constraints, subcommand aliases, +subcommands sections and a themeable HelpFormatter.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner")