From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 382BA138351 for ; Mon, 9 Mar 2020 17:48:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BF65E092C; Mon, 9 Mar 2020 17:48:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F9DFE092C for ; Mon, 9 Mar 2020 17:48:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD06E34F32A for ; Mon, 9 Mar 2020 17:48:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63B6315A for ; Mon, 9 Mar 2020 17:48:00 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1583775266.db5b7daa7163ea40d780b650f7006de39e2adc0b.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-games/surgescript/surgescript-0.5.4.ebuild dev-games/surgescript/surgescript-9999.ebuild X-VCS-Directories: dev-games/surgescript/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: db5b7daa7163ea40d780b650f7006de39e2adc0b X-VCS-Branch: dev Date: Mon, 9 Mar 2020 17:48:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7682e308-05fe-4998-a234-2f3cc1cdf209 X-Archives-Hash: 176c902dd21b2d9591a2b815bbf99c33 Message-ID: <20200309174800.wB2WBGpzS-ulieIXjW1pcB_4bBpw5Xbm5UbqV7XVPBc@z> commit: db5b7daa7163ea40d780b650f7006de39e2adc0b Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 17:34:26 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 17:34:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db5b7daa dev-games/surgescript: add use doc Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-games/surgescript/surgescript-0.5.4.ebuild | 17 +++++++++++++++-- dev-games/surgescript/surgescript-9999.ebuild | 17 +++++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild b/dev-games/surgescript/surgescript-0.5.4.ebuild index 63ebe50..2df1bdd 100644 --- a/dev-games/surgescript/surgescript-0.5.4.ebuild +++ b/dev-games/surgescript/surgescript-0.5.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge" HOMEPAGE="https://alemart.github.io/surgescript" LICENSE="Apache-2.0" SLOT="0" -# TODO: build documentation, needs dev-python/mkdocs-material + +IUSE="doc" + +BDEPEND="doc? ( + dev-python/mkdocs + dev-python/mkdocs-material )" + +src_compile() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-games/surgescript/surgescript-9999.ebuild b/dev-games/surgescript/surgescript-9999.ebuild index 63ebe50..2df1bdd 100644 --- a/dev-games/surgescript/surgescript-9999.ebuild +++ b/dev-games/surgescript/surgescript-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge" HOMEPAGE="https://alemart.github.io/surgescript" LICENSE="Apache-2.0" SLOT="0" -# TODO: build documentation, needs dev-python/mkdocs-material + +IUSE="doc" + +BDEPEND="doc? ( + dev-python/mkdocs + dev-python/mkdocs-material )" + +src_compile() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +}