From patchwork Fri Aug 30 14:25:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 15173 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 68F7B17368; Fri, 30 Aug 2019 15:37:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2935017365 for ; Fri, 30 Aug 2019 15:37:45 +0100 (BST) Received: from localhost ([::1]:60856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3i23-00089C-Jv for patchwork@mira.cbaines.net; Fri, 30 Aug 2019 10:37:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56534) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3hrn-0002OB-N4 for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3hrk-0002GC-L1 for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3hrj-0002EN-UJ for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i3hrj-0003pr-OJ for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Aug 2019 14:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37234@debbugs.gnu.org Received: via spool by 37234-submit@debbugs.gnu.org id=B37234.156717516314473 (code B ref 37234); Fri, 30 Aug 2019 14:27:03 +0000 Received: (at 37234) by debbugs.gnu.org; 30 Aug 2019 14:26:03 +0000 Received: from localhost ([127.0.0.1]:54592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hqk-0003lH-Q8 for submit@debbugs.gnu.org; Fri, 30 Aug 2019 10:26:03 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:49433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3hqX-0003jk-Ks for 37234@debbugs.gnu.org; Fri, 30 Aug 2019 10:25:51 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1F45A50F for <37234@debbugs.gnu.org>; Fri, 30 Aug 2019 10:25:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 30 Aug 2019 10:25:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=nesNiQb8tqhBE 8crbqS0U28yRDfiSa9VlKTJY4aXWo0=; b=DZR737qInIVLwPZvak9qAyTMKdGVs DgaOMioEjGFDL+yQOLVZBaT2VGdFp2DjN/AlpIzmUoutUHO0FY35pxiJup1DMLsL Kt2bawFx3tBOunrEVaxLA0gcpG5+r+pkJ9ZK3qmxIato6rxRqzKigABPqVMsyT1O sfbD1vNor8OtNIucVpSfa2xQYi0Dy/Pde+A3ufEeRvD6tcQubj4e4+V5M2KElKMN ErpWdx16rQ6rb6egM7dXIaTf6jLa9sIbgYNgOhD7XC9ZqXMc3jk5liYTsW71jh5l andcYojY4NBZUdHXhzdJIWGHml1ttMLZORqP4OfT5BY9XDg9b+mDnsSrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=nesNiQb8tqhBE8crbqS0U28yRDfiSa9VlKTJY4aXWo0=; b=b3WWy1xm oOLMBJHozXTczAuvvFe3iyuoiIRfmY3z1LSqYq9D2fB7UYaChz9syv7hCPDjKNyy 545wZPe2mue3y77mTo1/ivUmWRltkCEjlRDZwyqjjHJdt8UqV7IX9r5fmQlQRBRW TSKz0e7JVCtC9s6cLnR/tRMo9Y9XPoh9GtQRh0bmullaQla1e25kDikblin0vp/P 5vyK8ppvt23THmdwlnI4WRapsqOYMKPnhMi+cO2c1npBfrId9Xeb2Cp08apM/1YM +59H4Dqsa/kt1kkUr3RHKHtesYViW7fkLQDdLlBpuZCJZXFaxdvopLQOKVesPhnA s5+5wWjTp2QmZg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeigedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepie dvrdduiedrudelvddrudehtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 392CB80066 for <37234@debbugs.gnu.org>; Fri, 30 Aug 2019 10:25:43 -0400 (EDT) From: Marius Bakke Date: Fri, 30 Aug 2019 16:25:20 +0200 Message-Id: <20190830142539.28376-2-mbakke@fastmail.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830142539.28376-1-mbakke@fastmail.com> References: <20190830142539.28376-1-mbakke@fastmail.com> MIME-Version: 1.0 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-web.scm (python-databricks-cli): New public variable. --- gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3ed0c6dd16..8d11e9890f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -740,6 +740,46 @@ another XPath engine to find the matching elements in an XML or HTML document.") (define-public python2-cssselect (package-with-python2 python-cssselect)) +(define-public python-databricks-cli + (package + (name "python-databricks-cli") + (version "0.8.7") + (home-page "https://github.com/databricks/databricks-cli") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wr373kh13gns007g8fm6c4kdrg2xnwk40fkdnlfx7l0yzjbgqy3")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append "./build/lib:" + (getenv "PYTHONPATH"))) + (invoke "pytest" "tests" "-vv")))))) + (native-inputs + `(;; For tests. + ("python-decorator" ,python-decorator) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-requests-mock" ,python-requests-mock))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-configparser" ,python-configparser) + ("python-requests" ,python-requests) + ("python-six" ,python-six) + ("python-tabulate" ,python-tabulate))) + (synopsis "Command line interface for Databricks") + (description + "The Databricks Command Line Interface is a tool which provides an easy +to use interface to the Databricks platform. The CLI is built on top of the +Databricks REST APIs.") + (license license:asl2.0))) + (define-public python-openid-cla (package (name "python-openid-cla")