mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 07:19:16 -04:00
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
27 lines
809 B
Makefile
27 lines
809 B
Makefile
# 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>
|