commit:     aa8be175e7dc9a41b41b1799972f43eeaf177a89
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 05:14:29 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 05:14:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8be175

dev-python/pplpy: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pplpy/pplpy-0.8.10.ebuild | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/dev-python/pplpy/pplpy-0.8.10.ebuild 
b/dev-python/pplpy/pplpy-0.8.10.ebuild
index cd6c0247648a..66bea27018d0 100644
--- a/dev-python/pplpy/pplpy-0.8.10.ebuild
+++ b/dev-python/pplpy/pplpy-0.8.10.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 
@@ -32,15 +32,18 @@ RDEPEND="
 "
 BDEPEND="
        dev-python/cython[${PYTHON_USEDEP}]
+       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
 "
 
 distutils_enable_sphinx docs/source
 
-python_compile() {
-       # Parallel build breaks the test suite somehow. This should be
-       # reported upstream but first someone will need to figure out
-       # how to reproduce it outside of Gentoo.
-       distutils-r1_python_compile -j 1
+python_compile_all() {
+       use doc && emake -C docs html
+}
+
+python_install_all(){
+       use doc && local HTML_DOCS=( docs/build/html/. )
+       distutils-r1_python_install_all
 }
 
 python_test(){

Reply via email to