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 63F6E15800F for ; Sat, 4 Feb 2023 17:33:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB3F1E07B2; Sat, 4 Feb 2023 17:33:03 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90AE5E07B2 for ; Sat, 4 Feb 2023 17:33:03 +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 17A51340834 for ; Sat, 4 Feb 2023 17:33:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47DB1893 for ; Sat, 4 Feb 2023 17:33:00 +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: <1675531977.640fee1509f61ec23e7f93776284022baf7aefcd.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.ebuild X-VCS-Directories: sci-mathematics/pyromaths/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: 640fee1509f61ec23e7f93776284022baf7aefcd X-VCS-Branch: dev Date: Sat, 4 Feb 2023 17:33: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: df1afc60-9adc-4dd3-9ab9-2401dac695f3 X-Archives-Hash: d510de1cff6e794e907d71ffc8efa43e commit: 640fee1509f61ec23e7f93776284022baf7aefcd Author: Henri Gasc eurecom fr> AuthorDate: Sat Feb 4 17:32:09 2023 +0000 Commit: Henri Gasc eurecom fr> CommitDate: Sat Feb 4 17:32:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=640fee15 sci-mathematics/pyromaths: enable py3.8 and disable py3.11 Closes: https://bugs.gentoo.org/891721 Signed-off-by: Henri Gasc eurecom.fr> sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild | 24 +++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild b/sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild index 1975dcd50..916afa462 100644 --- a/sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild +++ b/sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -21,11 +21,9 @@ S="${WORKDIR}/${PN}-version-${PV}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="doc test" +IUSE="test" RDEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - dev-python/setuptools[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-texlive/texlive-pstricks dev-texlive/texlive-basic @@ -34,7 +32,12 @@ RDEPEND=" dev-texlive/texlive-latexrecommended dev-texlive/texlive-mathscience " -BDEPEND="dev-python/jinja2-cli" +BDEPEND=" + dev-python/jinja2-cli + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-argparse[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" DEPEND="${RDEPEND} ${BDEPEND}" PATCHES=( @@ -42,4 +45,13 @@ PATCHES=( ) distutils_enable_tests pytest -distutils_enable_sphinx docs + +python_compile() { + distutils-r1_python_compile + emake man -C Doc +} + +python_install() { + distutils-r1_python_install + doman "${S}/Doc/build/man/pyromaths.1" +}