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 B4CD51382C5 for ; Tue, 6 Apr 2021 23:45:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F100E0958; Tue, 6 Apr 2021 23:45:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B4606E096C for ; Tue, 6 Apr 2021 23:45:06 +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 EF637335C16 for ; Tue, 6 Apr 2021 23:45:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA68F634 for ; Tue, 6 Apr 2021 23:45:02 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1617752687.587f8e6ef1765bef2568466f09e8331c1f4bc872.sping@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-5.0.0.ebuild X-VCS-Directories: dev-python/docker-py/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 587f8e6ef1765bef2568466f09e8331c1f4bc872 X-VCS-Branch: master Date: Tue, 6 Apr 2021 23:45:02 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bc0fb59c-9972-4280-bb39-d582dac5a2c7 X-Archives-Hash: 0c89262b5217ea297e06b74561c808f8 commit: 587f8e6ef1765bef2568466f09e8331c1f4bc872 Author: Sebastian Pipping gentoo org> AuthorDate: Tue Apr 6 23:05:09 2021 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Apr 6 23:44:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587f8e6e dev-python/docker-py: 5.0.0 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.18, Repoman-3.0.3 dev-python/docker-py/Manifest | 1 + dev-python/docker-py/docker-py-5.0.0.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest index fdc92972dce..8ddc8ec5752 100644 --- a/dev-python/docker-py/Manifest +++ b/dev-python/docker-py/Manifest @@ -1 +1,2 @@ DIST docker-py-4.4.4.tar.gz 247640 BLAKE2B 68b2e0d41e68fdf4826d61b7ab167321467b1b30f122f0b29955a62ac5f036fc0b60b02a8c9a6776ffd9a7cafb5744de44ec3b9284d0f266a1dd5c72fbec2879 SHA512 4106ffe353ce8c3227c30c38347f107e0f7da660f1c3ae68bf2c576fc6b270f6fae6774747c46491eae0fc85a48dfe246b7a22d8e45c74eff89ed43be285f0df +DIST docker-py-5.0.0.tar.gz 247639 BLAKE2B 7e7f1d0edf228c967ee9252c6dc37e803a2e91601d3dce06db335c4bc4c8af43097864307ad72d4665d13f9ab0ba63b3dfd5ac7baa4dbc903ca57fe67985c1d2 SHA512 fae4afcda91ddf946048f76e62928a4891e1b0ce522b820aefb774dde58eb8e2aac0a381971acca04ca87794989ba675464e7913fab4abf2ed414719d66c91d1 diff --git a/dev-python/docker-py/docker-py-5.0.0.ebuild b/dev-python/docker-py/docker-py-5.0.0.ebuild new file mode 100644 index 00000000000..6cfc62e02e8 --- /dev/null +++ b/dev-python/docker-py/docker-py-5.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +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 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.24.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + >=dev-python/paramiko-2.4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + 'dev-python/recommonmark' \ + '>=dev-python/sphinx-1.4.6' +distutils_enable_tests pytest + +src_prepare() { + # localhost has a better chance of being in /etc/hosts + sed -e 's:socket[.]gethostname():"localhost":' \ + -i tests/unit/api_test.py || die + + distutils-r1_src_prepare +} + +python_test() { + pytest -vv tests/unit/ || die "tests failed under ${EPYTHON}" +}