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 ABDA7158017 for ; Thu, 30 Sep 2021 19:55:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E97F6E095F; Thu, 30 Sep 2021 19:55:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF160E095F for ; Thu, 30 Sep 2021 19:55:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2020342B55 for ; Thu, 30 Sep 2021 19:55:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0688583 for ; Thu, 30 Sep 2021 19:55:47 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1633031716.f10eb626054eb58272ec15dd5dea20aa552355d4.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-cinderclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-cinderclient/python-cinderclient-8.0.0-r2.ebuild X-VCS-Directories: dev-python/python-cinderclient/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f10eb626054eb58272ec15dd5dea20aa552355d4 X-VCS-Branch: master Date: Thu, 30 Sep 2021 19:55:47 +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: f9f00b36-32e5-4aea-8fe8-3a98ad440a8e X-Archives-Hash: 25a7126936e05516e56c7ae8e6a74c39 commit: f10eb626054eb58272ec15dd5dea20aa552355d4 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Sep 30 19:54:10 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Sep 30 19:55:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10eb626 dev-python/python-cinderclient: fix tests Fix broken tests with stestr and use correct unittest facility Signed-off-by: Arthur Zamarin gentoo.org> .../python-cinderclient-8.0.0-r2.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-python/python-cinderclient/python-cinderclient-8.0.0-r2.ebuild b/dev-python/python-cinderclient/python-cinderclient-8.0.0-r2.ebuild new file mode 100644 index 00000000000..8453b966a99 --- /dev/null +++ b/dev-python/python-cinderclient/python-cinderclient-8.0.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Cinder API" +HOMEPAGE="https://launchpad.net/python-cinderclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/keystoneauth-4.2.1[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}] + >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + =dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslo-serialization[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b cinderclient/tests/unit +}