dev-python/oslo-config: remove broken doc build
authorMatthew Thode <prometheanfire@gentoo.org>
Thu, 3 Oct 2019 23:23:22 +0000 (18:23 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Thu, 3 Oct 2019 23:23:22 +0000 (18:23 -0500)
fixes: https://bugs.gentoo.org/696104
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
dev-python/oslo-config/oslo-config-6.8.1.ebuild

index 4ecd74de591c08ffd1fe2f5c5a1b9dbd26ad7204..abb7cf055eeb9b89d2140c92b3f436145b00e69e 100644 (file)
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
+IUSE="test"
 
 CDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]"
 DEPEND="
@@ -36,12 +36,6 @@ DEPEND="
                >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}]
                >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
        )
-       doc? (
-               >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
-               !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
-               !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}]
-               >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
-       )
 "
 RDEPEND="
        ${CDEPEND}
@@ -58,7 +52,6 @@ RDEPEND="
 
 python_prepare_all() {
        sed -i '/^hacking/d' test-requirements.txt || die
-       use doc && esetup.py build_sphinx
        distutils-r1_python_prepare_all
 }
 
@@ -68,9 +61,3 @@ python_test() {
        testr init || die "testr init failed under ${EPYTHON}"
        testr run || die "testr run failed under ${EPYTHON}"
 }
-
-python_install_all() {
-       use doc && local HTML_DOCS=( doc/build/html/. )
-
-       distutils-r1_python_install_all
-}