2022-03-14 04:28:06 +01:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2021-07-11 02:38:20 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
2022-03-14 04:28:06 +01:00
|
|
|
EAPI=8
|
2021-07-11 02:38:20 +02:00
|
|
|
|
2022-03-14 04:28:06 +01:00
|
|
|
EPYTEST_DESELECT=( os_api_ref/tests/test_microversions.py::TestMicroversions::test_parameters_table )
|
2022-05-29 22:36:23 +02:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
2021-07-11 02:38:20 +02:00
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Sphinx Extensions to support API reference sites in OpenStack"
|
2022-03-14 04:28:06 +01:00
|
|
|
HOMEPAGE="
|
|
|
|
|
https://opendev.org/openstack/os-api-ref
|
|
|
|
|
https://pypi.org/project/os-api-ref/
|
|
|
|
|
"
|
2021-07-11 02:38:20 +02:00
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
|
>=dev-python/openstackdocstheme-2.2.1[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/pyyaml-3.1.2[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
2022-03-14 04:28:06 +01:00
|
|
|
>=dev-python/sphinx-4.0.0[${PYTHON_USEDEP}]
|
2021-07-11 02:38:20 +02:00
|
|
|
"
|
2022-03-14 04:28:06 +01:00
|
|
|
DEPEND="${RDEPEND}"
|
2021-07-11 02:38:20 +02:00
|
|
|
BDEPEND="
|
|
|
|
|
test? (
|
2021-09-08 15:43:25 +03:00
|
|
|
>=dev-python/beautifulsoup4-4.6.0[${PYTHON_USEDEP}]
|
2021-07-11 02:38:20 +02:00
|
|
|
>=dev-python/sphinx-testing-1.0.1[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
|
|
|
|
|
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
|
|
|
|
)
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
|
distutils_enable_sphinx doc/source ">=dev-python/openstackdocstheme-2.2.1"
|