# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python2_7 ) PYPI_PN=${PN/-/.} PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi MY_PN=${PN/-/.} DESCRIPTION="Oslo i18n library" HOMEPAGE="https://launchpad.net/oslo https://github.com/openstack/oslo.i18n" LICENSE="Apache-2.0" SLOT="python2" KEYWORDS="amd64 ~arm64 x86" IUSE="doc test" RESTRICT="!test? ( test )" CDEPEND=" >=dev-python/pbr-2.0.0:python2[${PYTHON_USEDEP}] !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}] test? ( !~dev-python/coverage-4.4[${PYTHON_USEDEP}] ) doc? ( !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}] !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}] ) " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] ${CDEPEND} test? ( >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] >=dev-python/coverage-4.0[${PYTHON_USEDEP}] >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] ) doc? ( >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}] >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] ) " RDEPEND=" ${CDEPEND} >=dev-python/babel-2.3.4[${PYTHON_USEDEP}] !~dev-python/babel-2.4.0[${PYTHON_USEDEP}] >=dev-python/six-1.10.0[${PYTHON_USEDEP}] !