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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E7FAF158091 for ; Thu, 2 Jun 2022 18:07:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02F43E088C; Thu, 2 Jun 2022 18:07:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA53FE088C for ; Thu, 2 Jun 2022 18:07:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6EB0D341D0A for ; Thu, 2 Jun 2022 18:07:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D61C84D7 for ; Thu, 2 Jun 2022 18:07:36 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1654193202.0d1936b7d755aad0f04587f067b00f40c51fb1b8.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pkgdev/pkgdev-9999.ebuild X-VCS-Directories: dev-util/pkgdev/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 0d1936b7d755aad0f04587f067b00f40c51fb1b8 X-VCS-Branch: master Date: Thu, 2 Jun 2022 18:07:36 +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: e565f79d-d846-4cee-a7c4-62ca73da5977 X-Archives-Hash: b13253640513878710073418c4af7a55 commit: 0d1936b7d755aad0f04587f067b00f40c51fb1b8 Author: Mike Gilbert gentoo org> AuthorDate: Thu Jun 2 18:06:28 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Jun 2 18:06:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1936b7 dev-util/pkgdev: move docs build to compile phase Signed-off-by: Mike Gilbert gentoo.org> dev-util/pkgdev/pkgdev-9999.ebuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild index 94052c39603d..33428f032660 100644 --- a/dev-util/pkgdev/pkgdev-9999.ebuild +++ b/dev-util/pkgdev/pkgdev-9999.ebuild @@ -44,21 +44,18 @@ RDEPEND+="dev-vcs/git" distutils_enable_sphinx doc distutils_enable_tests setup.py -python_install_all() { +python_compile_all() { # We'll generate man pages ourselves # Revisit when a release is made # to pregenerate them, making USE=doc # for generating the real HTML docs only. - if use doc ; then - cd doc || die - emake man - doman _build/man/* - fi - - cd .. || die + use doc && emake -C doc man # HTML pages only sphinx_compile_all +} +python_install_all() { + use doc && doman doc/_build/man/* distutils-r1_python_install_all }