aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-docker
diff options
context:
space:
mode:
authorNikolai Lifanov <lifanov@FreeBSD.org>2017-04-10 21:15:37 +0000
committerNikolai Lifanov <lifanov@FreeBSD.org>2017-04-10 21:15:37 +0000
commit669f0f32c7b584752783df542cc0183a2797f26a (patch)
tree1dc6b25d8be798bdb7463aca54ffaa8a66e93974 /sysutils/py-docker
parent0e05dd4b751f9f9d926a242455630b4419a3c973 (diff)
Notes
Diffstat (limited to 'sysutils/py-docker')
-rw-r--r--sysutils/py-docker/Makefile33
-rw-r--r--sysutils/py-docker/distinfo3
-rw-r--r--sysutils/py-docker/pkg-descr3
3 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/py-docker/Makefile b/sysutils/py-docker/Makefile
new file mode 100644
index 000000000000..19cf0490c013
--- /dev/null
+++ b/sysutils/py-docker/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= docker
+PORTVERSION= 2.2.1
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lifanov@FreeBSD.org
+COMMENT= Python library for the Docker Engine API
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client \
+ ${PYTHON_PKGNAMEPREFIX}docker-pycreds>0:security/py-docker-pycreds
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_SUFFIX} < 35
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:security/py-backports.ssl_match_hostname
+.endif
+
+.if ${PYTHON_SUFFIX} < 33
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/py-docker/distinfo b/sysutils/py-docker/distinfo
new file mode 100644
index 000000000000..1bec52b706d3
--- /dev/null
+++ b/sysutils/py-docker/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491858493
+SHA256 (docker-2.2.1.tar.gz) = a67de803a8b3a9ef5adb9ce881feb74ec33d373a4f6d6cbb1a26cad03e809ae2
+SIZE (docker-2.2.1.tar.gz) = 147891
diff --git a/sysutils/py-docker/pkg-descr b/sysutils/py-docker/pkg-descr
new file mode 100644
index 000000000000..1402befe29d9
--- /dev/null
+++ b/sysutils/py-docker/pkg-descr
@@ -0,0 +1,3 @@
+A Python library for the Docker Engine API
+
+WWW: https://github.com/docker/docker-py