Skip to content

Commit

Permalink
sci-mathematics/sage-doc: fix double pkg_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwifb committed Oct 2, 2024
1 parent 78b26b4 commit 306af4e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sci-mathematics/sage-doc/sage-doc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ python_check_deps() {

pkg_setup() {
if has_version media-gfx/graphviz ; then
has dev-tex/dot2tex || die \
has_version dev-tex/dot2tex || die \
"You have graphviz installed. In that case you also need to install dot2tex to build the documentation."
fi
}
Expand All @@ -92,13 +92,6 @@ src_unpack(){
default
}

pkg_setup() {
if has media-gfx/graphviz; then
has dev-tex/dot2tex || \
die "if you have graphviz installed, dot2tex also needs to be installed to build the documentation"
fi
}

src_prepare(){
default

Expand Down

0 comments on commit 306af4e

Please sign in to comment.