py-sphinx 5.3 not working for python 3.13 +

The port py-sphinx is very old and does not support python 3.13 and up. The lastest version of py-sphinx is 9.1 and this version works with python 3.13. A lot of ports are dependent of py-sphinx and are not working beacuse of this. How do I uppgrade this port from 5.3 to 9.1 to get a working version.
 
The port py-sphinx is very old and does not support python 3.13 and up.

It works (package build) with python 3.13
Code:
root@16_current /# pkg info | grep sphinx
py313-sphinx-5.3.0_3,1         Python documentation generator
py313-sphinx_rtd_theme-1.0.0_1 Mobile-friendly py-sphinx theme
py313-sphinxcontrib-applehelp-2.0.0 Extension which outputs Apple help books
py313-sphinxcontrib-devhelp-2.0.0 Sphinx extension which outputs Devhelp document
py313-sphinxcontrib-htmlhelp-2.1.0 Sphinx extension which renders HTML help files
py313-sphinxcontrib-jsmath-1.0.1_1 Sphinx extension which renders display math in HTML via JavaScript
py313-sphinxcontrib-qthelp-2.0.0 Sphinx extension which outputs QtHelp document
py313-sphinxcontrib-serializinghtml-2.0.0 Sphinx extension which outputs serialized HTML files (json and pickle)

The following line in the Makefile restricts the python version to 3.12, but you can change it:
Code:
USES=         python:3.10-3.12 # uses imghdr module

This will probably not work "out of the box" without changing some defaults (python version) and also some other ports.
(I actually use a jail for this)
 
I have tried USES and it dont work. If you go to the git page there are versions that works with python 3.13. The problem is that I dont have a clue to make a port.
 
Back
Top