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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38EE1158024 for ; Sun, 30 Oct 2022 09:35:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89FDCE0917; Sun, 30 Oct 2022 09:35:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C3A2E0917 for ; Sun, 30 Oct 2022 09:35:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D33133BEF8 for ; Sun, 30 Oct 2022 09:35:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 153246A4 for ; Sun, 30 Oct 2022 09:35:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1667122406.118ed5a34d15597a315a811c975f46a29b1a1efa.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gef/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/gef/gef-2022.06-r1.ebuild dev-util/gef/gef-2022.06.ebuild dev-util/gef/gef-9999.ebuild X-VCS-Directories: dev-util/gef/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 118ed5a34d15597a315a811c975f46a29b1a1efa X-VCS-Branch: master Date: Sun, 30 Oct 2022 09:35:02 +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: ad8ba8f6-dfda-4d01-838b-e80d787e9792 X-Archives-Hash: a15c720b8e8fbefc3fe9bde68971d88f commit: 118ed5a34d15597a315a811c975f46a29b1a1efa Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Oct 19 16:34:07 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 30 09:33:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=118ed5a3 dev-util/gef: use docs.eclass Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27850 Signed-off-by: Sam James gentoo.org> .../{gef-2022.06.ebuild => gef-2022.06-r1.ebuild} | 27 ++++++++++------------ dev-util/gef/gef-9999.ebuild | 27 ++++++++++------------ 2 files changed, 24 insertions(+), 30 deletions(-) diff --git a/dev-util/gef/gef-2022.06.ebuild b/dev-util/gef/gef-2022.06-r1.ebuild similarity index 84% rename from dev-util/gef/gef-2022.06.ebuild rename to dev-util/gef/gef-2022.06-r1.ebuild index f6f2afc9a0ad..9e741b58d560 100644 --- a/dev-util/gef/gef-2022.06.ebuild +++ b/dev-util/gef/gef-2022.06-r1.ebuild @@ -5,7 +5,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..10} ) -inherit python-single-r1 wrapper +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material +" + +inherit python-single-r1 docs wrapper DESCRIPTION="A GDB Enhanced Features for exploit devs & reversers" HOMEPAGE="https://github.com/hugsy/gef" @@ -20,7 +25,7 @@ fi LICENSE="MIT" SLOT="0" -IUSE="doc test" +IUSE="test" # Seem to hang right now? RESTRICT="!test? ( test ) test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -37,10 +42,6 @@ RDEPEND=" ')" BDEPEND=" - doc? ( - dev-python/mkdocs - dev-python/mkdocs-material - ) test? ( $(python_gen_cond_dep ' dev-python/pytest[${PYTHON_USEDEP}] @@ -48,6 +49,8 @@ BDEPEND=" ') )" +DOCS=( README.md ) + src_prepare() { default @@ -57,6 +60,8 @@ src_prepare() { src_compile() { # Tries to compile tests : + + docs_compile } src_install() { @@ -68,15 +73,7 @@ src_install() { make_wrapper "gdb-gef" \ "gdb -x \"/usr/share/${PN}/gef.py\"" || die - if use doc; then - # TODO: docs.eclass? - mkdocs build -d html || die - - rm "${WORKDIR}/${P}/html/sitemap.xml.gz" || die - dodoc -r html/ - fi - - dodoc README.md + einstalldocs } pkg_postinst() { diff --git a/dev-util/gef/gef-9999.ebuild b/dev-util/gef/gef-9999.ebuild index f6f2afc9a0ad..9e741b58d560 100644 --- a/dev-util/gef/gef-9999.ebuild +++ b/dev-util/gef/gef-9999.ebuild @@ -5,7 +5,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..10} ) -inherit python-single-r1 wrapper +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material +" + +inherit python-single-r1 docs wrapper DESCRIPTION="A GDB Enhanced Features for exploit devs & reversers" HOMEPAGE="https://github.com/hugsy/gef" @@ -20,7 +25,7 @@ fi LICENSE="MIT" SLOT="0" -IUSE="doc test" +IUSE="test" # Seem to hang right now? RESTRICT="!test? ( test ) test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -37,10 +42,6 @@ RDEPEND=" ')" BDEPEND=" - doc? ( - dev-python/mkdocs - dev-python/mkdocs-material - ) test? ( $(python_gen_cond_dep ' dev-python/pytest[${PYTHON_USEDEP}] @@ -48,6 +49,8 @@ BDEPEND=" ') )" +DOCS=( README.md ) + src_prepare() { default @@ -57,6 +60,8 @@ src_prepare() { src_compile() { # Tries to compile tests : + + docs_compile } src_install() { @@ -68,15 +73,7 @@ src_install() { make_wrapper "gdb-gef" \ "gdb -x \"/usr/share/${PN}/gef.py\"" || die - if use doc; then - # TODO: docs.eclass? - mkdocs build -d html || die - - rm "${WORKDIR}/${P}/html/sitemap.xml.gz" || die - dodoc -r html/ - fi - - dodoc README.md + einstalldocs } pkg_postinst() {