net-analyzer/nmap should have python3_12 at PYTHON_SINGLE_TARGET
In addition ndiff/ndifftest.py uses imp which has been removed in python3.12 breaking tests.
Some build log snippets: > cd zenmap && /usr/bin/python3.12 setup.py build > /x/portage/net-analyzer/nmap-7.94/work/nmap-7.94/zenmap/setup.py:314: SyntaxWarning: invalid escape sequence '\.' > re_bin = re.compile("(bin|\.sh)") > /x/portage/net-analyzer/nmap-7.94/work/nmap-7.94/zenmap/setup.py:357: SyntaxWarning: invalid escape sequence '\s' > pcontent = re.sub("%s\s+=\s+.+" % path, > Traceback (most recent call last): > File "/x/portage/net-analyzer/nmap-7.94/work/nmap-7.94/ndiff/ndifftest.py", line 15, in <module> > import imp > ModuleNotFoundError: No module named 'imp'
Created attachment 891590 [details] diff -Naur between nmap-7.94 to -7.95 nmap-7.95 is out and builds fine against python-3.12