From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B7341396D0 for ; Tue, 12 Sep 2017 12:22:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9615D1FC074; Tue, 12 Sep 2017 12:22:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66DE11FC074 for ; Tue, 12 Sep 2017 12:22:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1878134071C for ; Tue, 12 Sep 2017 12:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86CC88F9D for ; Tue, 12 Sep 2017 12:22:29 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1505218859.aba3a791729f5857426d1556a4b456cf73d88a16.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-compose/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/docker-compose/docker-compose-1.16.1-r1.ebuild X-VCS-Directories: app-emulation/docker-compose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: aba3a791729f5857426d1556a4b456cf73d88a16 X-VCS-Branch: master Date: Tue, 12 Sep 2017 12:22:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 94262c0c-9129-47e7-ae22-e2b40356faed X-Archives-Hash: 669278b6121741a2dfd0a53bb5b8290c commit: aba3a791729f5857426d1556a4b456cf73d88a16 Author: Manuel Rüger gentoo org> AuthorDate: Tue Sep 12 12:20:59 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Sep 12 12:20:59 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aba3a791 app-emulation/docker-compose: Fix dependency on texttable Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../docker-compose/docker-compose-1.16.1-r1.ebuild | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/app-emulation/docker-compose/docker-compose-1.16.1-r1.ebuild b/app-emulation/docker-compose/docker-compose-1.16.1-r1.ebuild new file mode 100644 index 00000000000..e3bff20d7e0 --- /dev/null +++ b/app-emulation/docker-compose/docker-compose-1.16.1-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit bash-completion-r1 distutils-r1 vcs-snapshot + +MY_PV=${PV//_/} + +DESCRIPTION="Multi-container orchestration for Docker" +HOMEPAGE="https://www.docker.com/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +CDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}] + =dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}] + =dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + =dev-python/docopt-0.6.1[${PYTHON_USEDEP}] + =dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}] + =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + !~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] + =dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + =dev-python/requests-2.6.1[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] + =dev-python/texttable-0.9[${PYTHON_USEDEP}] + =dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}] + =dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' ) + $(python_gen_cond_dep '=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' ) + $(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' ) +" +DEPEND=" + ${CDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' ) + ) +" +RDEPEND="${CDEPEND}" + +python_test() { + ${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + newbashcomp contrib/completion/bash/docker-compose ${PN} + + insinto /usr/share/zsh/site-functions + doins contrib/completion/zsh/* + + distutils-r1_python_install_all +}