aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-11 09:58:51 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-11 09:58:51 +0200
commit80b491a914b2048d09b193425695f61bb5628146 (patch)
tree25d365ed115f68ce1bdcab05f833edf55d751f8e /dev-games
parentmedia-sound/r128gain: add DISTUTILS_USE_SETUPTOOLS=rdepend (diff)
downloadguru-80b491a914b2048d09b193425695f61bb5628146.tar.gz
guru-80b491a914b2048d09b193425695f61bb5628146.tar.bz2
guru-80b491a914b2048d09b193425695f61bb5628146.zip
dev-games/surgescript: fix colliding files found by ecompress
when USE="doc" (fixed by using eclass which removes the problematic files) Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/surgescript/surgescript-0.5.4.3.ebuild19
-rw-r--r--dev-games/surgescript/surgescript-9999.ebuild19
2 files changed, 16 insertions, 22 deletions
diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
index 16e25a588..8b2dadc58 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
@@ -3,7 +3,13 @@
EAPI=7
-inherit cmake
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+ dev-python/mkdocs
+ dev-python/mkdocs-material
+"
+
+inherit cmake docs
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
@@ -19,19 +25,10 @@ DESCRIPTION="scripting language made for opensurge"
HOMEPAGE="https://alemart.github.io/surgescript"
LICENSE="Apache-2.0"
-IUSE="doc"
-
-BDEPEND="doc? (
- dev-python/mkdocs
- dev-python/mkdocs-material )"
-
src_compile() {
cmake_src_compile
- if use doc; then
- mkdocs build || die "failed to make docs"
- HTML_DOCS="site"
- fi
+ docs_compile
}
src_install() {
diff --git a/dev-games/surgescript/surgescript-9999.ebuild b/dev-games/surgescript/surgescript-9999.ebuild
index 16e25a588..8b2dadc58 100644
--- a/dev-games/surgescript/surgescript-9999.ebuild
+++ b/dev-games/surgescript/surgescript-9999.ebuild
@@ -3,7 +3,13 @@
EAPI=7
-inherit cmake
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+ dev-python/mkdocs
+ dev-python/mkdocs-material
+"
+
+inherit cmake docs
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
@@ -19,19 +25,10 @@ DESCRIPTION="scripting language made for opensurge"
HOMEPAGE="https://alemart.github.io/surgescript"
LICENSE="Apache-2.0"
-IUSE="doc"
-
-BDEPEND="doc? (
- dev-python/mkdocs
- dev-python/mkdocs-material )"
-
src_compile() {
cmake_src_compile
- if use doc; then
- mkdocs build || die "failed to make docs"
- HTML_DOCS="site"
- fi
+ docs_compile
}
src_install() {