From patchwork Thu Feb 6 03:13:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Amin Bandali X-Patchwork-Id: 20144 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 21B35168BB; Thu, 6 Feb 2020 03:14:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8EA8716398 for ; Thu, 6 Feb 2020 03:14:09 +0000 (GMT) Received: from localhost ([::1]:60024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izXcH-00051g-3f for patchwork@mira.cbaines.net; Wed, 05 Feb 2020 22:14:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42571) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izXcB-00051Z-LB for guix-patches@gnu.org; Wed, 05 Feb 2020 22:14:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izXcA-00045y-HJ for guix-patches@gnu.org; Wed, 05 Feb 2020 22:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izXcA-00045a-Dg for guix-patches@gnu.org; Wed, 05 Feb 2020 22:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izXcA-00006j-8F for guix-patches@gnu.org; Wed, 05 Feb 2020 22:14:02 -0500 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 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+)))