From ec30fd6508c1130bcfe0e19f098c3aed2e7ea440 Mon Sep 17 00:00:00 2001 From: Nikolai Lifanov Date: Wed, 19 Apr 2017 15:37:04 +0000 Subject: [PATCH] add sysutils/docker-compose Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration. --- sysutils/Makefile | 1 + sysutils/docker-compose/Makefile | 44 +++++++++++++++++++++++++++++++ sysutils/docker-compose/distinfo | 3 +++ sysutils/docker-compose/pkg-descr | 6 +++++ 4 files changed, 54 insertions(+) create mode 100644 sysutils/docker-compose/Makefile create mode 100644 sysutils/docker-compose/distinfo create mode 100644 sysutils/docker-compose/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index 5b6fd4113529..769ecbd7baeb 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -237,6 +237,7 @@ SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += docker + SUBDIR += docker-compose SUBDIR += docker-freebsd SUBDIR += docker-machine SUBDIR += doinkd diff --git a/sysutils/docker-compose/Makefile b/sysutils/docker-compose/Makefile new file mode 100644 index 000000000000..eafebdbd1f52 --- /dev/null +++ b/sysutils/docker-compose/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= docker-compose +PORTVERSION= 1.12.0 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP + +MAINTAINER= lifanov@FreeBSD.org +COMMENT= Define and run multi-container applications with Docker + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ + ${PYTHON_PKGNAMEPREFIX}cached-property>=1.2.0:devel/py-cached-property \ + ${PYTHON_PKGNAMEPREFIX}colorama>=0.3.7:devel/py-colorama \ + ${PYTHON_PKGNAMEPREFIX}docker>=2.2.1:sysutils/py-docker \ + ${PYTHON_PKGNAMEPREFIX}dockerpty>=0.4.1:devel/py-dockerpty \ + ${PYTHON_PKGNAMEPREFIX}docopt>=0.6.1:devel/py-docopt \ + ${PYTHON_PKGNAMEPREFIX}ipaddress>=1.0.16:net/py-ipaddress \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.5.1:devel/py-jsonschema \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}texttable>=0.8.4:textproc/py-texttable \ + ${PYTHON_PKGNAMEPREFIX}websocket-client>=0.32.0:www/py-websocket-client + +USES= python +USE_PYTHON= distutils autoplist + +.include + +.if ${PYTHON_SUFFIX} < 35 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:security/py-backports.ssl_match_hostname +.endif + +.if ${PYTHON_SUFFIX} < 34 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 +.endif + +.if ${PYTHON_SUFFIX} < 32 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}functools32>0:devel/py-functools32 +.endif + +.include diff --git a/sysutils/docker-compose/distinfo b/sysutils/docker-compose/distinfo new file mode 100644 index 000000000000..bd16078620ac --- /dev/null +++ b/sysutils/docker-compose/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1491864844 +SHA256 (docker-compose-1.12.0.tar.gz) = 3da6f465eac5704393d8acd95b1923ce0bda3f0312883527c92dfab7de5b313e +SIZE (docker-compose-1.12.0.tar.gz) = 198453 diff --git a/sysutils/docker-compose/pkg-descr b/sysutils/docker-compose/pkg-descr new file mode 100644 index 000000000000..30e86ab1971e --- /dev/null +++ b/sysutils/docker-compose/pkg-descr @@ -0,0 +1,6 @@ +Compose is a tool for defining and running multi-container Docker applications. +With Compose, you use a Compose file to configure your application's services. +Then, using a single command, you create and start all the services from your +configuration. + +WWW: https://github.com/docker/compose/