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 4B43A138351 for ; Fri, 1 May 2020 15:39:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AF47E09BE; Fri, 1 May 2020 15:39:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4C80EE09BE for ; Fri, 1 May 2020 15:39:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7491434F031 for ; Fri, 1 May 2020 15:39:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BAD0201 for ; Fri, 1 May 2020 15:39:11 +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: <1588333496.ae18ad5d3112bd7511749a2235d0f20cdf60f09a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/rauc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-embedded/rauc/rauc-1.3.ebuild X-VCS-Directories: dev-embedded/rauc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ae18ad5d3112bd7511749a2235d0f20cdf60f09a X-VCS-Branch: master Date: Fri, 1 May 2020 15:39:11 +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: a0cd54cb-d289-4e93-821a-51d8c151940c X-Archives-Hash: ffcb53dff1702625d6c390b8a4ab9e25 commit: ae18ad5d3112bd7511749a2235d0f20cdf60f09a Author: Kurt Kanzenbach kmk-computers de> AuthorDate: Fri May 1 11:44:52 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Fri May 1 11:44:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae18ad5d dev-embedded/rauc: Use docs eclass That one takes care of everything regarding the documentation. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach kmk-computers.de> dev-embedded/rauc/rauc-1.3.ebuild | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/dev-embedded/rauc/rauc-1.3.ebuild b/dev-embedded/rauc/rauc-1.3.ebuild index 5fb6586..686a41b 100644 --- a/dev-embedded/rauc/rauc-1.3.ebuild +++ b/dev-embedded/rauc/rauc-1.3.ebuild @@ -3,6 +3,11 @@ EAPI=7 +DOCBUILDER="sphinx" +DOCDIR="${S}/docs" + +inherit docs + DESCRIPTION="Lightweight update client that runs on your Embedded Linux device" HOMEPAGE="https://rauc.io/" SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" @@ -10,13 +15,12 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~amd64 ~x86" -IUSE="doc json network service test" +IUSE="json network service test" RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig - doc? ( dev-python/sphinx ) test? ( sys-fs/squashfs-tools ) " RDEPEND=" @@ -40,13 +44,3 @@ src_configure() { ) econf "${myconf[@]}" } - -src_compile() { - default - use doc && emake doc -} - -src_install() { - use doc && local HTML_DOCS=( docs/build/html/. ) - default -}