aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-01-16 16:12:58 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-01-16 16:14:42 +0500
commitd1a766a47405d4cfeced96a49b3bd70f81bd9a94 (patch)
tree6048415842df696dbec70cc0602941d4faebd46c /sci-biology
parentdev-cpp/trantor: fix doxygen dep (diff)
downloadguru-d1a766a47405d4cfeced96a49b3bd70f81bd9a94.tar.gz
guru-d1a766a47405d4cfeced96a49b3bd70f81bd9a94.tar.bz2
guru-d1a766a47405d4cfeced96a49b3bd70f81bd9a94.zip
sci-biology/cmdock: make python optional
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/cmdock/cmdock-0.2.0-r1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sci-biology/cmdock/cmdock-0.2.0-r1.ebuild b/sci-biology/cmdock/cmdock-0.2.0-r1.ebuild
index f46747447..09ab9cc5c 100644
--- a/sci-biology/cmdock/cmdock-0.2.0-r1.ebuild
+++ b/sci-biology/cmdock/cmdock-0.2.0-r1.ebuild
@@ -65,6 +65,13 @@ python_check_deps() {
python_has_version "dev-python/insipid-sphinx-theme[${PYTHON_USEDEP}]"
}
+pkg_setup() {
+ if use doc || use test; then
+ python-any-r1_pkg_setup
+ fi
+ return 0
+}
+
foreach_wrapper_job() {
sed -e "s:@PREFIX@:${INSTALL_PREFIX}:g" -i "${1}" || die
}