svn commit: r438212 - in head/sysutils: . py-docker
Nikolai Lifanov
lifanov at FreeBSD.org
Mon Apr 10 21:15:38 UTC 2017
Author: lifanov
Date: Mon Apr 10 21:15:37 2017
New Revision: 438212
URL: https://svnweb.freebsd.org/changeset/ports/438212
Log:
add sysutils/py-docker: Docker SDK for Python
Added:
head/sysutils/py-docker/
head/sysutils/py-docker/Makefile (contents, props changed)
head/sysutils/py-docker/distinfo (contents, props changed)
head/sysutils/py-docker/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Mon Apr 10 21:09:30 2017 (r438211)
+++ head/sysutils/Makefile Mon Apr 10 21:15:37 2017 (r438212)
@@ -860,6 +860,7 @@
SUBDIR += py-diffoscope
SUBDIR += py-dirsync
SUBDIR += py-dlipower
+ SUBDIR += py-docker
SUBDIR += py-drmaa
SUBDIR += py-execnet
SUBDIR += py-ezjailremote
Added: head/sysutils/py-docker/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-docker/Makefile Mon Apr 10 21:15:37 2017 (r438212)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= docker
+PORTVERSION= 2.2.1
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lifanov at 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>
Added: head/sysutils/py-docker/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-docker/distinfo Mon Apr 10 21:15:37 2017 (r438212)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491858493
+SHA256 (docker-2.2.1.tar.gz) = a67de803a8b3a9ef5adb9ce881feb74ec33d373a4f6d6cbb1a26cad03e809ae2
+SIZE (docker-2.2.1.tar.gz) = 147891
Added: head/sysutils/py-docker/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-docker/pkg-descr Mon Apr 10 21:15:37 2017 (r438212)
@@ -0,0 +1,3 @@
+A Python library for the Docker Engine API
+
+WWW: https://github.com/docker/docker-py
More information about the svn-ports-all
mailing list