diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-22 10:00:43 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-22 10:04:06 +0200 |
commit | 7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1 (patch) | |
tree | d88c6faba602bd757743040f8cc2760d50cae960 | |
parent | app-arch/tarlz: initial import (diff) | |
download | gentoo-7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1.tar.gz gentoo-7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1.tar.bz2 gentoo-7d3d7ef6c018d96d70eb74e3e9ca7bec5a261de1.zip |
dev-python/oslo-config: Enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/oslo-config/oslo-config-8.3.3-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
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 000000000000..1bb00f4194d5 --- /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 +} |