Skip to content

Commit

Permalink
app-admin/ansible: disable doc flag
Browse files Browse the repository at this point in the history
upstream isn't shipping it now

Closes: https://bugs.gentoo.org/747298
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Matthew Thode <[email protected]>
  • Loading branch information
prometheanfire committed Dec 19, 2020
1 parent 51f4f95 commit 0c12138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 38 deletions.
20 changes: 1 addition & 19 deletions app-admin/ansible/ansible-2.10.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi

LICENSE="GPL-3"
SLOT="0"
IUSE="doc test"
IUSE="test"
RESTRICT="test"

RDEPEND="
Expand All @@ -41,11 +41,6 @@ RDEPEND="
DEPEND="
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
app-admin/ansible-base
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
Expand All @@ -61,19 +56,6 @@ python_compile() {
distutils-r1_python_compile
}

python_compile_all() {
if use doc; then
cd docs/docsite || die
export CPUS=4
emake -f Makefile.sphinx html
fi
}

python_test() {
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
}

python_install_all() {
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
distutils-r1_python_install_all
}
20 changes: 1 addition & 19 deletions app-admin/ansible/ansible-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="doc test"
IUSE="test"
RESTRICT="test"

RDEPEND="
Expand All @@ -43,11 +43,6 @@ RDEPEND="
DEPEND="
!app-admin/ansible-base
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
Expand All @@ -63,19 +58,6 @@ python_compile() {
distutils-r1_python_compile
}

python_compile_all() {
if use doc; then
cd docs/docsite || die
export CPUS=4
emake -f Makefile.sphinx html
fi
}

python_test() {
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
}

python_install_all() {
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
distutils-r1_python_install_all
}

0 comments on commit 0c12138

Please sign in to comment.