[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: gnu: Add python-smart-open.
From: |
guix-commits |
Subject: |
12/14: gnu: Add python-smart-open. |
Date: |
Fri, 20 May 2022 08:45:03 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 192c7229284b9499257b6b4ac46a17b93ffd0c52
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 20 13:50:26 2022 +0200
gnu: Add python-smart-open.
* gnu/packages/python-web.scm (python-smart-open): New variable.
---
gnu/packages/python-web.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f3cd3e521b..b4a2bc365b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6961,6 +6961,49 @@ via direct download. This package provides a Google
Cloud Storage API client
library for Python.")
(license license:asl2.0)))
+(define-public python-smart-open
+ (package
+ (name "python-smart-open")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "smart_open" version))
+ (sha256
+ (base32 "1c12ilanx9hgpcc5chjkaqnx1hx14iazyindy7syvjhbdywhc0fn"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #false ;none included
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
+ (propagated-inputs
+ (list python-azure-common
+ python-azure-core
+ python-azure-storage-blob
+ python-boto3
+ python-google-cloud-storage
+ python-requests))
+ (native-inputs
+ (list python-flask
+ python-flask-cors
+ python-graphql-core
+ python-moto
+ python-paramiko
+ python-pathlib2
+ python-pytest
+ python-pytest-rerunfailures
+ python-responses))
+ (home-page "https://github.com/piskvorky/smart_open")
+ (synopsis "Utilities for streaming large files")
+ (description
+ "This package provides utilities for streaming large files (S3, HDFS,
+GCS, Azure Blob Storage, gzip, bz2, etc.)")
+ (license license:expat)))
+
(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, 2022/05/20
- 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 <=
- 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
- 05/14: gnu: Add python-googleapis-common-protos., guix-commits, 2022/05/20