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 2492C139084 for ; Thu, 15 Dec 2016 12:06:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29D4EE0C6B; Thu, 15 Dec 2016 12:06:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7377E0C6B for ; Thu, 15 Dec 2016 12:06:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99B08340E7B for ; Thu, 15 Dec 2016 12:06:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02DAF24C8 for ; Thu, 15 Dec 2016 12:06:43 +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: <1481803587.396e5a943f581a03a679c4bcaeee4dfd8bf67ee6.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/docker-py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/docker-py/Manifest dev-python/docker-py/docker-py-2.0.0.ebuild X-VCS-Directories: dev-python/docker-py/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 396e5a943f581a03a679c4bcaeee4dfd8bf67ee6 X-VCS-Branch: master Date: Thu, 15 Dec 2016 12:06:43 +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: 22d253a0-1b95-495e-a8a7-d3b989dae0e1 X-Archives-Hash: 5a0bde5450c2210f609c9835ef71ca16 commit: 396e5a943f581a03a679c4bcaeee4dfd8bf67ee6 Author: Manuel Rüger gentoo org> AuthorDate: Thu Dec 15 12:06:27 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Dec 15 12:06:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396e5a94 dev-python/docker-py: Version bump to 2.0.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/docker-py/Manifest | 1 + dev-python/docker-py/docker-py-2.0.0.ebuild | 53 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest index 7da2c0c..9deefe8 100644 --- a/dev-python/docker-py/Manifest +++ b/dev-python/docker-py/Manifest @@ -1,3 +1,4 @@ DIST docker-py-1.10.6.tar.gz 122462 SHA256 dd1aa55dbe507538318e51e5303077d146d5176abd6b05fe9bcde24c289410bc SHA512 6360f9743472c42b3b080204195a0ba62ec85503cc3d4053dca1fb68e8dbed54bd90ed530d9b6ed0b29367aecbe3731d076c89e8d49365c133754bc38c3f15b9 WHIRLPOOL 3f42a0e597e63d0b821c1887b680b2faa8f696b65aa0851acaf00ccbc3ed2b271b1bbcc5390b99f6402b56f6a1a116fe76bf6a5f542b8beb9f8213e81df18f08 DIST docker-py-1.2.2.tar.gz 69685 SHA256 85284a5b1a965e01a5d0a91f9f639ad5069143a276c123198fdafc3659280b38 SHA512 bf00b19e0ab56e5c0e8459234d09722ca504ecd933bfba61cb4ab4805410f53f6ad6083f2e964ef5a6eded2ea05aa01a89c27621064386bae145c7258ed996ad WHIRLPOOL bd7ff4579f924e02d18581b1aca00790dcb84afda03e4cde70b349bfdb4ad43aa2e06da2bcbe780f6074d98f9af9b14fb9d2ab4da9265e56b73288902c9ede7a DIST docker-py-1.9.0.tar.gz 105939 SHA256 0ff58798c8cf79c7e459505786b3b83ca0552a077945b8fe20fc38ff3f732361 SHA512 49e6d4e8ab30c4e54165e7eff9e3034a1fe102348020bad2c5aefa238c44efdf39711536a7727fd9689e2e90483a348930bb91f1e76cade546161c82990f78ed WHIRLPOOL d60bca034f91569f37bef65ff42fcf950dfbc02bc42053bb650a9188661a8c0d9c21cb03128782a15799e6f208e88b32618286615ef94ba9396a4940ae3b6603 +DIST docker-py-2.0.0.tar.gz 159296 SHA256 d567db615375df7655e2c4ac794b6a7c6a06c3437ee1ace476e04a88d94531c4 SHA512 773f8899bef8ac225a2d42b645b8a6f62485661fff1753bf91ab6653f8b81597ed3ea944b32e7ce106eec49215582671f4249e0569e28568559a09ca0905f58e WHIRLPOOL c2fb2686966845617b9450439060a90b0c4536c66b34aba07ae680959e842aaf9541b823505a4de81a2b8f17eb3380a578ba2802f9f80a699a3d539d85c0083a diff --git a/dev-python/docker-py/docker-py-2.0.0.ebuild b/dev-python/docker-py/docker-py-2.0.0.ebuild new file mode 100644 index 00000000..baecb14 --- /dev/null +++ b/dev-python/docker-py/docker-py-2.0.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Python client for Docker" +HOMEPAGE="https://github.com/docker/docker-py" +SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( >=dev-python/mkdocs-0.14.0[${PYTHON_USEDEP}] ) + test? ( + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pytest-2.9.1[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-2.1.0[${PYTHON_USEDEP}] + >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/docker-pycreds-0.2.1[${PYTHON_USEDEP}] + !~dev-python/requests-2.12.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.11.1[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' 'python3_4' ) + $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' ) +" + +python_compile_all() { + if use doc; then + mkdocs build -d 'mkdocs_site' || die "docs failed to build" + fi +} + +python_test() { + py.test tests/unit/ || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( mkdocs_site/. ) + + distutils-r1_python_install_all +}