[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/14: gnu: Add python-google-api-core.
From: |
guix-commits |
Subject: |
09/14: gnu: Add python-google-api-core. |
Date: |
Fri, 20 May 2022 08:45:02 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit e41ca0a49a2c9b73a6bf54202b91aaf3be701863
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 20 13:32:10 2022 +0200
gnu: Add python-google-api-core.
* gnu/packages/python-web.scm (python-google-api-core): New variable.
---
gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7f50ede8bf..df6c3f3e40 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6853,6 +6853,45 @@ and Resumable Uploads.")
common protos in the @code{googleapis/api-common-protos} repository.")
(license license:asl2.0)))
+(define-public python-google-api-core
+ (package
+ (name "python-google-api-core")
+ (version "2.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "google-api-core" version))
+ (sha256
+ (base32 "0ydwvg9gzp75cd11s62db5w3jhj643yrw095rv95psfb0h3pz58p"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; These don't work because it doesn't find AsyncMock even when
+ ;; we add it to the inputs.
+ (for-each delete-file
+ '("tests/asyncio/test_page_iterator_async.py"
+ "tests/asyncio/test_retry_async.py"))
+ (invoke "pytest")))))))
+ (propagated-inputs
+ (list python-google-auth
+ python-googleapis-common-protos
+ python-protobuf
+ python-proto-plus
+ python-requests))
+ (native-inputs
+ (list python-mock
+ python-pytest
+ python-pytest-asyncio))
+ (home-page "https://github.com/googleapis/python-api-core")
+ (synopsis "Google API client core library")
+ (description "This library defines common helpers used by all Google API
+clients.")
+ (license license:asl2.0)))
+
(define-public python-w3lib
(package
(name "python-w3lib")
- branch master updated (04ea577b75 -> 8d32ec335b), guix-commits, 2022/05/20
- 01/14: gnu: Add python-azure-common., guix-commits, 2022/05/20
- 06/14: gnu: Add python-google-auth., guix-commits, 2022/05/20
- 09/14: gnu: Add python-google-api-core.,
guix-commits <=
- 07/14: gnu: Add python-google-resumable-media., guix-commits, 2022/05/20
- 02/14: gnu: Add python-azure-core., guix-commits, 2022/05/20
- 08/14: gnu: Add python-proto-plus., guix-commits, 2022/05/20
- 13/14: gnu: Add snakemake-6., guix-commits, 2022/05/20
- 12/14: gnu: Add python-smart-open., guix-commits, 2022/05/20
- 03/14: gnu: Add python-azure-storage-blob., guix-commits, 2022/05/20
- 10/14: gnu: Add python-google-cloud-core., guix-commits, 2022/05/20
- 04/14: gnu: Add python-google-crc32c., guix-commits, 2022/05/20
- 14/14: gnu: Add snakemake-7., guix-commits, 2022/05/20
- 11/14: gnu: Add python-google-cloud-storage., guix-commits, 2022/05/20