From 80b491a914b2048d09b193425695f61bb5628146 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 09:58:51 +0200 Subject: 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 --- dev-games/surgescript/surgescript-0.5.4.3.ebuild | 19 ++++++++----------- dev-games/surgescript/surgescript-9999.ebuild | 19 ++++++++----------- 2 files changed, 16 insertions(+), 22 deletions(-) (limited to 'dev-games') 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() { -- cgit v1.2.3-65-gdbad