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 EEEF1158046 for ; Thu, 10 Oct 2024 16:04:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38D812BC06F; Thu, 10 Oct 2024 16:04:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E9FB62BC06C for ; Thu, 10 Oct 2024 16:04:29 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE8463430DD for ; Thu, 10 Oct 2024 16:04:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EBD22191 for ; Thu, 10 Oct 2024 16:04:27 +0000 (UTC) From: "Henri Gasc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Henri Gasc" Message-ID: <1728576258.23d5cdaf2c5509acdab7bd316d11afa745e2ffac.gasc@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/pyromaths/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-mathematics/pyromaths/pyromaths-21.8.2-r1.ebuild sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild X-VCS-Directories: sci-mathematics/pyromaths/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: 23d5cdaf2c5509acdab7bd316d11afa745e2ffac X-VCS-Branch: dev Date: Thu, 10 Oct 2024 16:04:27 +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: fb92388c-e78c-4074-9f18-c6e6344a5964 X-Archives-Hash: 83bcd3fbf4eff4f7ad335f15fa3924bc commit: 23d5cdaf2c5509acdab7bd316d11afa745e2ffac Author: Henri Gasc eurecom fr> AuthorDate: Thu Oct 10 13:38:00 2024 +0000 Commit: Henri Gasc eurecom fr> CommitDate: Thu Oct 10 16:04:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23d5cdaf sci-mathematics/pyromaths: Change how doc is handled Closes: https://bugs.gentoo.org/937506 Signed-off-by: Henri Gasc eurecom.fr> ...hs-21.8.2.ebuild => pyromaths-21.8.2-r1.ebuild} | 24 ++++++++-------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild b/sci-mathematics/pyromaths/pyromaths-21.8.2-r1.ebuild similarity index 74% rename from sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild rename to sci-mathematics/pyromaths/pyromaths-21.8.2-r1.ebuild index da1e87e8f..9d50692ec 100644 --- a/sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild +++ b/sci-mathematics/pyromaths/pyromaths-21.8.2-r1.ebuild @@ -3,10 +3,16 @@ EAPI=8 +DOCS_BUILDER="sphinx" +DOCS_DEPEND=" + dev-python/sphinx-argparse +" +DOCS_DIR="Doc/source" + DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 docs DESCRIPTION="Create maths exercises in LaTeX and PDF format" @@ -35,10 +41,6 @@ RDEPEND=" " BDEPEND=" dev-python/jinja2-cli[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-argparse[${PYTHON_USEDEP}] - ) " DEPEND="${RDEPEND}" @@ -47,13 +49,3 @@ PATCHES=( ) distutils_enable_tests pytest - -python_compile() { - distutils-r1_python_compile - use doc && emake man -C Doc -} - -python_install() { - distutils-r1_python_install - use doc && doman "${S}/Doc/build/man/pyromaths.1" -}