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 B697F1382C5 for ; Tue, 22 Jun 2021 08:04:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F25FCE08FA; Tue, 22 Jun 2021 08:04:11 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFD6BE08FA for ; Tue, 22 Jun 2021 08:04:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A903033D3C7 for ; Tue, 22 Jun 2021 08:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3739D7A2 for ; Tue, 22 Jun 2021 08:04:09 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1624349046.7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-config/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild X-VCS-Directories: dev-python/oslo-config/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1 X-VCS-Branch: master Date: Tue, 22 Jun 2021 08:04:09 +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: 42784ddf-5b86-4146-b714-35df624c2ddc X-Archives-Hash: 815dc5e3d94bd6553595dc4e5277843f commit: 7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 22 08:00:43 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 22 08:04:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3d7ef6 dev-python/oslo-config: Enable tests Signed-off-by: Michał Górny gentoo.org> dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild b/dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild new file mode 100644 index 00000000000..1bb00f4194d --- /dev/null +++ b/dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_8 ) +inherit distutils-r1 + +MY_PN=${PN/-/.} + +DESCRIPTION="Oslo Configuration API" +HOMEPAGE="https://launchpad.net/oslo" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] +" +BDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest + +python_test() { + local -x COLUMNS=80 + eunittest -b +}