[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/23: gnu: Add python-databricks-cli.
From: |
guix-commits |
Subject: |
07/23: gnu: Add python-databricks-cli. |
Date: |
Fri, 20 Nov 2020 19:23:10 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit abbb15309d7dd83bb99682e6962ff98f57f681f9
Author: Marius Bakke <mbakke@fastmail.com>
AuthorDate: Thu Aug 15 18:05:25 2019 +0200
gnu: Add python-databricks-cli.
* gnu/packages/python-web.scm (python-databricks-cli): New public variable.
---
gnu/packages/python-web.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5fb4c97..f1629e0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus
<rekado@elephly.net>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017, 2020 Julien Lepiller <julien@lepiller.eu>
@@ -1023,6 +1023,49 @@ 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.14.0")
+ (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
+ "0imwpfda2pxix1rx0nlqs48v58icfw065nsv53rpg0dw4bw9x2wi"))))
+ (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"
+ ;; XXX: This fails with newer Pytest
+ ;; (upstream uses Pytest 3..).
+ "-k" "not test_get_request_with_list"))))))
+ (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")
- branch master updated (74c4492 -> beba9ff), guix-commits, 2020/11/20
- 03/23: gnu: python-botocore: Remove unused inputs., guix-commits, 2020/11/20
- 02/23: gnu: awscli, python-botocore: Add comment about compatibility., guix-commits, 2020/11/20
- 08/23: gnu: Add python-gorilla., guix-commits, 2020/11/20
- 10/23: gnu: Add python-minio., guix-commits, 2020/11/20
- 01/23: gnu: cheese: Remove obsolete input., guix-commits, 2020/11/20
- 04/23: gnu: python-botocore: Update to 1.19.22., guix-commits, 2020/11/20
- 05/23: gnu: awscli: Update to 1.18.183., guix-commits, 2020/11/20
- 06/23: gnu: python-s3transfer: Update to 0.3.3., guix-commits, 2020/11/20
- 07/23: gnu: Add python-databricks-cli.,
guix-commits <=
- 09/23: gnu: Add python-querystring-parser., guix-commits, 2020/11/20
- 11/23: gnu: python-docker: Propagate runtime dependency., guix-commits, 2020/11/20
- 14/23: gnu: Add python-jsonpickle., guix-commits, 2020/11/20
- 16/23: gnu: Add python-jose., guix-commits, 2020/11/20
- 19/23: gnu: python-jsonpatch: Propagate required input., guix-commits, 2020/11/20
- 20/23: gnu: Add python-cfn-lint., guix-commits, 2020/11/20
- 13/23: gnu: Add python-sshpubkeys., guix-commits, 2020/11/20
- 12/23: gnu: Add python-boto3., guix-commits, 2020/11/20
- 17/23: gnu: Add python-boto., guix-commits, 2020/11/20
- 21/23: gnu: Add python-junit-xml., guix-commits, 2020/11/20