commit:     cd25aa9ab523cb7b006d1e8b35835dcf9b5b382b
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 21:16:41 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Oct 19 21:16:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd25aa9a

app-admin/glance: remove doc build

Closes: https://bugs.gentoo.org/750113
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-admin/glance/glance-20.0.1.ebuild      | 9 +--------
 app-admin/glance/glance-2020.2.9999.ebuild | 9 +--------
 app-admin/glance/glance-21.0.0.ebuild      | 9 +--------
 3 files changed, 3 insertions(+), 24 deletions(-)

diff --git a/app-admin/glance/glance-20.0.1.ebuild 
b/app-admin/glance/glance-20.0.1.ebuild
index 0440a12d652..66d8600f144 100644
--- a/app-admin/glance/glance-20.0.1.ebuild
+++ b/app-admin/glance/glance-20.0.1.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="doc mysql postgres +sqlite +swift"
+IUSE="mysql postgres +sqlite +swift"
 REQUIRED_USE="|| ( mysql postgres sqlite )"
 
 CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
@@ -115,12 +115,6 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-       if [ ! -z ${EGIT_BRANCH+x} ]; then
-               use doc && "${PYTHON}" setup.py build_sphinx
-       fi
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 
@@ -137,7 +131,6 @@ python_install_all() {
        insopts -m 0640 -o glance -g glance
        doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
 
-       use doc && local HTML_DOCS=( doc/build/html/. )
        distutils-r1_python_install_all
        rm -r "${ED}"/usr/etc
 }

diff --git a/app-admin/glance/glance-2020.2.9999.ebuild 
b/app-admin/glance/glance-2020.2.9999.ebuild
index 01490a19846..dd4a939849a 100644
--- a/app-admin/glance/glance-2020.2.9999.ebuild
+++ b/app-admin/glance/glance-2020.2.9999.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="doc mysql postgres +sqlite +swift"
+IUSE="mysql postgres +sqlite +swift"
 REQUIRED_USE="|| ( mysql postgres sqlite )"
 
 #note to self, wsgiref is a python builtin, no need to package it
@@ -115,12 +115,6 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-       if [ ! -z ${EGIT_BRANCH+x} ]; then
-               use doc && "${PYTHON}" setup.py build_sphinx
-       fi
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 
@@ -137,7 +131,6 @@ python_install_all() {
        insopts -m 0640 -o glance -g glance
        doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
 
-       use doc && local HTML_DOCS=( doc/build/html/. )
        distutils-r1_python_install_all
        rm -r "${ED}"/usr/etc
 }

diff --git a/app-admin/glance/glance-21.0.0.ebuild 
b/app-admin/glance/glance-21.0.0.ebuild
index 01490a19846..dd4a939849a 100644
--- a/app-admin/glance/glance-21.0.0.ebuild
+++ b/app-admin/glance/glance-21.0.0.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="doc mysql postgres +sqlite +swift"
+IUSE="mysql postgres +sqlite +swift"
 REQUIRED_USE="|| ( mysql postgres sqlite )"
 
 #note to self, wsgiref is a python builtin, no need to package it
@@ -115,12 +115,6 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-       if [ ! -z ${EGIT_BRANCH+x} ]; then
-               use doc && "${PYTHON}" setup.py build_sphinx
-       fi
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 
@@ -137,7 +131,6 @@ python_install_all() {
        insopts -m 0640 -o glance -g glance
        doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
 
-       use doc && local HTML_DOCS=( doc/build/html/. )
        distutils-r1_python_install_all
        rm -r "${ED}"/usr/etc
 }

Reply via email to