This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Something weird is happening: >>> import plplot Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.12/site-packages/plplot.py", line 22, in <module> from plplotc import * File "/usr/lib/python3.12/site-packages/plplotc.py", line 12, in <module> import _plplotc ImportError: /usr/lib/python3.12/site-packages/_plplotc.so: undefined symbol: PyArray_FromDimsAndData
Created attachment 898689 [details] plplot-5.15.0_p11.ebuild
Created attachment 898690 [details, diff] plplot-5.15.0_p6-numpy2.patch