aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Gasc <gasc@eurecom.fr>2023-02-04 18:32:09 +0100
committerHenri Gasc <gasc@eurecom.fr>2023-02-04 18:32:57 +0100
commit640fee1509f61ec23e7f93776284022baf7aefcd (patch)
treef437c79989ba6c99636472b0667e7e676acd343e
parentmedia-gfx/vpuppr: Added `|| die` on some commands (diff)
downloadguru-640fee1509f61ec23e7f93776284022baf7aefcd.tar.gz
guru-640fee1509f61ec23e7f93776284022baf7aefcd.tar.bz2
guru-640fee1509f61ec23e7f93776284022baf7aefcd.zip
sci-mathematics/pyromaths: enable py3.8 and disable py3.11
Closes: https://bugs.gentoo.org/891721 Signed-off-by: Henri Gasc <gasc@eurecom.fr>
-rw-r--r--sci-mathematics/pyromaths/pyromaths-21.8.2.ebuild24
1 files 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 1975dcd509..916afa4620 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"
+}