Skip to content

Commit

Permalink
Merge branch 'vbraun' for 10.5.beta7
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwifb committed Oct 13, 2024
2 parents e8b2ae3 + 5415aaf commit 9acc213
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions sci-mathematics/sage-doc/sage-doc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ python_check_deps() {
python_has_version -b "dev-python/sphinx-inline-tabs[${PYTHON_USEDEP}]"
}

pkg_setup() {
if has_version media-gfx/graphviz ; then
has_version dev-tex/dot2tex || die \
"You have graphviz installed. In that case you also need to install dot2tex to build the documentation."
fi
}

src_unpack(){
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
Expand All @@ -95,6 +88,11 @@ src_unpack(){
src_prepare(){
default

if has_version media-gfx/graphviz ; then
has_version dev-tex/dot2tex || die \
"You have graphviz installed. In that case you also need to install dot2tex to build the documentation."
fi

einfo "bootstrapping the documentation - be patient"
SAGE_ROOT="${S}" PATH="${S}/build/bin:${PATH}" src/doc/bootstrap || die "cannot bootstrap the documentation"

Expand Down

0 comments on commit 9acc213

Please sign in to comment.