From unknown Wed Sep 10 13:55:52 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39447] [PATCH] gnu: Add python-gandi.cli. Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Feb 2020 03:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39447 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39447@debbugs.gnu.org Cc: Amin Bandali X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1580958811358 (code B ref -1); Thu, 06 Feb 2020 03:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2020 03:13:31 +0000 Received: from localhost ([127.0.0.1]:46974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izXbb-00005e-Fp for submit@debbugs.gnu.org; Wed, 05 Feb 2020 22:13:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:42366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izXbZ-00005V-Ke for submit@debbugs.gnu.org; Wed, 05 Feb 2020 22:13:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42025) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izXbY-0004yt-CX for guix-patches@gnu.org; Wed, 05 Feb 2020 22:13:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1izXbY-0002gz-8W for guix-patches@gnu.org; Wed, 05 Feb 2020 22:13:24 -0500 Received: from [2607:fea8:3ba0:d78::5] (port=44470 helo=chaman.hitronhub.home) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1izXbX-0002Sp-H2; Wed, 05 Feb 2020 22:13:23 -0500 From: Amin Bandali Date: Wed, 5 Feb 2020 22:13:05 -0500 Message-Id: <20200206031305.20513-1-mab@gnu.org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/python-xyz.scm (python-gandi.cli): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dcc1595446..2472890dae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2019 Mădălin Ionel Patrașcu ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2020 Amin Bandali ;;; ;;; This file is part of GNU Guix. ;;; @@ -17467,3 +17468,35 @@ extensive support of PNG features. It can also read and write Netpbm PAM files, with a focus on its use as an intermediate format for implementing custom PNG processing.") (license license:expat))) + +(define-public python-gandi.cli + (package + (name "python-gandi.cli") + (version "1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gandi.cli" version)) + (sha256 + (base32 + "110wc9zgxsrvw4yzp21p0ian5lcf7vhcpxhnmsc4fg9pzl2bwxd5")))) + (build-system python-build-system) + (propagated-inputs + `(("git" ,git) + ("openssh" ,openssh) + ("openssl" ,openssl) + ("python-click" ,python-click) + ("python-ipy" ,python-ipy) + ("python-pyyaml" ,python-pyyaml) + ("python-requests" ,python-requests) + ("python-setuptools" ,python-setuptools))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-tox" ,python-tox))) + (home-page "https://github.com/Gandi/gandi.cli") + (synopsis "Gandi command line interface") + (description "Gandi CLI is a command line interface for creating and +managing Gandi.net products (domains, certificates, servers, etc) using +Gandi's public API.") + (license license:gpl3+))) -- 2.25.0 From unknown Wed Sep 10 13:55:52 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39447] [PATCH] gnu: Add python-gandi.cli. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Feb 2020 22:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39447 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Amin Bandali Cc: 39447@debbugs.gnu.org Received: via spool by 39447-submit@debbugs.gnu.org id=B39447.158163276120391 (code B ref 39447); Thu, 13 Feb 2020 22:27:01 +0000 Received: (at 39447) by debbugs.gnu.org; 13 Feb 2020 22:26:01 +0000 Received: from localhost ([127.0.0.1]:60571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Mvp-0005Im-AF for submit@debbugs.gnu.org; Thu, 13 Feb 2020 17:26:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Mvo-0005IU-Ar for 39447@debbugs.gnu.org; Thu, 13 Feb 2020 17:26:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2Mvg-0005lr-TU for 39447@debbugs.gnu.org; Thu, 13 Feb 2020 17:25:53 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42764 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2MvV-0005nm-6d; Thu, 13 Feb 2020 17:25:47 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200206031305.20513-1-mab@gnu.org> Date: Thu, 13 Feb 2020 23:25:33 +0100 In-Reply-To: <20200206031305.20513-1-mab@gnu.org> (Amin Bandali's message of "Wed, 5 Feb 2020 22:13:05 -0500") Message-ID: <87wo8q15wi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Amin Bandali skribis: > * gnu/packages/python-xyz.scm (python-gandi.cli): New variable. LGTM, thanks! Ludo=E2=80=99. From unknown Wed Sep 10 13:55:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Amin Bandali Subject: bug#39447: closed (Re: [bug#39447] [PATCH] gnu: Add python-gandi.cli.) Message-ID: References: <87d0ai5at8.fsf@nckx> <20200206031305.20513-1-mab@gnu.org> X-Gnu-PR-Message: they-closed 39447 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39447@debbugs.gnu.org Date: Thu, 13 Feb 2020 23:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1581636362-8864-1" This is a multi-part message in MIME format... ------------=_1581636362-8864-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39447: [PATCH] gnu: Add python-gandi.cli. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39447@debbugs.gnu.org. --=20 39447: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39447 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1581636362-8864-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39447-close) by debbugs.gnu.org; 13 Feb 2020 23:25:40 +0000 Received: from localhost ([127.0.0.1]:60644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2NrY-0002IP-FO for submit@debbugs.gnu.org; Thu, 13 Feb 2020 18:25:40 -0500 Received: from tobias.gr ([80.241.217.52]:44154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2NrW-0002IH-Et for 39447-close@debbugs.gnu.org; Thu, 13 Feb 2020 18:25:39 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id cf23fcda; Thu, 13 Feb 2020 23:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=jqtZrb78x7lnFmvFc4d6nE bV0YoGzr/yGAp+MPH/e6I=; b=XdJk5WuD5Dm+7GddxaFylI0WEZSgOJiRmHlk9i 7QHizLRRVMloHAz9sSJQPsWasayyKBVnkLDe6JB+9p5/CAJcHPL47ywl+0zHPllC k2QM2TcRrGCpSowqwKKmMR2jfnjOXGK3gXq9ic9yBcdt5ML/qk6TlOP/ZmK6dmL1 r3W4iMLqzzsOTaDKyZxxtS3W97btx6H06H4ZSJVmfGkNB1q8JC++Dn6N8RTrXfHB 4fl0c8gYVmqeqFhmob2cvv1CtoP2hXXFXSOAzrYQL/CmrEgQDzMbfm8FhYlnuvEu UuuSCXmvucpw4TdsHqAbrpLxBQEX7KexGfeEbNxZ9tUfHa7Q== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 34b72f58 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 13 Feb 2020 23:25:36 +0000 (UTC) From: Tobias Geerinckx-Rice To: 39447-close@debbugs.gnu.org, Amin Bandali Subject: Re: [bug#39447] [PATCH] gnu: Add python-gandi.cli. References: <20200206031305.20513-1-mab@gnu.org> In-reply-to: <20200206031305.20513-1-mab@gnu.org> Date: Fri, 14 Feb 2020 00:25:55 +0100 Message-ID: <87d0ai5at8.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39447-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Amin, Amin Bandali =E5=86=99=E9=81=93=EF=BC=9A > * gnu/packages/python-xyz.scm (python-gandi.cli): New variable. Thanks! This package is already in Guix as =E2=80=98gandi.cli=E2=80=99 =E2= =80=94 we avoid=20 the =E2=80=98python-=E2=80=99 prefix for stand-alone programmes since being= =20 written in Python (or any other language) is irrelevant. + (propagated-inputs + `(("git" ,git) + ("openssh" ,openssh) + ("openssl" ,openssl) + ("python-click" ,python-click) + ("python-ipy" ,python-ipy) + ("python-pyyaml" ,python-pyyaml) + ("python-requests" ,python-requests) + ("python-setuptools" ,python-setuptools))) Propagation should be avoided when possible, although it's (sadly)=20 more common in Python packages than elsewhere. However, propagating inputs like git, openssh, openssl,=20 python-setuptools=E2=80=A6 is definitely wrong. Was this deliberate?=20 Which problem were you trying to solve? Take a look at=20 gandi.cli's =E2=80=98embed-store-file-names=E2=80=99 for a different approa= ch that=20 avoids propagation altogether. I'm closing this bug, but please let me know if the existing=20 gandi.cli is missing features. I added it but haven't used it in=20 a while. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl5F2wMACgkQ2Imw8BjF STwMPBAAjI6B0aIure2TkLs4JXueqBzYbUZmQIZy3UaM1yKsaSLSQoEFS8SsyWa5 pxlzq0KZUQP0WotbK6y3Hs4ESPd1MovWUWqEdXueXb+OQI+GaIHLBPDSzA1hTnaE G1mPKZssA2MuP8CIxM6ZhGkdP4yq/4VVr2AkAojIrikg5Ybyi/0taUR7hpLOBvxy Ekcryo0xcnXsgzwyqa8DN6XcyGmrHgLGddNLqtB40ud1VBNN5FiA7E/+RW/jgKN3 CLY6Kk7vr1N4oy/fUpUrQwCh2K/tyxAPHFaEw/CdlsNcPyhDU4I8BG8bLxeDxK5U AlppoNhCKbBG1xv0e/b+5hhjwf9rG8z95SCQWAD+PJReqIvgKKq8ACE4/o2TgSsI zyFV3Yu8/q0ySLLM1kHpwHcST85T/exXnY0Wu4HPrRk6cyAhMIsOq247Ewc8dGfG 5siHDrj2MeZ9N9YcCguaWSHK9dPB85iAIey68aRD7XVnNLmGoD/ZVplnUiWWDR97 VLw8c/t3iTSU6Bdwd9CqaZcgKkYJuamoecb3HqMYqExmrLe1GNwuoCiXWp2TBjjs u+zQAOR2rqjgKTYNiABjS6/yyREg6y61hVlrpWIQC+NRG2ZieYR+RWx/ES9r3A5W 1FQn3Jw/NE+rvVQ5ZoXT8XHHdmNqQjnFooy72acNybeKUEDWAsE= =Lvtw -----END PGP SIGNATURE----- --=-=-=-- ------------=_1581636362-8864-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Feb 2020 03:13:31 +0000 Received: from localhost ([127.0.0.1]:46974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izXbb-00005e-Fp for submit@debbugs.gnu.org; Wed, 05 Feb 2020 22:13:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:42366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izXbZ-00005V-Ke for submit@debbugs.gnu.org; Wed, 05 Feb 2020 22:13:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42025) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izXbY-0004yt-CX for guix-patches@gnu.org; Wed, 05 Feb 2020 22:13:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1izXbY-0002gz-8W for guix-patches@gnu.org; Wed, 05 Feb 2020 22:13:24 -0500 Received: from [2607:fea8:3ba0:d78::5] (port=44470 helo=chaman.hitronhub.home) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1izXbX-0002Sp-H2; Wed, 05 Feb 2020 22:13:23 -0500 From: Amin Bandali To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-gandi.cli. Date: Wed, 5 Feb 2020 22:13:05 -0500 Message-Id: <20200206031305.20513-1-mab@gnu.org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: Amin Bandali X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/python-xyz.scm (python-gandi.cli): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dcc1595446..2472890dae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2019 Tanguy Le Carrour ;;; Copyright © 2019 Mădălin Ionel Patrașcu ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2020 Amin Bandali ;;; ;;; This file is part of GNU Guix. ;;; @@ -17467,3 +17468,35 @@ extensive support of PNG features. It can also read and write Netpbm PAM files, with a focus on its use as an intermediate format for implementing custom PNG processing.") (license license:expat))) + +(define-public python-gandi.cli + (package + (name "python-gandi.cli") + (version "1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gandi.cli" version)) + (sha256 + (base32 + "110wc9zgxsrvw4yzp21p0ian5lcf7vhcpxhnmsc4fg9pzl2bwxd5")))) + (build-system python-build-system) + (propagated-inputs + `(("git" ,git) + ("openssh" ,openssh) + ("openssl" ,openssl) + ("python-click" ,python-click) + ("python-ipy" ,python-ipy) + ("python-pyyaml" ,python-pyyaml) + ("python-requests" ,python-requests) + ("python-setuptools" ,python-setuptools))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-tox" ,python-tox))) + (home-page "https://github.com/Gandi/gandi.cli") + (synopsis "Gandi command line interface") + (description "Gandi CLI is a command line interface for creating and +managing Gandi.net products (domains, certificates, servers, etc) using +Gandi's public API.") + (license license:gpl3+))) -- 2.25.0 ------------=_1581636362-8864-1--