aboutsummaryrefslogtreecommitdiff
path: root/net/py-smart_open
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-02 19:54:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-02 19:54:18 +0000
commit20c9d0a371ccd9c5e4783becc4a37dc1a413dbbf (patch)
tree728af2218f275cb1088ff6e65015d6a008529b6d /net/py-smart_open
parent4c54828f08cee2a1939127ce5c231528e0d5f5d8 (diff)
downloadports-20c9d0a371ccd9c5e4783becc4a37dc1a413dbbf.tar.gz
ports-20c9d0a371ccd9c5e4783becc4a37dc1a413dbbf.zip
Notes
Diffstat (limited to 'net/py-smart_open')
-rw-r--r--net/py-smart_open/Makefile27
-rw-r--r--net/py-smart_open/distinfo3
-rw-r--r--net/py-smart_open/pkg-descr6
3 files changed, 36 insertions, 0 deletions
diff --git a/net/py-smart_open/Makefile b/net/py-smart_open/Makefile
new file mode 100644
index 000000000000..e2b4a6ec3d4c
--- /dev/null
+++ b/net/py-smart_open/Makefile
@@ -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>
diff --git a/net/py-smart_open/distinfo b/net/py-smart_open/distinfo
new file mode 100644
index 000000000000..8770e01170f8
--- /dev/null
+++ b/net/py-smart_open/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1517590381
+SHA256 (smart_open-1.5.6.tar.gz) = 8fd2de1c359bd0074bd6d334a5b9820ae1c5b6ba563970b95052bace4b71baeb
+SIZE (smart_open-1.5.6.tar.gz) = 32352
diff --git a/net/py-smart_open/pkg-descr b/net/py-smart_open/pkg-descr
new file mode 100644
index 000000000000..dd29fed524a3
--- /dev/null
+++ b/net/py-smart_open/pkg-descr
@@ -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