1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

Add py-smart_open 1.5.6

smart_open is a Python 2 & Python 3 library for efficient streaming of very
large files from/to S3, HDFS, WebHDFS, HTTP, or local (compressed) files. It is
well tested (using moto), well documented and sports a simple, Pythonic API.

WWW: https://pypi.python.org/pypi/smart_open
WWW: https://github.com/RaRe-Technologies/smart_open
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-02 19:54:18 +00:00
parent 4c54828f08
commit 20c9d0a371
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460734
4 changed files with 37 additions and 0 deletions

View File

@ -1072,6 +1072,7 @@
SUBDIR += py-s3cmd
SUBDIR += py-s3transfer
SUBDIR += py-shodan
SUBDIR += py-smart_open
SUBDIR += py-smbpasswd
SUBDIR += py-soap2py
SUBDIR += py-soappy

View File

@ -0,0 +1,27 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= smart_open
PORTVERSION= 1.5.6
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Utils for streaming large files
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>=2.32:devel/py-boto@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>=0:www/py-boto3@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bz2file>=0:archivers/py-bz2file@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${FLAVOR}
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1517590381
SHA256 (smart_open-1.5.6.tar.gz) = 8fd2de1c359bd0074bd6d334a5b9820ae1c5b6ba563970b95052bace4b71baeb
SIZE (smart_open-1.5.6.tar.gz) = 32352

View File

@ -0,0 +1,6 @@
smart_open is a Python 2 & Python 3 library for efficient streaming of very
large files from/to S3, HDFS, WebHDFS, HTTP, or local (compressed) files. It is
well tested (using moto), well documented and sports a simple, Pythonic API.
WWW: https://pypi.python.org/pypi/smart_open
WWW: https://github.com/RaRe-Technologies/smart_open