diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-11 09:58:51 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-11 09:58:51 +0200 |
commit | 80b491a914b2048d09b193425695f61bb5628146 (patch) | |
tree | 25d365ed115f68ce1bdcab05f833edf55d751f8e /dev-games | |
parent | media-sound/r128gain: add DISTUTILS_USE_SETUPTOOLS=rdepend (diff) | |
download | guru-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.ebuild | 19 | ||||
-rw-r--r-- | dev-games/surgescript/surgescript-9999.ebuild | 19 |
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() { |